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.0009344/0.0009344, allocations: 78.97 kB / 21.42 MB, free: 3.082 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.0009107/0.0009107, allocations: 148.9 kB / 24.8 MB, free: 9.34 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.93/0.93, allocations: 173.3 MB / 201.4 MB, free: 9.23 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.693e-06/1.693e-06, allocations: 0 / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.51e-05, allocations: 2.312 kB / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.01518/0.0152, allocations: 12.78 MB / 281.2 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.01793, allocations: 2.173 MB / 283.4 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.01808, allocations: 11.94 kB / 283.4 MB, free: 7.172 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.01843, allocations: 143 kB / 283.5 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005196/0.01895, allocations: 0.5125 MB / 284 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.02121, allocations: 1.497 MB / 285.5 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007545/0.02196, allocations: 1.342 MB / 286.9 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.02212, allocations: 115 kB / 287 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004548/0.02257, allocations: 0.6509 MB / 287.6 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.02289, allocations: 366.9 kB / 288 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.962e-05/0.02294, allocations: 48 kB / 288 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007176/0.02365, allocations: 0.6944 MB / 288.7 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.685e-05/0.02375, allocations: 143.5 kB / 288.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.02389, allocations: 215.6 kB / 289.1 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006833/0.02457, allocations: 0.861 MB / 289.9 MB, free: 0.582 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.02458, allocations: 4 kB / 290 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.02458, allocations: 0 / 290 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.02458, allocations: 0 / 290 MB, free: 0.5781 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.09254/0.1171, allocations: 0.7944 MB / 290.7 MB, free: 23.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1172, allocations: 11.75 kB / 290.8 MB, free: 23.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004148/0.1176, allocations: 163.1 kB / 290.9 MB, free: 23.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.1179, allocations: 288.1 kB / 291.2 MB, free: 23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.1179, allocations: 30.94 kB / 291.2 MB, free: 23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.118, allocations: 46.38 kB / 291.3 MB, free: 23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.1183, allocations: 0.5816 MB / 291.9 MB, free: 22.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1184, allocations: 4.344 kB / 291.9 MB, free: 22.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.1184, allocations: 18.5 kB / 291.9 MB, free: 22.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1184, allocations: 14.23 kB / 291.9 MB, free: 22.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.1186, allocations: 166.3 kB / 292.1 MB, free: 22.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006318/0.1249, allocations: 4.942 MB / 297 MB, free: 20.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.1252, allocations: 194 kB / 297.2 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.374e-05/0.1253, allocations: 87.97 kB / 297.3 MB, free: 20.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004578/0.1298, allocations: 2.549 MB / 299.8 MB, free: 20.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1299, allocations: 44.77 kB / 299.9 MB, free: 20.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.324e-06/0.1299, allocations: 0 / 299.9 MB, free: 20.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.005414/0.1353, allocations: 1.918 MB / 301.8 MB, free: 19.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.1353, allocations: 59.45 kB / 301.8 MB, free: 19.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1355, allocations: 308.6 kB / 302.1 MB, free: 19.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1355, allocations: 37.92 kB / 302.2 MB, free: 19.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.1356, allocations: 279.5 kB / 302.5 MB, free: 19.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.366e-05/0.1356, allocations: 176.8 kB / 302.6 MB, free: 19.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-05/0.1357, allocations: 103.7 kB / 302.7 MB, free: 19.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.1358, allocations: 0.5156 MB / 303.2 MB, free: 18.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.1359, allocations: 74.12 kB / 303.3 MB, free: 18.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.136, allocations: 241.2 kB / 303.5 MB, free: 18.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.1362, allocations: 353.3 kB / 303.9 MB, free: 18.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1362, allocations: 1.375 kB / 303.9 MB, free: 18.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004953/0.1367, allocations: 469.8 kB / 304.4 MB, free: 18.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1368, allocations: 6.188 kB / 304.4 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1368, allocations: 3.062 kB / 304.4 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003464/0.1402, allocations: 1.874 MB / 306.2 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.1404, allocations: 106.3 kB / 306.3 MB, free: 17.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005957/0.1464, allocations: 8.281 MB / 314.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.1466, allocations: 19.62 kB / 314.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.1466, allocations: 15.94 kB / 314.7 MB, free: 10.42 MB / 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.0001264/0.1467, allocations: 189.3 kB / 314.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.1468, allocations: 51.7 kB / 314.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004901/0.1473, allocations: 0.5714 MB / 315.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1473, allocations: 7.562 kB / 315.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.1473, allocations: 4 kB / 315.5 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003545/0.1476, allocations: 0.6817 MB / 316.2 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00077/0.1484, allocations: 0.9898 MB / 317.1 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.1484, allocations: 6.906 kB / 317.2 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.1485, allocations: 72.31 kB / 317.2 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.1499, allocations: 0.6753 MB / 317.9 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.1499, allocations: 15.73 kB / 317.9 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.1512, allocations: 3.693 MB / 321.6 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1512, allocations: 0 / 321.6 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.1517, allocations: 0.7669 MB / 322.4 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.1518, allocations: 39.69 kB / 322.4 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.1518, allocations: 13.86 kB / 322.4 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1519, allocations: 12 kB / 322.4 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.1519, allocations: 31.94 kB / 322.5 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.152, allocations: 15.98 kB / 322.5 MB, free: 2.707 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.287e-05/0.152, allocations: 202.1 kB / 322.7 MB, free: 2.516 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.152, allocations: 0 / 322.7 MB, free: 2.516 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005488/0.1526, allocations: 243.7 kB / 322.9 MB, free: 2.277 MB / 266.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.0003651/0.1529, allocations: 307.5 kB / 323.2 MB, free: 2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000555/0.1535, allocations: 0.9185 MB / 324.1 MB, free: 1.059 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1535, allocations: 4.125 kB / 324.1 MB, free: 1.055 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003729/0.1539, allocations: 0.5884 MB / 324.7 MB, free: 456 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.1544, allocations: 213.5 kB / 324.9 MB, free: 248 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.1558, allocations: 1.011 MB / 326 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.872e-05/0.1559, allocations: 130.8 kB / 326.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.156, allocations: 63.36 kB / 326.1 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.1563, allocations: 231.9 kB / 326.4 MB, free: 14.78 MB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1563, allocations: 0 / 326.4 MB, free: 14.78 MB / 282.7 MB Notification: Performance of Templates: time 0.01816/0.1745, allocations: 14.89 MB / 341.3 MB, free: 112 kB / 282.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.466038813814521]