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.0008863/0.0008863, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.0009053/0.0009053, allocations: 166.2 kB / 25.61 MB, free: 8.441 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.8985/0.8985, allocations: 177 MB / 205.9 MB, free: 4.465 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.042e-06/1.042e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036e-05/1.14e-05, allocations: 2.906 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.009542/0.009554, allocations: 12.83 MB / 287 MB, free: 7.414 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.01138, allocations: 2.169 MB / 289.1 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.01154, allocations: 11.94 kB / 289.1 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006519/0.01219, allocations: 151 kB / 289.3 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005631/0.01275, allocations: 0.5164 MB / 289.8 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.01477, allocations: 1.481 MB / 291.3 MB, free: 3.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008823/0.01565, allocations: 1.342 MB / 292.6 MB, free: 1.723 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.01582, allocations: 119 kB / 292.7 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000485/0.01631, allocations: 0.6393 MB / 293.4 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.01664, allocations: 370.9 kB / 293.7 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.917e-05/0.01669, allocations: 44 kB / 293.8 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007489/0.01744, allocations: 0.6944 MB / 294.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.01754, allocations: 147.5 kB / 294.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.0177, allocations: 211.6 kB / 294.8 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007437/0.01844, allocations: 0.8727 MB / 295.7 MB, free: 14.63 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.01845, allocations: 4 kB / 295.7 MB, free: 14.63 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01845, allocations: 0 / 295.7 MB, free: 14.63 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.01845, allocations: 3.938 kB / 295.7 MB, free: 14.62 MB / 282.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.0009402/0.01939, allocations: 0.7879 MB / 296.5 MB, free: 13.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.01942, allocations: 12.02 kB / 296.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003785/0.0198, allocations: 167.8 kB / 296.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.02007, allocations: 287.8 kB / 296.9 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.02009, allocations: 29.38 kB / 297 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.02014, allocations: 48.36 kB / 297 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.02052, allocations: 0.5844 MB / 297.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.02053, allocations: 4.141 kB / 297.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.02056, allocations: 28.11 kB / 297.6 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.02057, allocations: 8 kB / 297.6 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.02073, allocations: 166.6 kB / 297.8 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005904/0.02664, allocations: 4.906 MB / 302.7 MB, free: 7.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.02686, allocations: 191 kB / 302.9 MB, free: 7.141 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.364e-05/0.02695, allocations: 86.64 kB / 303 MB, free: 7.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004653/0.0316, allocations: 2.503 MB / 305.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.03163, allocations: 41.39 kB / 305.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.603e-06/0.03163, allocations: 0 / 305.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.005279/0.03691, allocations: 1.879 MB / 307.4 MB, free: 2.566 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.03693, allocations: 59.41 kB / 307.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.03711, allocations: 316.1 kB / 307.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.03713, allocations: 29.7 kB / 307.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.03724, allocations: 279.1 kB / 308.1 MB, free: 1.859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.935e-05/0.03732, allocations: 170.5 kB / 308.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.472e-05/0.03742, allocations: 107.8 kB / 308.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.03755, allocations: 0.5234 MB / 308.9 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.03762, allocations: 69.25 kB / 308.9 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.03778, allocations: 241.9 kB / 309.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.03805, allocations: 350.5 kB / 309.5 MB, free: 272 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.03806, allocations: 3.984 kB / 309.5 MB, free: 268 kB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004968/0.03855, allocations: 448.4 kB / 310 MB, free: 15.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.03857, allocations: 12 kB / 310 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.03857, allocations: 4 kB / 310 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004007/0.04258, allocations: 1.836 MB / 311.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.04279, allocations: 103.9 kB / 311.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.04411, allocations: 3.368 MB / 315.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.04423, allocations: 12 kB / 315.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.04425, allocations: 20 kB / 315.3 MB, free: 10.29 MB / 298.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.04437, allocations: 188.5 kB / 315.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.04443, allocations: 55.75 kB / 315.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005299/0.04496, allocations: 0.5257 MB / 316.1 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.04497, allocations: 7.984 kB / 316.1 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.04497, allocations: 3.938 kB / 316.1 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004022/0.04538, allocations: 0.6445 MB / 316.7 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009029/0.04628, allocations: 0.9491 MB / 317.7 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.04628, allocations: 4 kB / 317.7 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/0.04668, allocations: 83.88 kB / 317.8 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001524/0.04821, allocations: 0.5493 MB / 318.3 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.04823, allocations: 15.98 kB / 318.3 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000532/0.04876, allocations: 1.635 MB / 320 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.04876, allocations: 0 / 320 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006024/0.04937, allocations: 0.7287 MB / 320.7 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.0494, allocations: 39.66 kB / 320.7 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.04943, allocations: 19.88 kB / 320.8 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.04954, allocations: 8 kB / 320.8 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.04958, allocations: 35.97 kB / 320.8 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.0496, allocations: 19.92 kB / 320.8 MB, free: 4.516 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.558e-05/0.04968, allocations: 201.1 kB / 321 MB, free: 4.316 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04968, allocations: 0 / 321 MB, free: 4.316 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004461/0.05013, allocations: 223.8 kB / 321.2 MB, free: 4.098 MB / 298.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004064/0.05054, allocations: 298.7 kB / 321.5 MB, free: 3.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005452/0.05108, allocations: 0.5271 MB / 322.1 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.05108, allocations: 0 / 322.1 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003853/0.05147, allocations: 266.1 kB / 322.3 MB, free: 2.984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.05209, allocations: 230 kB / 322.5 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.05333, allocations: 0.9841 MB / 323.5 MB, free: 1.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.103e-05/0.0534, allocations: 126.7 kB / 323.6 MB, free: 1.609 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.05355, allocations: 59.38 kB / 323.7 MB, free: 1.551 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.05385, allocations: 234 kB / 323.9 MB, free: 1.32 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.05385, allocations: 0 / 323.9 MB, free: 1.32 MB / 298.7 MB Notification: Performance of Templates: time 0.01594/0.06978, allocations: 13.68 MB / 337.6 MB, free: 3.785 MB / 314.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.504890246782452]