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.001318/0.001317, allocations: 103.8 kB / 16.92 MB, free: 5.855 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.001533/0.001533, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.308/1.308, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 47.97 kB / 300.6 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08556/0.08663, allocations: 49.45 MB / 350 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2021/0.2888, allocations: 65.58 MB / 415.6 MB, free: 468 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006445/0.2953, allocations: 5.45 MB / 421.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002887/0.2956, allocations: 4.719 kB / 421.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008815/0.2965, allocations: 344.6 kB / 421.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007828/0.2973, allocations: 0.5144 MB / 421.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01648/0.3138, allocations: 7.413 MB / 429.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.3154, allocations: 1.555 MB / 430.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003025/0.3157, allocations: 213.3 kB / 431.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007551/0.3165, allocations: 0.623 MB / 431.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000677/0.3172, allocations: 0.5722 MB / 432.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.3173, allocations: 87.94 kB / 432.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01615/0.3335, allocations: 10.03 MB / 442.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003898/0.3339, allocations: 323.2 kB / 442.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005382/0.3345, allocations: 434.4 kB / 443.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.346, allocations: 5.937 MB / 449.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3461, allocations: 0 / 449.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3461, allocations: 0 / 449.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.3461, allocations: 4 kB / 449.1 MB, free: 0.8906 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.003429/0.3496, allocations: 1.557 MB / 450.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3496, allocations: 12.03 kB / 450.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004422/0.3501, allocations: 83.23 kB / 450.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005814/0.3506, allocations: 440.8 kB / 451.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.3507, allocations: 45.31 kB / 451.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.656e-05/0.3508, allocations: 60 kB / 451.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.3525, allocations: 0.8156 MB / 452.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.3525, allocations: 3.906 kB / 452.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-05/0.3526, allocations: 28 kB / 452.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.3526, allocations: 12 kB / 452.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.3544, allocations: 1.036 MB / 453.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01627/0.3707, allocations: 12.79 MB / 466 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.3724, allocations: 0.7412 MB / 466.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005602/0.3729, allocations: 403.3 kB / 467.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0143/0.3872, allocations: 12.24 MB / 479.3 MB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.3873, allocations: 55.16 kB / 479.4 MB, free: 13.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 2.786e-06/0.3873, allocations: 0 / 479.4 MB, free: 13.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.009697/0.397, allocations: 3.38 MB / 482.8 MB, free: 10.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.3971, allocations: 60.41 kB / 482.8 MB, free: 10.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.3975, allocations: 356.5 kB / 483.2 MB, free: 10.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.224e-05/0.3976, allocations: 45.64 kB / 483.2 MB, free: 10.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.3978, allocations: 240.6 kB / 483.5 MB, free: 9.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.398, allocations: 303.6 kB / 483.8 MB, free: 9.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.3983, allocations: 166.5 kB / 483.9 MB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3984, allocations: 358.8 kB / 484.3 MB, free: 8.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005869/0.399, allocations: 373.8 kB / 484.6 MB, free: 8.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008994/0.3999, allocations: 492.2 kB / 485.1 MB, free: 8.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.4016, allocations: 0.8982 MB / 486 MB, free: 7.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4016, allocations: 0 / 486 MB, free: 7.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002535/0.4042, allocations: 1.121 MB / 487.1 MB, free: 5.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.4042, allocations: 11.88 kB / 487.1 MB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4042, allocations: 4 kB / 487.1 MB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008411/0.4051, allocations: 171.4 kB / 487.3 MB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007613/0.4059, allocations: 191.7 kB / 487.5 MB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/0.4087, allocations: 4.12 MB / 491.6 MB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004025/0.4092, allocations: 16 kB / 491.6 MB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.891e-05/0.4093, allocations: 43.98 kB / 491.7 MB, free: 1.094 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.0003305/0.4096, allocations: 226.2 kB / 491.9 MB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/0.41, allocations: 67.61 kB / 492 MB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.4124, allocations: 1.288 MB / 493.3 MB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.4124, allocations: 8 kB / 493.3 MB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4124, allocations: 0 / 493.3 MB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001733/0.4142, allocations: 1.316 MB / 494.6 MB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/0.4172, allocations: 1.975 MB / 496.6 MB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4172, allocations: 0 / 496.6 MB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007029/0.418, allocations: 163.8 kB / 496.7 MB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.4198, allocations: 301.3 kB / 497 MB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.121e-05/0.4199, allocations: 27.98 kB / 497 MB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007204/0.4206, allocations: 1.289 MB / 498.3 MB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4206, allocations: 0 / 498.3 MB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.4231, allocations: 1.421 MB / 499.7 MB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.4232, allocations: 124.6 kB / 499.9 MB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.4234, allocations: 20 kB / 499.9 MB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.4239, allocations: 23.98 kB / 499.9 MB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.424, allocations: 60.92 kB / 500 MB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.67e-05/0.4241, allocations: 43.97 kB / 0.4883 GB, free: 8.418 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002997/0.4244, allocations: 283 kB / 0.4886 GB, free: 8.145 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4244, allocations: 0 / 0.4886 GB, free: 8.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003504/0.4279, allocations: 1.405 MB / 0.4899 GB, free: 6.738 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.005697/0.4336, allocations: 1.74 MB / 0.4916 GB, free: 5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.4362, allocations: 1.261 MB / 0.4929 GB, free: 3.707 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.4363, allocations: 0 / 0.4929 GB, free: 3.707 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008995/0.4372, allocations: 0.492 MB / 0.4933 GB, free: 3.207 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.4391, allocations: 389.8 kB / 0.4937 GB, free: 2.828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.4419, allocations: 1.666 MB / 0.4953 GB, free: 1.137 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.4424, allocations: 0.9166 MB / 0.4962 GB, free: 200 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007487/0.4431, allocations: 205.2 kB / 0.4964 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.4433, allocations: 83.3 kB / 0.4965 GB, free: 15.91 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4433, allocations: 0 / 0.4965 GB, free: 15.91 MB / 430.1 MB Notification: Performance of Templates: time 0.2072/0.6505, allocations: 49.89 MB / 0.5452 GB, free: 152.6 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