Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001134, allocations: 93.88 kB / 16.3 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009319/0.0009322, allocations: 180.1 kB / 17.19 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.2 MB / 241.1 MB, free: 5.359 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002683, allocations: 7.781 kB / 300.7 MB, free: 6.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07911/0.07939, allocations: 50.42 MB / 351.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.03865/0.1181, allocations: 39.1 MB / 390.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0047/0.1228, allocations: 4.102 MB / 394.3 MB, free: 388 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.1231, allocations: 3.938 kB / 394.3 MB, free: 384 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005906/0.1237, allocations: 203.1 kB / 394.5 MB, free: 180 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004526/0.1242, allocations: 243.4 kB / 394.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01181/0.136, allocations: 5.048 MB / 399.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007937/0.1368, allocations: 0.5859 MB / 400.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.137, allocations: 105.6 kB / 400.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007913/0.1449, allocations: 5.957 MB / 406.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.1453, allocations: 259.1 kB / 406.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.62e-05/0.1453, allocations: 24 kB / 406.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01384/0.1592, allocations: 8.404 MB / 415.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.1595, allocations: 183.5 kB / 415.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.1597, allocations: 125.5 kB / 415.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005528/0.1652, allocations: 3.426 MB / 418.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1652, allocations: 0 / 418.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1652, allocations: 0 / 418.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1653, allocations: 4 kB / 418.9 MB, free: 7.809 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002441/0.1677, allocations: 1.22 MB / 420.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.1677, allocations: 11.97 kB / 420.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002861/0.168, allocations: 55.52 kB / 420.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.1685, allocations: 362.1 kB / 420.5 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.1686, allocations: 29 kB / 420.5 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/0.1686, allocations: 44 kB / 420.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.1698, allocations: 0.5765 MB / 421.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.1698, allocations: 3.984 kB / 421.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.1699, allocations: 23.95 kB / 421.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.1699, allocations: 16 kB / 421.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.1712, allocations: 0.7456 MB / 422 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1568/0.328, allocations: 11.99 MB / 433.9 MB, free: 57.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.3292, allocations: 0.5388 MB / 434.5 MB, free: 57.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01154/0.3408, allocations: 11.94 MB / 446.4 MB, free: 46.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.3408, allocations: 45.25 kB / 446.5 MB, free: 46.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 3.426e-06/0.3408, allocations: 1.234 kB / 446.5 MB, free: 46.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.005507/0.3464, allocations: 2.138 MB / 448.6 MB, free: 45.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.3464, allocations: 60.36 kB / 448.7 MB, free: 45.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.3467, allocations: 320.3 kB / 449 MB, free: 45.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.3468, allocations: 37.73 kB / 449 MB, free: 45.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.341e-05/0.3469, allocations: 203.9 kB / 449.2 MB, free: 45.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.347, allocations: 186.5 kB / 449.4 MB, free: 45.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.347, allocations: 12.75 kB / 449.4 MB, free: 45.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.819e-05/0.3471, allocations: 347.8 kB / 449.7 MB, free: 44.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.3474, allocations: 233.7 kB / 450 MB, free: 44.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005627/0.348, allocations: 343.2 kB / 450.3 MB, free: 44.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/0.3486, allocations: 283 kB / 450.6 MB, free: 44.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3486, allocations: 1.188 kB / 450.6 MB, free: 44.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001663/0.3503, allocations: 0.7525 MB / 451.3 MB, free: 44.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3503, allocations: 5.5 kB / 451.3 MB, free: 44.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3503, allocations: 3.609 kB / 451.3 MB, free: 44.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/0.3508, allocations: 100.5 kB / 451.4 MB, free: 44.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.3513, allocations: 127.8 kB / 451.6 MB, free: 44.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.3529, allocations: 3.285 MB / 454.9 MB, free: 41.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.3533, allocations: 48.31 kB / 454.9 MB, free: 41.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/0.3533, allocations: 30.72 kB / 454.9 MB, free: 41.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.3536, allocations: 196.7 kB / 455.1 MB, free: 41.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.3538, allocations: 49.67 kB / 455.2 MB, free: 41.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.3552, allocations: 0.8188 MB / 456 MB, free: 41.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3552, allocations: 9.562 kB / 456 MB, free: 41.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.3553, allocations: 0 / 456 MB, free: 41.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009831/0.3562, allocations: 0.7569 MB / 456.8 MB, free: 40.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.3581, allocations: 1.31 MB / 458.1 MB, free: 40.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3581, allocations: 1.344 kB / 458.1 MB, free: 40.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/0.3585, allocations: 99.92 kB / 458.2 MB, free: 40.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008765/0.3594, allocations: 147.8 kB / 458.3 MB, free: 40.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.3595, allocations: 19.7 kB / 458.3 MB, free: 40.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002937/0.3598, allocations: 0.6543 MB / 459 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3598, allocations: 0 / 459 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.3613, allocations: 0.9236 MB / 459.9 MB, free: 39.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.3614, allocations: 127.8 kB / 460 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/0.3615, allocations: 11.97 kB / 460 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.3619, allocations: 41.25 kB / 460.1 MB, free: 39.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.362, allocations: 40.14 kB / 460.1 MB, free: 39.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/0.362, allocations: 25.27 kB / 460.1 MB, free: 39.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002639/0.3623, allocations: 254.3 kB / 460.4 MB, free: 39.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3623, allocations: 0 / 460.4 MB, free: 39.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002917/0.3652, allocations: 1.305 MB / 461.7 MB, free: 38.97 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004057/0.3693, allocations: 1.56 MB / 463.3 MB, free: 38.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.3706, allocations: 0.8114 MB / 464.1 MB, free: 38.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.3706, allocations: 0 / 464.1 MB, free: 38.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004593/0.371, allocations: 293.5 kB / 464.4 MB, free: 38.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.3723, allocations: 264.4 kB / 464.6 MB, free: 37.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.3738, allocations: 1.304 MB / 465.9 MB, free: 37.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.3741, allocations: 0.8395 MB / 466.8 MB, free: 36.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004666/0.3746, allocations: 136.4 kB / 466.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.3747, allocations: 59.88 kB / 467 MB, free: 36.19 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3747, allocations: 0 / 467 MB, free: 36.19 MB / 350.1 MB Notification: Performance of Templates: time 0.04581/0.4205, allocations: 44.41 MB / 0.4994 GB, free: 8.227 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches