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.001136/0.001136, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001291/0.001291, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.362/1.362, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 49.64 kB / 301.3 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09184/0.09298, allocations: 49.45 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.223/0.316, allocations: 50.53 MB / 401.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009347/0.3254, allocations: 5.186 MB / 406.5 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004102/0.3259, allocations: 7.125 kB / 406.5 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.327, allocations: 248.8 kB / 406.7 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009644/0.328, allocations: 367.2 kB / 407.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02425/0.3522, allocations: 7.11 MB / 414.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001943/0.3542, allocations: 1.091 MB / 415.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.3546, allocations: 139.3 kB / 415.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008639/0.3632, allocations: 3.585 MB / 419 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009413/0.3642, allocations: 406.6 kB / 419.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.3644, allocations: 60 kB / 419.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02426/0.3887, allocations: 9.748 MB / 429.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005462/0.3893, allocations: 231.5 kB / 429.4 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006994/0.39, allocations: 306.8 kB / 429.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01688/0.4069, allocations: 5.497 MB / 435.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.407, allocations: 0 / 435.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.407, allocations: 0 / 435.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.407, allocations: 4 kB / 435.2 MB, free: 15.48 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.004423/0.4114, allocations: 1.354 MB / 436.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.731e-05/0.4115, allocations: 11.89 kB / 436.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005339/0.4121, allocations: 63.52 kB / 436.6 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/0.4128, allocations: 373.8 kB / 437 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.4128, allocations: 29 kB / 437 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.58e-05/0.4129, allocations: 48 kB / 437.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.4149, allocations: 0.5804 MB / 437.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.4149, allocations: 3.938 kB / 437.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.372e-05/0.415, allocations: 19.98 kB / 437.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.415, allocations: 12 kB / 437.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.4169, allocations: 0.7456 MB / 438.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01558/0.4325, allocations: 11.97 MB / 450.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.4338, allocations: 0.528 MB / 450.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/0.4342, allocations: 250.9 kB / 451.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0146/0.4488, allocations: 11.9 MB / 463.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.4489, allocations: 39 kB / 463.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.354e-06/0.4489, allocations: 0 / 463.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005755/0.4547, allocations: 2.122 MB / 465.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.4547, allocations: 55.97 kB / 465.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.4551, allocations: 326.8 kB / 465.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/0.4552, allocations: 37.7 kB / 465.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.4553, allocations: 196.4 kB / 465.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.4555, allocations: 193.2 kB / 466 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.4556, allocations: 118.1 kB / 466.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4558, allocations: 346.8 kB / 466.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.4562, allocations: 241 kB / 466.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006215/0.4568, allocations: 339.4 kB / 467.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.458, allocations: 0.6072 MB / 467.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.458, allocations: 4 kB / 467.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001785/0.4598, allocations: 0.7439 MB / 468.4 MB, free: 9.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4598, allocations: 4 kB / 468.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.4598, allocations: 5.438 kB / 468.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005044/0.4603, allocations: 110.7 kB / 468.5 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004896/0.4608, allocations: 123.8 kB / 468.6 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/0.4633, allocations: 3.477 MB / 472.1 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.4636, allocations: 16 kB / 472.1 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/0.4637, allocations: 35.98 kB / 472.2 MB, free: 5.5 MB / 382.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 (not torn): 1 * 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): 1 system {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.0002732/0.464, allocations: 189.6 kB / 472.4 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000303/0.4643, allocations: 47.61 kB / 472.4 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.4659, allocations: 0.8152 MB / 473.2 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4659, allocations: 4 kB / 473.2 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.4659, allocations: 0 / 473.2 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001096/0.467, allocations: 0.7635 MB / 474 MB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.4691, allocations: 1.309 MB / 475.3 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4691, allocations: 0 / 475.3 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.4696, allocations: 95.89 kB / 475.4 MB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009239/0.4705, allocations: 152.6 kB / 475.5 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.4706, allocations: 23.92 kB / 475.6 MB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004082/0.471, allocations: 0.6485 MB / 476.2 MB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.471, allocations: 0 / 476.2 MB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.4726, allocations: 0.9004 MB / 477.1 MB, free: 336 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.4728, allocations: 120.8 kB / 477.2 MB, free: 196 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.467e-05/0.4729, allocations: 15.94 kB / 477.2 MB, free: 180 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.4732, allocations: 19.98 kB / 477.3 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.4733, allocations: 36.38 kB / 477.3 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.4734, allocations: 27.98 kB / 477.3 MB, free: 96 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003097/0.4737, allocations: 253.9 kB / 477.6 MB, free: 15.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4737, allocations: 4 kB / 477.6 MB, free: 15.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003516/0.4772, allocations: 1.308 MB / 478.9 MB, free: 14.54 MB / 398.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 (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00526/0.4825, allocations: 1.692 MB / 480.6 MB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.4843, allocations: 0.8543 MB / 481.4 MB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4843, allocations: 0 / 481.4 MB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000563/0.4849, allocations: 287.2 kB / 481.7 MB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.4864, allocations: 284.8 kB / 482 MB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.4884, allocations: 1.138 MB / 483.1 MB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.4888, allocations: 0.8365 MB / 484 MB, free: 9.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.489, allocations: 71.41 kB / 484 MB, free: 9.285 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.489, allocations: 0 / 484 MB, free: 9.285 MB / 398.1 MB Notification: Performance of Templates: time 0.04729/0.5363, allocations: 33.84 MB / 0.5057 GB, free: 7.453 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches