Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0021/0.0021, allocations: 188.4 kB / 24.49 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 59.86 kB / 371.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2303, allocations: 52.17 MB / 423.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003941/0.2342, allocations: 2.827 MB / 426.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.2357, allocations: 0.9165 MB / 427.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.2358, allocations: 19.81 kB / 427.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.236, allocations: 103 kB / 427.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.2362, allocations: 87.03 kB / 427.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.2366, allocations: 227.6 kB / 427.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005299/0.2371, allocations: 0.5449 MB / 428 MB, free: 9.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.2374, allocations: 149.3 kB / 428.2 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.2376, allocations: 179.2 kB / 428.4 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.2378, allocations: 182.9 kB / 428.5 MB, free: 9.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.2378, allocations: 36 kB / 428.6 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.2379, allocations: 48 kB / 428.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.537e-05/0.238, allocations: 87.64 kB / 428.7 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.2382, allocations: 179 kB / 428.9 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005703/0.2387, allocations: 0.5911 MB / 429.5 MB, free: 8.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2387, allocations: 4 kB / 429.5 MB, free: 8.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2387, allocations: 0 / 429.5 MB, free: 8.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.2387, allocations: 0 / 429.5 MB, free: 8.266 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009361/0.2397, allocations: 0.6765 MB / 430.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2397, allocations: 8.031 kB / 430.2 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.096e-05/0.2397, allocations: 13.19 kB / 430.2 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.92e-05/0.2398, allocations: 78.72 kB / 430.3 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.991e-05/0.2399, allocations: 67.88 kB / 430.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005596/0.2404, allocations: 359.4 kB / 430.7 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.2405, allocations: 29 kB / 430.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.2405, allocations: 40 kB / 430.7 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007445/0.2413, allocations: 491.4 kB / 431.2 MB, free: 6.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.2413, allocations: 0 / 431.2 MB, free: 6.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.2413, allocations: 24 kB / 431.2 MB, free: 6.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.2414, allocations: 15.94 kB / 431.3 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.2418, allocations: 242.2 kB / 431.5 MB, free: 6.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.244, allocations: 2.672 MB / 434.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.2444, allocations: 150.7 kB / 434.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.2446, allocations: 64.83 kB / 434.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.064e-05/0.2446, allocations: 11.94 kB / 434.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.2447, allocations: 34.56 kB / 434.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.2447, allocations: 0 / 434.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001161/0.2458, allocations: 0.5654 MB / 435 MB, free: 2.422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.2459, allocations: 63.31 kB / 435.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.2462, allocations: 341.6 kB / 435.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.2462, allocations: 29.7 kB / 435.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.2464, allocations: 307.7 kB / 435.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.2465, allocations: 67.41 kB / 435.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.2466, allocations: 65.66 kB / 435.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2467, allocations: 350.7 kB / 436.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.2469, allocations: 63.97 kB / 436.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.2471, allocations: 227.5 kB / 436.5 MB, free: 0.8242 MB / 334.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/0.248, allocations: 448.8 kB / 436.9 MB, free: 328 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.248, allocations: 0 / 436.9 MB, free: 328 kB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005679/0.2486, allocations: 361.8 kB / 437.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2486, allocations: 8 kB / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2486, allocations: 4 kB / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/0.2487, allocations: 32.84 kB / 437.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.249, allocations: 79.83 kB / 437.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.2503, allocations: 1.532 MB / 438.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.2504, allocations: 15.94 kB / 438.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.2504, allocations: 16 kB / 439 MB, free: 14.16 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001889/0.2506, allocations: 173.6 kB / 439.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.2507, allocations: 35.77 kB / 439.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.392e-05/0.2507, allocations: 39.53 kB / 439.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2507, allocations: 0 / 439.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2507, allocations: 4 kB / 439.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2507, allocations: 8.047 kB / 439.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008888/0.2516, allocations: 0.6086 MB / 439.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2516, allocations: 0 / 439.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.2518, allocations: 35.92 kB / 439.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.991e-05/0.2519, allocations: 24.84 kB / 439.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.2519, allocations: 11.94 kB / 439.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.2529, allocations: 1.327 MB / 441.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2529, allocations: 0 / 441.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005059/0.2534, allocations: 369.2 kB / 441.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.2534, allocations: 27.77 kB / 441.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.2535, allocations: 11.94 kB / 441.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2536, allocations: 4 kB / 441.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.2536, allocations: 19.95 kB / 441.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.2536, allocations: 4 kB / 441.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.2539, allocations: 235.2 kB / 441.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2539, allocations: 64 / 441.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003881/0.2543, allocations: 72 kB / 441.9 MB, free: 10.96 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008274/0.2551, allocations: 0.8968 MB / 442.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005258/0.2556, allocations: 318.7 kB / 443.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2556, allocations: 4 kB / 443.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.2558, allocations: 170.6 kB / 443.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.2561, allocations: 41.48 kB / 443.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.2601, allocations: 3.353 MB / 446.7 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.2603, allocations: 211.2 kB / 446.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.2604, allocations: 39.27 kB / 447 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.2606, allocations: 159.4 kB / 447.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2606, allocations: 0 / 447.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.2924, allocations: 6.647 MB / 453.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.44, allocations: 6.719 kB / 453.8 MB, free: 15.04 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.705422681057826]