Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001243, allocations: 112.1 kB / 16.62 MB, free: 6.812 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.001264/0.001264, allocations: 190 kB / 17.55 MB, free: 5.934 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.313/1.313, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009445/0.0009445, allocations: 47.39 kB / 300.1 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08005/0.08101, allocations: 49.45 MB / 349.6 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1997/0.2807, allocations: 65.32 MB / 414.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.291, allocations: 5.431 MB / 420.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005305/0.2916, allocations: 2.5 kB / 420.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.293, allocations: 313.7 kB / 420.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.2945, allocations: 495.8 kB / 421.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02535/0.3198, allocations: 6.733 MB / 427.9 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002603/0.3225, allocations: 1.551 MB / 429.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004706/0.3229, allocations: 220.7 kB / 429.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.3242, allocations: 0.6192 MB / 430.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009769/0.3252, allocations: 0.5956 MB / 430.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.3254, allocations: 84 kB / 430.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02389/0.3493, allocations: 10.18 MB / 441.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005652/0.3499, allocations: 319.2 kB / 441.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000825/0.3507, allocations: 442.4 kB / 441.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0177/0.3685, allocations: 6.077 MB / 447.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3685, allocations: 4 kB / 447.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3685, allocations: 0 / 447.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.3685, allocations: 0 / 447.9 MB, free: 2.086 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004833/0.3734, allocations: 1.557 MB / 449.5 MB, free: 492 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3735, allocations: 15.97 kB / 449.5 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006657/0.3741, allocations: 79.23 kB / 449.6 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000862/0.375, allocations: 437 kB / 450 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.3751, allocations: 45.31 kB / 450 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.3752, allocations: 60 kB / 450.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002796/0.378, allocations: 0.8185 MB / 450.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/0.3781, allocations: 3.906 kB / 450.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.3782, allocations: 28 kB / 450.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.3782, allocations: 16 kB / 451 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002989/0.3812, allocations: 1.028 MB / 452 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02565/0.4069, allocations: 12.77 MB / 464.8 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/0.4096, allocations: 0.7334 MB / 465.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009167/0.4105, allocations: 410.6 kB / 465.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0154/0.4259, allocations: 12.25 MB / 478.1 MB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.432e-05/0.4261, allocations: 51.16 kB / 478.2 MB, free: 15.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 3.527e-06/0.4261, allocations: 0 / 478.2 MB, free: 15.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.01031/0.4364, allocations: 3.374 MB / 481.6 MB, free: 11.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.4364, allocations: 68.34 kB / 481.6 MB, free: 11.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.4369, allocations: 356.5 kB / 482 MB, free: 11.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.881e-05/0.437, allocations: 41.7 kB / 482 MB, free: 11.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.4371, allocations: 240.6 kB / 482.3 MB, free: 10.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.4374, allocations: 303.6 kB / 482.6 MB, free: 10.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.4376, allocations: 166.5 kB / 482.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4378, allocations: 358.8 kB / 483.1 MB, free: 10.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006027/0.4384, allocations: 373.8 kB / 483.4 MB, free: 9.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009254/0.4393, allocations: 496.2 kB / 483.9 MB, free: 9.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.4411, allocations: 0.9059 MB / 484.8 MB, free: 8.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.4411, allocations: 0 / 484.8 MB, free: 8.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002596/0.4437, allocations: 1.117 MB / 485.9 MB, free: 7.203 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.4437, allocations: 11.94 kB / 486 MB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4438, allocations: 4 kB / 486 MB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008922/0.4447, allocations: 167.6 kB / 486.1 MB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000772/0.4454, allocations: 191.7 kB / 486.3 MB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003391/0.4488, allocations: 4.116 MB / 490.4 MB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005953/0.4495, allocations: 60.09 kB / 490.5 MB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.4496, allocations: 47.98 kB / 490.5 MB, free: 2.273 MB / 398.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems 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,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004059/0.45, allocations: 230.2 kB / 490.8 MB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004591/0.4505, allocations: 59.34 kB / 490.8 MB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.4528, allocations: 1.285 MB / 492.1 MB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.4529, allocations: 8 kB / 492.1 MB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4529, allocations: 0 / 492.1 MB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001899/0.4548, allocations: 1.324 MB / 493.4 MB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/0.4579, allocations: 1.975 MB / 495.4 MB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4579, allocations: 0 / 495.4 MB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/0.4587, allocations: 167.7 kB / 495.6 MB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/0.4605, allocations: 289.3 kB / 495.8 MB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/0.4606, allocations: 35.97 kB / 495.9 MB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000766/0.4614, allocations: 1.285 MB / 497.2 MB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.4614, allocations: 0 / 497.2 MB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/0.464, allocations: 1.421 MB / 498.6 MB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.4642, allocations: 124.6 kB / 498.7 MB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.4643, allocations: 23.98 kB / 498.7 MB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.4649, allocations: 51.81 kB / 498.8 MB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-05/0.465, allocations: 57.05 kB / 498.8 MB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.848e-05/0.4651, allocations: 47.97 kB / 498.9 MB, free: 9.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002992/0.4654, allocations: 283 kB / 499.2 MB, free: 9.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4654, allocations: 0 / 499.2 MB, free: 9.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003674/0.4691, allocations: 1.398 MB / 0.4888 GB, free: 7.902 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005748/0.4748, allocations: 1.73 MB / 0.4905 GB, free: 6.168 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002903/0.4778, allocations: 1.265 MB / 0.4918 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.4778, allocations: 4.125 kB / 0.4918 GB, free: 4.863 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009787/0.4788, allocations: 499.1 kB / 0.4922 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.4808, allocations: 399.8 kB / 0.4926 GB, free: 3.988 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.4838, allocations: 1.898 MB / 0.4945 GB, free: 2.055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.4843, allocations: 0.9166 MB / 0.4954 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008033/0.4851, allocations: 205.2 kB / 0.4956 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.4854, allocations: 75.42 kB / 0.4956 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4854, allocations: 0 / 0.4956 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of Templates: time 0.2097/0.6951, allocations: 49.8 MB / 0.5443 GB, free: 153.8 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches