Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.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.0008918/0.0008918, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.0009012/0.0009012, allocations: 166.1 kB / 24.82 MB, free: 9.258 MB / 18.57 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 0.9378/0.9378, allocations: 177 MB / 205.1 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.369e-05, allocations: 9.266 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.009613/0.009627, allocations: 12.81 MB / 286.2 MB, free: 4.355 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.01222, allocations: 2.173 MB / 288.3 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.01241, allocations: 15.88 kB / 288.3 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.01283, allocations: 143 kB / 288.5 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007006/0.01353, allocations: 0.5125 MB / 289 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002882/0.01641, allocations: 1.493 MB / 290.5 MB, free: 4 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1049/0.1213, allocations: 1.336 MB / 291.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.1215, allocations: 111.9 kB / 291.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007588/0.1223, allocations: 0.6478 MB / 292.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004545/0.1227, allocations: 371.9 kB / 292.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.241e-05/0.1228, allocations: 45.91 kB / 293 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.124, allocations: 0.7002 MB / 293.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1241, allocations: 148.7 kB / 293.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.1243, allocations: 210.4 kB / 294 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.1254, allocations: 0.8675 MB / 294.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1254, allocations: 2.406 kB / 294.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1254, allocations: 0 / 294.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1254, allocations: 0.5312 kB / 294.9 MB, free: 15.77 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.0008207/0.1262, allocations: 0.7931 MB / 295.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1263, allocations: 18.64 kB / 295.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003994/0.1267, allocations: 168.6 kB / 295.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.127, allocations: 282.3 kB / 296.2 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.127, allocations: 27.66 kB / 296.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.127, allocations: 43.78 kB / 296.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.1274, allocations: 0.5875 MB / 296.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1274, allocations: 2.984 kB / 296.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.1274, allocations: 16.97 kB / 296.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.1275, allocations: 18.06 kB / 296.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.1276, allocations: 163.8 kB / 297 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005836/0.1335, allocations: 4.954 MB / 302 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.1337, allocations: 186.9 kB / 302.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.187e-05/0.1338, allocations: 87.33 kB / 302.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004147/0.1379, allocations: 2.54 MB / 304.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.138, allocations: 43.31 kB / 304.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.362e-06/0.138, allocations: 4 kB / 304.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.004744/0.1427, allocations: 1.925 MB / 306.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.419e-05/0.1427, allocations: 62.44 kB / 306.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.1428, allocations: 311.4 kB / 307.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1429, allocations: 36.52 kB / 307.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.1429, allocations: 285.4 kB / 307.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.143, allocations: 165.3 kB / 307.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-05/0.1431, allocations: 103.7 kB / 307.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.1431, allocations: 0.5192 MB / 308.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.1432, allocations: 69.69 kB / 308.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.1433, allocations: 242.4 kB / 308.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.1435, allocations: 351.2 kB / 308.9 MB, free: 9.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1435, allocations: 0 / 308.9 MB, free: 9.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004344/0.1439, allocations: 474.5 kB / 309.3 MB, free: 9.801 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1439, allocations: 9.688 kB / 309.3 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.144, allocations: 8.906 kB / 309.3 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003433/0.1474, allocations: 1.865 MB / 311.2 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.1476, allocations: 109.4 kB / 311.3 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00577/0.1533, allocations: 8.282 MB / 319.6 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.1535, allocations: 12 kB / 319.6 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.1536, allocations: 19.98 kB / 319.6 MB, free: 24 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.0001727/0.1537, allocations: 192.3 kB / 319.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.074e-05/0.1538, allocations: 47.77 kB / 319.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008619/0.1547, allocations: 0.5641 MB / 320.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.1547, allocations: 16.02 kB / 320.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.1547, allocations: 0 / 320.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006957/0.1554, allocations: 0.6787 MB / 321.1 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009599/0.1564, allocations: 0.9983 MB / 322.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1564, allocations: 0 / 322.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.1566, allocations: 75.06 kB / 322.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.1581, allocations: 0.6821 MB / 322.9 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.1581, allocations: 15.98 kB / 322.9 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.1599, allocations: 3.685 MB / 326.6 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1599, allocations: 0 / 326.6 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006589/0.1606, allocations: 0.77 MB / 327.3 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.1606, allocations: 39.66 kB / 327.4 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.1606, allocations: 12 kB / 327.4 MB, free: 7.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1608, allocations: 11.98 kB / 327.4 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.1608, allocations: 39.31 kB / 327.4 MB, free: 7.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.1608, allocations: 11.98 kB / 327.5 MB, free: 7.898 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.746e-05/0.1609, allocations: 198.3 kB / 327.6 MB, free: 7.711 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1609, allocations: 0 / 327.6 MB, free: 7.711 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005823/0.1615, allocations: 247.7 kB / 327.9 MB, free: 7.469 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.0004109/0.1619, allocations: 310.2 kB / 328.2 MB, free: 7.188 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006926/0.1626, allocations: 0.9148 MB / 329.1 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1626, allocations: 4.25 kB / 329.1 MB, free: 6.242 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004594/0.1631, allocations: 0.5776 MB / 329.7 MB, free: 5.641 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.1636, allocations: 216.4 kB / 329.9 MB, free: 5.438 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1649, allocations: 1.032 MB / 330.9 MB, free: 4.398 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.385e-05/0.165, allocations: 130.8 kB / 331.1 MB, free: 4.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.1651, allocations: 63.36 kB / 331.1 MB, free: 4.184 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.1654, allocations: 234 kB / 331.3 MB, free: 3.953 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1654, allocations: 0 / 331.3 MB, free: 3.953 MB / 282.7 MB Notification: Performance of Templates: time 0.01518/0.1806, allocations: 14.87 MB / 346.2 MB, free: 5.293 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.442293232306838]