Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001673/0.001673, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001492/0.001492, allocations: 159.5 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 65.45 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08585/0.08781, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02894/0.1168, allocations: 24.55 MB / 403.5 MB, free: 6.812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004963/0.1217, allocations: 3.774 MB / 407.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.1219, allocations: 7.938 kB / 407.3 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.1226, allocations: 194.8 kB / 407.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006512/0.1232, allocations: 346.1 kB / 407.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003841/0.1271, allocations: 1.461 MB / 409.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.1281, allocations: 0.8873 MB / 410.1 MB, free: 128 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.1283, allocations: 80.88 kB / 410.2 MB, free: 52 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006341/0.1346, allocations: 4.162 MB / 414.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004166/0.1351, allocations: 278.8 kB / 414.6 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.647e-05/0.1351, allocations: 32 kB / 414.7 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.1364, allocations: 0.6985 MB / 415.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.1365, allocations: 99.61 kB / 415.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.1367, allocations: 167.4 kB / 415.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.1378, allocations: 0.853 MB / 416.5 MB, free: 9.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1378, allocations: 4 kB / 416.5 MB, free: 9.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1378, allocations: 0 / 416.5 MB, free: 9.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1378, allocations: 3.984 kB / 416.5 MB, free: 9.754 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009036/0.1387, allocations: 0.579 MB / 417.1 MB, free: 9.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1388, allocations: 15.97 kB / 417.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004373/0.1392, allocations: 56.73 kB / 417.1 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.1396, allocations: 230 kB / 417.4 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.1397, allocations: 21.03 kB / 417.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.1397, allocations: 24.38 kB / 417.4 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006143/0.1403, allocations: 0.494 MB / 417.9 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1403, allocations: 0 / 417.9 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.1404, allocations: 12 kB / 417.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.1404, allocations: 8 kB / 417.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.1407, allocations: 205.8 kB / 418.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/0.1529, allocations: 4.094 MB / 422.2 MB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.1532, allocations: 170.6 kB / 422.4 MB, free: 3.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.1534, allocations: 84.83 kB / 422.5 MB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/0.1637, allocations: 2.68 MB / 425.2 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.1637, allocations: 34.56 kB / 425.2 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.953e-06/0.1637, allocations: 0 / 425.2 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006197/0.1699, allocations: 1.267 MB / 426.5 MB, free: 15.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1699, allocations: 55.41 kB / 426.5 MB, free: 15.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.1702, allocations: 236 kB / 426.7 MB, free: 15.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.1703, allocations: 25.7 kB / 426.8 MB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.1704, allocations: 200.3 kB / 427 MB, free: 15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.747e-05/0.1705, allocations: 103.1 kB / 427.1 MB, free: 14.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.1706, allocations: 61.7 kB / 427.1 MB, free: 14.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1708, allocations: 334.8 kB / 427.5 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.1709, allocations: 91.97 kB / 427.5 MB, free: 14.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.1712, allocations: 190.9 kB / 427.7 MB, free: 14.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.1716, allocations: 307 kB / 428 MB, free: 13.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1717, allocations: 3.938 kB / 428 MB, free: 13.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007121/0.1724, allocations: 390.8 kB / 428.4 MB, free: 13.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1724, allocations: 8 kB / 428.4 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.1724, allocations: 8.312 kB / 428.4 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004056/0.1764, allocations: 0.9256 MB / 429.4 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.1767, allocations: 71.89 kB / 429.4 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.1785, allocations: 1.844 MB / 431.3 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.1787, allocations: 15.94 kB / 431.3 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.1787, allocations: 15.98 kB / 431.3 MB, free: 10.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.1789, allocations: 154 kB / 431.4 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.179, allocations: 27.8 kB / 431.5 MB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007935/0.1798, allocations: 0.4944 MB / 432 MB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.1798, allocations: 4 kB / 432 MB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.1798, allocations: 0 / 432 MB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007517/0.1805, allocations: 0.7238 MB / 432.7 MB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.1818, allocations: 0.8445 MB / 433.5 MB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1818, allocations: 3.938 kB / 433.5 MB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.182, allocations: 48 kB / 433.6 MB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/0.1837, allocations: 316.4 kB / 433.9 MB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.1838, allocations: 12 kB / 433.9 MB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005645/0.1843, allocations: 0.6499 MB / 434.6 MB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1843, allocations: 0 / 434.6 MB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.1853, allocations: 0.7333 MB / 435.3 MB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.1854, allocations: 27.78 kB / 435.3 MB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.1854, allocations: 11.94 kB / 435.3 MB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.1856, allocations: 4 kB / 435.3 MB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1856, allocations: 23.95 kB / 435.4 MB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.1857, allocations: 8 kB / 435.4 MB, free: 6.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.1858, allocations: 165.6 kB / 435.5 MB, free: 5.977 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1858, allocations: 0 / 435.5 MB, free: 5.977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006516/0.1865, allocations: 191.7 kB / 435.7 MB, free: 5.789 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005506/0.187, allocations: 270.8 kB / 436 MB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008551/0.1879, allocations: 443.1 kB / 436.4 MB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1879, allocations: 0 / 436.4 MB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005368/0.1884, allocations: 239.6 kB / 436.7 MB, free: 4.836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008184/0.1892, allocations: 135.6 kB / 436.8 MB, free: 4.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.1905, allocations: 0.8047 MB / 437.6 MB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.1907, allocations: 176.3 kB / 437.8 MB, free: 3.691 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.1909, allocations: 42.95 kB / 437.8 MB, free: 3.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.1909, allocations: 24.5 kB / 437.8 MB, free: 3.625 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1909, allocations: 0 / 437.8 MB, free: 3.625 MB / 398.1 MB Notification: Performance of Templates: time 0.01654/0.2075, allocations: 9.252 MB / 447.1 MB, free: 10.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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: 5.412227966007777]