Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.0009063/0.0009063, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 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.0009016/0.0009016, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 18.57 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 0.9338/0.9338, allocations: 173.3 MB / 201.5 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 268.1 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.616e-05, allocations: 2.312 kB / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.125/0.1251, allocations: 38.34 MB / 306.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003417/0.1285, allocations: 4.641 MB / 311.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.1287, allocations: 13.38 kB / 311.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.1293, allocations: 271.1 kB / 311.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005673/0.1299, allocations: 0.5045 MB / 311.9 MB, free: 9.953 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.1326, allocations: 1.663 MB / 313.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008066/0.1334, allocations: 1.285 MB / 314.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.1336, allocations: 121.2 kB / 314.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005321/0.1341, allocations: 0.6417 MB / 315.6 MB, free: 8.059 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.1345, allocations: 371.1 kB / 315.9 MB, free: 7.875 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.744e-05/0.1345, allocations: 46.59 kB / 316 MB, free: 7.875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007845/0.1353, allocations: 0.7405 MB / 316.7 MB, free: 7.539 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.258e-05/0.1354, allocations: 148.9 kB / 316.9 MB, free: 7.422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.1355, allocations: 208.1 kB / 317.1 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007538/0.1363, allocations: 0.9267 MB / 318 MB, free: 6.758 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1363, allocations: 0 / 318 MB, free: 6.758 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1363, allocations: 0 / 318 MB, free: 6.758 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1363, allocations: 0 / 318 MB, free: 6.758 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0006823/0.137, allocations: 0.8096 MB / 318.8 MB, free: 6.086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.137, allocations: 13.41 kB / 318.8 MB, free: 6.082 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004177/0.1374, allocations: 170.1 kB / 319 MB, free: 5.984 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.1377, allocations: 282.2 kB / 319.3 MB, free: 5.738 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1378, allocations: 32.75 kB / 319.3 MB, free: 5.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.1378, allocations: 41.19 kB / 319.3 MB, free: 5.711 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.1382, allocations: 0.6179 MB / 319.9 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.1382, allocations: 4.188 kB / 319.9 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.1382, allocations: 18.34 kB / 320 MB, free: 5.105 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.1382, allocations: 13.69 kB / 320 MB, free: 5.102 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.1384, allocations: 204.5 kB / 320.2 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00542/0.1439, allocations: 5.157 MB / 325.3 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.1441, allocations: 215.8 kB / 325.5 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1442, allocations: 103.6 kB / 325.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004423/0.1486, allocations: 2.691 MB / 328.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.1487, allocations: 41.39 kB / 328.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.322e-06/0.1487, allocations: 0 / 328.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.005917/0.1546, allocations: 1.995 MB / 330.4 MB, free: 11.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.1546, allocations: 67.34 kB / 330.4 MB, free: 11.69 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.1548, allocations: 320.1 kB / 330.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1548, allocations: 33.7 kB / 330.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1549, allocations: 275.2 kB / 331.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.978e-05/0.155, allocations: 170.6 kB / 331.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.29e-05/0.1551, allocations: 104 kB / 331.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1552, allocations: 0.5156 MB / 331.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1554, allocations: 88.7 kB / 331.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.1556, allocations: 262 kB / 332.2 MB, free: 9.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.1559, allocations: 390.5 kB / 332.6 MB, free: 9.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1559, allocations: 0 / 332.6 MB, free: 9.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005891/0.1565, allocations: 484.5 kB / 333 MB, free: 8.898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1565, allocations: 16.61 kB / 333 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.1565, allocations: 4 kB / 333.1 MB, free: 8.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003911/0.1604, allocations: 1.841 MB / 334.9 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.1607, allocations: 107.8 kB / 335 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.162, allocations: 3.385 MB / 338.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.1621, allocations: 16 kB / 338.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.1622, allocations: 20 kB / 338.4 MB, free: 3.332 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.1623, allocations: 192.5 kB / 338.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.511e-05/0.1623, allocations: 50.58 kB / 338.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006159/0.163, allocations: 0.5844 MB / 339.2 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.163, allocations: 11.92 kB / 339.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.163, allocations: 0 / 339.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005095/0.1635, allocations: 0.6955 MB / 339.9 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.1645, allocations: 1.058 MB / 341 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1645, allocations: 8.031 kB / 341 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.1647, allocations: 79.89 kB / 341.1 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00149/0.1662, allocations: 0.557 MB / 341.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.1662, allocations: 16 kB / 341.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005619/0.1667, allocations: 1.633 MB / 343.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1667, allocations: 0 / 343.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007627/0.1675, allocations: 0.8185 MB / 344.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.1676, allocations: 39.69 kB / 344.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.1676, allocations: 12 kB / 344.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1677, allocations: 8 kB / 344.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.1677, allocations: 32 kB / 344.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.1678, allocations: 19.98 kB / 344.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1679, allocations: 205.1 kB / 344.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1679, allocations: 0 / 344.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004409/0.1683, allocations: 235.7 kB / 344.7 MB, free: 12.83 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004027/0.1687, allocations: 295 kB / 344.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007062/0.1694, allocations: 0.578 MB / 345.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1694, allocations: 0.625 kB / 345.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004368/0.1699, allocations: 298 kB / 345.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006101/0.1705, allocations: 210.6 kB / 346 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.1718, allocations: 1.018 MB / 347 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.477e-05/0.1719, allocations: 130.6 kB / 347.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.1721, allocations: 63.36 kB / 347.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.657e-05/0.1721, allocations: 36.5 kB / 347.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1721, allocations: 0 / 347.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of Templates: time 0.01262/0.1847, allocations: 12.01 MB / 359.3 MB, free: 14.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7104103760793805]