Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.00106/0.001061, allocations: 108.4 kB / 18.34 MB, free: 4.73 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.001049/0.001049, allocations: 191 kB / 19.28 MB, free: 3.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 51.94 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07332/0.07459, allocations: 46.62 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2055/0.2801, allocations: 65.72 MB / 394.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005744/0.2859, allocations: 5.466 MB / 399.9 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002575/0.2862, allocations: 8.844 kB / 399.9 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008352/0.2871, allocations: 358.8 kB / 400.3 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007347/0.2878, allocations: 0.5078 MB / 400.8 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01435/0.3022, allocations: 7.073 MB / 407.8 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.3039, allocations: 1.551 MB / 409.4 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.3042, allocations: 215 kB / 409.6 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006495/0.3048, allocations: 0.6226 MB / 410.2 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005452/0.3054, allocations: 0.5625 MB / 410.8 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.921e-05/0.3055, allocations: 82.94 kB / 410.9 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0151/0.3206, allocations: 10.09 MB / 421 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.321, allocations: 324.8 kB / 421.3 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005281/0.3215, allocations: 440 kB / 421.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009693/0.3312, allocations: 5.92 MB / 427.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3312, allocations: 0 / 427.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3312, allocations: 0 / 427.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3312, allocations: 0 / 427.6 MB, free: 14.44 MB / 334.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.003102/0.3344, allocations: 1.551 MB / 429.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3344, allocations: 8.031 kB / 429.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004279/0.3348, allocations: 87.8 kB / 429.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006466/0.3355, allocations: 447 kB / 429.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.3355, allocations: 45.31 kB / 429.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.459e-05/0.3356, allocations: 64 kB / 429.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.3373, allocations: 0.8068 MB / 430.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.3373, allocations: 7.906 kB / 430.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.944e-05/0.3374, allocations: 28 kB / 430.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.3374, allocations: 22.05 kB / 430.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.3393, allocations: 1.028 MB / 431.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01681/0.3561, allocations: 12.78 MB / 444.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.3578, allocations: 0.7451 MB / 445.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005653/0.3584, allocations: 414.2 kB / 445.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0143/0.3727, allocations: 12.25 MB / 457.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.3728, allocations: 47.22 kB / 457.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.565e-06/0.3728, allocations: 0 / 457.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.009352/0.3822, allocations: 3.37 MB / 461.3 MB, free: 8.129 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.3822, allocations: 64.41 kB / 461.4 MB, free: 8.051 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004672/0.3827, allocations: 356.5 kB / 461.7 MB, free: 7.699 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.153e-05/0.3828, allocations: 41.7 kB / 461.7 MB, free: 7.652 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.3829, allocations: 240.6 kB / 462 MB, free: 7.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.3832, allocations: 302.2 kB / 462.3 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.3834, allocations: 162.5 kB / 462.4 MB, free: 6.953 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3835, allocations: 362.7 kB / 462.8 MB, free: 6.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/0.3841, allocations: 377.8 kB / 463.2 MB, free: 6.219 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008976/0.385, allocations: 492.2 kB / 463.6 MB, free: 5.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.3868, allocations: 0.9095 MB / 464.5 MB, free: 4.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3868, allocations: 4 kB / 464.5 MB, free: 4.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002531/0.3893, allocations: 1.105 MB / 465.7 MB, free: 3.637 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3893, allocations: 15.92 kB / 465.7 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3894, allocations: 4 kB / 465.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008084/0.3902, allocations: 163.6 kB / 465.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007625/0.3909, allocations: 199.7 kB / 466 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/0.3936, allocations: 4.109 MB / 470.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.394, allocations: 24.03 kB / 470.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.266e-05/0.3941, allocations: 47.97 kB / 470.2 MB, free: 14.74 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 (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.0003253/0.3944, allocations: 221.6 kB / 470.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003871/0.3948, allocations: 67.53 kB / 470.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.3971, allocations: 1.273 MB / 471.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.3971, allocations: 12 kB / 471.8 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.3971, allocations: 0 / 471.8 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001741/0.3989, allocations: 1.32 MB / 473.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/0.4019, allocations: 1.97 MB / 475.1 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4019, allocations: 3.938 kB / 475.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/0.4027, allocations: 163.8 kB / 475.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001807/0.4045, allocations: 293.3 kB / 475.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.969e-05/0.4046, allocations: 27.98 kB / 475.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007125/0.4053, allocations: 1.289 MB / 476.8 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4053, allocations: 0 / 476.8 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.4078, allocations: 1.425 MB / 478.3 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.4079, allocations: 120.6 kB / 478.4 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.722e-05/0.408, allocations: 24 kB / 478.4 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005112/0.4086, allocations: 31.97 kB / 478.4 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/0.4087, allocations: 56.92 kB / 478.5 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.828e-05/0.4088, allocations: 43.97 kB / 478.5 MB, free: 6.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002904/0.4091, allocations: 279 kB / 478.8 MB, free: 5.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4091, allocations: 0 / 478.8 MB, free: 5.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003233/0.4123, allocations: 1.394 MB / 480.2 MB, free: 4.434 MB / 382.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.004565/0.4169, allocations: 1.745 MB / 481.9 MB, free: 2.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002/0.4189, allocations: 1.16 MB / 483.1 MB, free: 1.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4189, allocations: 0 / 483.1 MB, free: 1.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008653/0.4198, allocations: 0.4959 MB / 483.6 MB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.4215, allocations: 386.1 kB / 484 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.424, allocations: 1.645 MB / 485.6 MB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.4245, allocations: 0.9167 MB / 486.5 MB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000643/0.4251, allocations: 205.1 kB / 486.7 MB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.4254, allocations: 83.41 kB / 486.8 MB, free: 13.85 MB / 398.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4254, allocations: 0 / 486.8 MB, free: 13.85 MB / 398.1 MB Notification: Performance of Templates: time 0.06433/0.4897, allocations: 51.23 MB / 0.5254 GB, free: 10.56 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches