Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.0009388/0.0009388, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009457/0.0009457, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9584/0.9584, allocations: 177.1 MB / 205 MB, free: 5.621 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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.823e-05, allocations: 2.312 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.00979/0.009818, allocations: 11.97 MB / 285 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.01157, allocations: 1.947 MB / 286.9 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.01172, allocations: 7.938 kB / 286.9 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.01211, allocations: 107.3 kB / 287 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.0126, allocations: 369.8 kB / 287.4 MB, free: 3.074 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.0153, allocations: 1.368 MB / 288.8 MB, free: 1.699 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007749/0.01608, allocations: 0.9415 MB / 289.7 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.01624, allocations: 68.89 kB / 289.8 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1163/0.1325, allocations: 4.235 MB / 294 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004214/0.133, allocations: 259.7 kB / 294.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.916e-05/0.133, allocations: 35 kB / 294.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.1341, allocations: 0.6719 MB / 295 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.1343, allocations: 100.5 kB / 295.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.1344, allocations: 149 kB / 295.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.1356, allocations: 0.7508 MB / 295.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1356, allocations: 2.75 kB / 296 MB, free: 15.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1356, allocations: 1.031 kB / 296 MB, free: 15.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1356, allocations: 0 / 296 MB, free: 15.85 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008513/0.1365, allocations: 0.674 MB / 296.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1365, allocations: 16.12 kB / 296.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003688/0.1369, allocations: 119.9 kB / 296.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.1373, allocations: 234.6 kB / 297 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.1373, allocations: 22.72 kB / 297 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/0.1374, allocations: 29.36 kB / 297 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004395/0.1378, allocations: 457.7 kB / 297.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.1379, allocations: 6.234 kB / 297.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.1379, allocations: 16.12 kB / 297.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.1379, allocations: 10.59 kB / 297.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.1381, allocations: 137.7 kB / 297.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006286/0.1444, allocations: 4.545 MB / 302.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.1446, allocations: 136.2 kB / 302.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.894e-05/0.1447, allocations: 57.59 kB / 302.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00445/0.1492, allocations: 2.691 MB / 305.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.1492, allocations: 45.47 kB / 305.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.595e-06/0.1492, allocations: 0 / 305.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.003263/0.1525, allocations: 1.13 MB / 306.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/0.1525, allocations: 58.81 kB / 306.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.1526, allocations: 281.1 kB / 306.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1526, allocations: 28.11 kB / 306.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/0.1527, allocations: 240.2 kB / 306.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.1527, allocations: 100.9 kB / 306.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-05/0.1528, allocations: 74.89 kB / 307 MB, free: 11.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.015e-05/0.1529, allocations: 0.5019 MB / 307.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.1529, allocations: 62.92 kB / 307.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.153, allocations: 177 kB / 307.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.1532, allocations: 267.7 kB / 308 MB, free: 10.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1532, allocations: 0 / 308 MB, free: 10.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003673/0.1536, allocations: 325.8 kB / 308.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1536, allocations: 5.188 kB / 308.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1536, allocations: 6.125 kB / 308.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/0.1556, allocations: 0.9342 MB / 309.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.1558, allocations: 66.56 kB / 309.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007869/0.1566, allocations: 2.569 MB / 311.9 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.1567, allocations: 8.312 kB / 311.9 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1567, allocations: 16.88 kB / 311.9 MB, free: 7.473 MB / 266.7 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 8.681e-05/0.1568, allocations: 179.4 kB / 312.1 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.1568, allocations: 31.52 kB / 312.1 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003714/0.1572, allocations: 346.5 kB / 312.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1572, allocations: 3.062 kB / 312.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.1572, allocations: 3.938 kB / 312.5 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002763/0.1575, allocations: 0.5789 MB / 313.1 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.1581, allocations: 0.7206 MB / 313.8 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1581, allocations: 3.938 kB / 313.8 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.1582, allocations: 47.44 kB / 313.8 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000773/0.159, allocations: 290.2 kB / 314.1 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.159, allocations: 11.86 kB / 314.1 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001927/0.1592, allocations: 0.8146 MB / 314.9 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1592, allocations: 0 / 314.9 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.1596, allocations: 0.5284 MB / 315.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.1596, allocations: 23.81 kB / 315.5 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.1597, allocations: 15.17 kB / 315.5 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.1597, allocations: 3.5 kB / 315.5 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.1598, allocations: 26 kB / 315.5 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.1598, allocations: 8.625 kB / 315.6 MB, free: 4.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.582e-05/0.1599, allocations: 192.6 kB / 315.7 MB, free: 4.016 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1599, allocations: 4.062 kB / 315.7 MB, free: 4.012 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005903/0.1605, allocations: 190.1 kB / 315.9 MB, free: 3.84 MB / 266.7 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.0004292/0.1609, allocations: 279.7 kB / 316.2 MB, free: 3.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004528/0.1613, allocations: 417 kB / 316.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1613, allocations: 4 kB / 316.6 MB, free: 3.199 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.1616, allocations: 154.3 kB / 316.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.1621, allocations: 144.5 kB / 316.9 MB, free: 2.945 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1632, allocations: 0.6758 MB / 317.6 MB, free: 2.297 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.034e-05/0.1632, allocations: 100.4 kB / 317.7 MB, free: 2.184 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.1634, allocations: 44.78 kB / 317.7 MB, free: 2.137 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.1634, allocations: 28.48 kB / 317.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1634, allocations: 0 / 317.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of Templates: time 0.01109/0.1745, allocations: 9.351 MB / 327.1 MB, free: 8.957 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.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.5611749556846917]