Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009777/0.0009777, allocations: 80.8 kB / 22.28 MB, free: 2.211 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.001013/0.001013, allocations: 166.2 kB / 25.7 MB, free: 8.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8583/0.8583, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.093e-06/1.093e-06, allocations: 0 / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.436e-05, allocations: 2.312 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.009384/0.009398, allocations: 11.91 MB / 263.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.01127, allocations: 1.962 MB / 265.4 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.01141, allocations: 4 kB / 265.4 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.01173, allocations: 107.3 kB / 265.5 MB, free: 9.219 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004695/0.0122, allocations: 373.8 kB / 265.9 MB, free: 8.852 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.01461, allocations: 1.384 MB / 267.3 MB, free: 7.461 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007407/0.01535, allocations: 0.9377 MB / 268.2 MB, free: 6.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.01549, allocations: 78.86 kB / 268.3 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003718/0.0192, allocations: 4.225 MB / 272.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.01946, allocations: 243.2 kB / 272.7 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.0195, allocations: 31.94 kB / 272.8 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007699/0.02027, allocations: 0.675 MB / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.341e-05/0.02036, allocations: 111.6 kB / 273.6 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.02047, allocations: 147.7 kB / 273.7 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007706/0.02125, allocations: 0.752 MB / 274.5 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.02125, allocations: 0 / 274.5 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.02125, allocations: 0 / 274.5 MB, free: 268 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.02125, allocations: 0 / 274.5 MB, free: 268 kB / 250.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.0005761/0.02183, allocations: 0.5305 MB / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.02186, allocations: 19.97 kB / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.02215, allocations: 124.3 kB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.02236, allocations: 201.3 kB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.02238, allocations: 25.03 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.02242, allocations: 36.31 kB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.02267, allocations: 414.3 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.02269, allocations: 192 / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.02271, allocations: 16.12 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.02271, allocations: 11.94 kB / 275.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.02282, allocations: 111.3 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005182/0.028, allocations: 3.715 MB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.02813, allocations: 110.9 kB / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.02818, allocations: 44.78 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003863/0.03204, allocations: 2.488 MB / 282.3 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.03206, allocations: 30.56 kB / 282.3 MB, free: 8.203 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.392e-06/0.03206, allocations: 0 / 282.3 MB, free: 8.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.002961/0.03502, allocations: 1.112 MB / 283.4 MB, free: 7.051 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.03505, allocations: 59.34 kB / 283.5 MB, free: 6.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.03517, allocations: 215.3 kB / 283.7 MB, free: 6.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.03518, allocations: 29.7 kB / 283.7 MB, free: 6.723 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.03525, allocations: 184.1 kB / 283.9 MB, free: 6.539 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.0353, allocations: 103.1 kB / 284 MB, free: 6.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.03536, allocations: 73.39 kB / 284.1 MB, free: 6.359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.373e-05/0.03545, allocations: 346.7 kB / 284.4 MB, free: 6.012 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.072e-05/0.03549, allocations: 31.98 kB / 284.4 MB, free: 5.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.127e-05/0.03557, allocations: 126.9 kB / 284.6 MB, free: 5.816 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.03596, allocations: 201.7 kB / 284.8 MB, free: 5.578 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.03597, allocations: 4 kB / 284.8 MB, free: 5.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002462/0.03621, allocations: 231.2 kB / 285 MB, free: 5.336 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.03622, allocations: 8 kB / 285 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.03623, allocations: 4 kB / 285 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/0.03797, allocations: 0.9159 MB / 285.9 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.0381, allocations: 75.84 kB / 286 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000774/0.03888, allocations: 1.707 MB / 287.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.065e-05/0.03896, allocations: 12 kB / 287.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.03897, allocations: 8 kB / 287.7 MB, free: 2.492 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.366e-05/0.03905, allocations: 140.5 kB / 287.9 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.03909, allocations: 32.02 kB / 287.9 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.03937, allocations: 312.5 kB / 288.2 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.03938, allocations: 4 kB / 288.2 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.03938, allocations: 3.938 kB / 288.2 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002504/0.03963, allocations: 0.515 MB / 288.7 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.04014, allocations: 0.5497 MB / 289.3 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.04014, allocations: 0 / 289.3 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.604e-05/0.04024, allocations: 47.91 kB / 289.3 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006817/0.04092, allocations: 299.2 kB / 289.6 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.04093, allocations: 4 kB / 289.6 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002198/0.04115, allocations: 0.5422 MB / 290.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.04116, allocations: 0 / 290.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.04148, allocations: 452.3 kB / 290.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.0415, allocations: 23.81 kB / 290.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.04153, allocations: 7.938 kB / 290.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/0.04161, allocations: 12 kB / 290.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.04163, allocations: 15.95 kB / 290.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.04164, allocations: 12 kB / 290.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.282e-05/0.04169, allocations: 59.41 kB / 290.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04169, allocations: 0 / 290.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000331/0.04202, allocations: 191.7 kB / 290.9 MB, free: 15.09 MB / 282.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.0003874/0.04241, allocations: 280 kB / 291.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003349/0.04275, allocations: 314.1 kB / 291.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.04275, allocations: 4 kB / 291.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.04295, allocations: 136.6 kB / 291.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006229/0.04358, allocations: 140.8 kB / 291.8 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009129/0.04449, allocations: 0.6521 MB / 292.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.363e-05/0.04454, allocations: 97.11 kB / 292.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000113/0.04466, allocations: 38.95 kB / 292.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.04485, allocations: 145.2 kB / 292.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of SimCode: time 6.02e-07/0.04485, allocations: 0 / 292.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of Templates: time 0.01113/0.05599, allocations: 10.49 MB / 303.2 MB, free: 2.754 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.9965471727773547]