Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9494/0.9494, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.62e-05, allocations: 10.31 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.014/0.01402, allocations: 12.81 MB / 286.2 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003157/0.01718, allocations: 2.177 MB / 288.4 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.01742, allocations: 11.94 kB / 288.4 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004855/0.01791, allocations: 151 kB / 288.6 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008595/0.01877, allocations: 0.5086 MB / 289.1 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.0214, allocations: 1.485 MB / 290.5 MB, free: 88 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.09518/0.1166, allocations: 1.338 MB / 291.9 MB, free: 16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.1168, allocations: 112.1 kB / 292 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008414/0.1177, allocations: 0.6458 MB / 292.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004365/0.1181, allocations: 375.8 kB / 293 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.246e-05/0.1182, allocations: 45.94 kB / 293.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.1194, allocations: 0.7028 MB / 293.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1195, allocations: 141.8 kB / 293.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.1197, allocations: 211.6 kB / 294.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.1207, allocations: 0.8653 MB / 295 MB, free: 15.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1207, allocations: 0.8125 kB / 295 MB, free: 15.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1207, allocations: 1.406 kB / 295 MB, free: 15.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1207, allocations: 0.625 kB / 295 MB, free: 15.83 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.001099/0.1218, allocations: 0.7973 MB / 295.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1219, allocations: 10.92 kB / 295.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006294/0.1225, allocations: 173 kB / 295.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.1229, allocations: 280.9 kB / 296.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.1229, allocations: 31.09 kB / 296.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/0.123, allocations: 44.97 kB / 296.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.1236, allocations: 0.5865 MB / 296.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1236, allocations: 5.188 kB / 296.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.1236, allocations: 23.27 kB / 296.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.1236, allocations: 13.62 kB / 296.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.1239, allocations: 157 kB / 297.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0062/0.1301, allocations: 4.959 MB / 302 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.1303, allocations: 187.2 kB / 302.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.1304, allocations: 85.19 kB / 302.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004016/0.1344, allocations: 2.539 MB / 304.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.1344, allocations: 40.73 kB / 304.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.1344, allocations: 0 / 304.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.004674/0.1391, allocations: 1.929 MB / 306.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.523e-05/0.1391, allocations: 54.97 kB / 306.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.1393, allocations: 316.1 kB / 307.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1393, allocations: 36.95 kB / 307.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.1394, allocations: 278 kB / 307.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/0.1394, allocations: 172.5 kB / 307.6 MB, free: 11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.649e-05/0.1395, allocations: 105.4 kB / 307.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.1395, allocations: 0.5154 MB / 308.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.464e-05/0.1396, allocations: 65.83 kB / 308.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1397, allocations: 247.6 kB / 308.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.1399, allocations: 347.7 kB / 308.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1399, allocations: 0 / 308.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004443/0.1404, allocations: 473.4 kB / 309.4 MB, free: 9.863 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1404, allocations: 6.594 kB / 309.4 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1404, allocations: 3.094 kB / 309.4 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003369/0.1438, allocations: 1.878 MB / 311.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.1439, allocations: 106.9 kB / 311.4 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005588/0.1495, allocations: 8.281 MB / 319.6 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.1497, allocations: 12 kB / 319.7 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.1497, allocations: 16 kB / 319.7 MB, free: 132 kB / 266.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): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.1498, allocations: 195.1 kB / 319.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.1499, allocations: 59.27 kB / 319.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00058/0.1504, allocations: 0.5599 MB / 320.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.1505, allocations: 15.98 kB / 320.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1505, allocations: 0 / 320.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004824/0.1509, allocations: 0.6706 MB / 321.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009357/0.1519, allocations: 1.002 MB / 322.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1519, allocations: 0 / 322.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.152, allocations: 79.42 kB / 322.2 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/0.1535, allocations: 0.6703 MB / 322.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.1535, allocations: 16 kB / 322.9 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.1553, allocations: 3.692 MB / 326.6 MB, free: 8.898 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1553, allocations: 0 / 326.6 MB, free: 8.898 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009045/0.1562, allocations: 0.7725 MB / 327.4 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.1563, allocations: 47.59 kB / 327.4 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.1563, allocations: 8 kB / 327.5 MB, free: 8.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1564, allocations: 8 kB / 327.5 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.1565, allocations: 39.95 kB / 327.5 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.1565, allocations: 16 kB / 327.5 MB, free: 8.004 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.188e-05/0.1566, allocations: 199.2 kB / 327.7 MB, free: 7.816 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1566, allocations: 0 / 327.7 MB, free: 7.816 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005758/0.1571, allocations: 247.7 kB / 327.9 MB, free: 7.574 MB / 282.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): 2 systems {(1,2,100.0%), (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.0004184/0.1576, allocations: 305.6 kB / 328.2 MB, free: 7.297 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000689/0.1583, allocations: 0.9186 MB / 329.2 MB, free: 6.355 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1583, allocations: 4 kB / 329.2 MB, free: 6.352 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004527/0.1587, allocations: 0.582 MB / 329.8 MB, free: 5.746 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005669/0.1593, allocations: 218.8 kB / 330 MB, free: 5.543 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1605, allocations: 1.018 MB / 331 MB, free: 4.512 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.177e-05/0.1606, allocations: 130.8 kB / 331.1 MB, free: 4.359 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.1608, allocations: 63.36 kB / 331.2 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.1611, allocations: 234 kB / 331.4 MB, free: 4.062 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1611, allocations: 3.375 kB / 331.4 MB, free: 4.062 MB / 282.7 MB Notification: Performance of Templates: time 0.01612/0.1772, allocations: 14.88 MB / 346.3 MB, free: 5.406 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4614019226282835]