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.001297/0.001297, allocations: 108.6 kB / 17.74 MB, free: 5.176 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.001269/0.001269, allocations: 184.3 kB / 18.68 MB, free: 4.25 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009686/0.0009686, allocations: 47.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1989, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06256/0.2615, allocations: 65.58 MB / 467 MB, free: 7.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006229/0.2678, allocations: 5.453 MB / 472.5 MB, free: 1.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.268, allocations: 7.938 kB / 472.5 MB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000876/0.2689, allocations: 362 kB / 472.8 MB, free: 1.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008015/0.2697, allocations: 0.5127 MB / 473.3 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01627/0.286, allocations: 7.449 MB / 480.8 MB, free: 9.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.2876, allocations: 1.551 MB / 482.3 MB, free: 7.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.288, allocations: 224.7 kB / 482.6 MB, free: 7.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008967/0.2889, allocations: 0.6269 MB / 483.2 MB, free: 6.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007151/0.2896, allocations: 0.5761 MB / 483.8 MB, free: 6.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.2897, allocations: 84 kB / 483.8 MB, free: 6.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01579/0.3055, allocations: 10.2 MB / 494 MB, free: 11.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003389/0.3059, allocations: 323.2 kB / 494.4 MB, free: 11.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004938/0.3064, allocations: 434.4 kB / 494.8 MB, free: 11.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009025/0.3154, allocations: 5.951 MB / 0.489 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3155, allocations: 3.984 kB / 0.489 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3155, allocations: 0 / 0.489 GB, free: 5.273 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.476e-05/0.3155, allocations: 0 / 0.489 GB, free: 5.273 MB / 414.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.003346/0.3188, allocations: 1.605 MB / 0.4906 GB, free: 3.613 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3189, allocations: 8.031 kB / 0.4906 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004286/0.3193, allocations: 87.56 kB / 0.4907 GB, free: 3.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.3199, allocations: 460.9 kB / 0.4911 GB, free: 3.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.32, allocations: 49.31 kB / 0.4911 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.3201, allocations: 60 kB / 0.4912 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.3218, allocations: 0.8068 MB / 0.492 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.3218, allocations: 4 kB / 0.492 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/0.3219, allocations: 24 kB / 0.492 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.3219, allocations: 16 kB / 0.492 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.3238, allocations: 1.032 MB / 0.493 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01678/0.3406, allocations: 12.79 MB / 0.5055 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.3424, allocations: 0.7451 MB / 0.5063 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005804/0.343, allocations: 403.9 kB / 0.5066 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01489/0.3579, allocations: 12.24 MB / 0.5186 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.3579, allocations: 47.22 kB / 0.5186 GB, free: 2.273 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.485e-06/0.3579, allocations: 4 kB / 0.5186 GB, free: 2.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009616/0.3676, allocations: 3.381 MB / 0.5219 GB, free: 14.79 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.3676, allocations: 60.41 kB / 0.522 GB, free: 14.72 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.368, allocations: 364.4 kB / 0.5224 GB, free: 14.36 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.371e-05/0.3681, allocations: 45.7 kB / 0.5224 GB, free: 14.31 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.3683, allocations: 241.2 kB / 0.5226 GB, free: 14.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.3685, allocations: 321.2 kB / 0.5229 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/0.3688, allocations: 162.6 kB / 0.5231 GB, free: 13.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3689, allocations: 358.8 kB / 0.5234 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005912/0.3695, allocations: 369.8 kB / 0.5238 GB, free: 12.87 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009599/0.3705, allocations: 0.4923 MB / 0.5243 GB, free: 12.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/0.3723, allocations: 0.8982 MB / 0.5251 GB, free: 11.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3723, allocations: 0 / 0.5251 GB, free: 11.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002666/0.375, allocations: 1.125 MB / 0.5262 GB, free: 10.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.375, allocations: 7.938 kB / 0.5262 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.375, allocations: 4 kB / 0.5263 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008242/0.3758, allocations: 171.6 kB / 0.5264 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007896/0.3766, allocations: 187.7 kB / 0.5266 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.3795, allocations: 4.128 MB / 0.5306 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.3799, allocations: 16 kB / 0.5306 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.474e-05/0.38, allocations: 43.98 kB / 0.5307 GB, free: 5.375 MB / 462.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.0002999/0.3803, allocations: 225.6 kB / 0.5309 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/0.3807, allocations: 63.61 kB / 0.531 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.3832, allocations: 1.281 MB / 0.5322 GB, free: 3.766 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001874/0.3851, allocations: 1.327 MB / 0.5335 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3851, allocations: 0 / 0.5335 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.3852, allocations: 124.8 kB / 0.5336 GB, free: 2.164 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-05/0.3853, allocations: 24 kB / 0.5336 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/0.3858, allocations: 31.97 kB / 0.5337 GB, free: 2.109 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.743e-05/0.3859, allocations: 52.92 kB / 0.5337 GB, free: 2.059 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002263/0.3882, allocations: 1.015 MB / 0.5347 GB, free: 1.031 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1636/0.5518, allocations: 1.42 MB / 0.5361 GB, free: 138.7 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007837/0.5526, allocations: 399.1 kB / 0.5365 GB, free: 138.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003325/0.5529, allocations: 277.1 kB / 0.5367 GB, free: 138.6 MB / 462.1 MB Notification: Performance of Backend: time 4.71e-07/0.5529, allocations: 0 / 0.5367 GB, free: 138.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007333/0.5603, allocations: 2.757 MB / 0.5394 GB, free: 138.2 MB / 462.1 MB Notification: Performance of SimCode: time 0.002051/0.5623, allocations: 1.911 MB / 0.5413 GB, free: 137.1 MB / 462.1 MB Notification: Performance of Templates: time 0.0481/0.6104, allocations: 52.97 MB / 0.593 GB, free: 88.89 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/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