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.001452/0.001452, allocations: 111.7 kB / 17.28 MB, free: 6.199 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.001686/0.001686, allocations: 189.3 kB / 18.2 MB, free: 5.277 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.334/1.334, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001112/0.001112, allocations: 52.14 kB / 280.1 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07986/0.08098, allocations: 46.63 MB / 326.8 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2133/0.2943, allocations: 65.48 MB / 392.3 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005597/0.2999, allocations: 5.45 MB / 397.7 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002756/0.3002, allocations: 8.062 kB / 397.7 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008632/0.3012, allocations: 312.3 kB / 398 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000735/0.3019, allocations: 493.4 kB / 398.5 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01495/0.3169, allocations: 6.389 MB / 404.9 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001879/0.3188, allocations: 1.552 MB / 406.4 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/0.3191, allocations: 214.5 kB / 406.7 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000821/0.3199, allocations: 0.632 MB / 407.3 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006009/0.3205, allocations: 0.5881 MB / 407.9 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.3206, allocations: 83.41 kB / 408 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/0.3354, allocations: 10.07 MB / 418 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004404/0.3359, allocations: 337 kB / 418.4 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005841/0.3365, allocations: 433.2 kB / 418.8 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.3483, allocations: 6.055 MB / 424.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3484, allocations: 0 / 424.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.3484, allocations: 0 / 424.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.3484, allocations: 3.938 kB / 424.8 MB, free: 15.41 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.00343/0.3519, allocations: 1.543 MB / 426.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3519, allocations: 8.031 kB / 426.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004301/0.3523, allocations: 83.8 kB / 426.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005441/0.3529, allocations: 442.4 kB / 426.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/0.3529, allocations: 53.25 kB / 426.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.3531, allocations: 60 kB / 427 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.3548, allocations: 0.8107 MB / 427.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.3548, allocations: 11.84 kB / 427.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/0.3549, allocations: 27.98 kB / 427.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.3549, allocations: 16 kB / 427.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.3567, allocations: 1.024 MB / 428.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.3733, allocations: 12.78 MB / 441.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.375, allocations: 0.741 MB / 442.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/0.3756, allocations: 419.9 kB / 442.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01467/0.3903, allocations: 12.24 MB / 455.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.3904, allocations: 43.59 kB / 455.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.274e-06/0.3904, allocations: 3.938 kB / 455.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.009609/0.4, allocations: 3.387 MB / 458.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.4001, allocations: 64.41 kB / 458.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.4005, allocations: 352.5 kB / 458.9 MB, free: 8.676 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-05/0.4006, allocations: 41.7 kB / 458.9 MB, free: 8.629 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.4007, allocations: 248.5 kB / 459.2 MB, free: 8.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.4009, allocations: 301.7 kB / 459.5 MB, free: 8.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.4012, allocations: 166.5 kB / 459.6 MB, free: 7.922 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4014, allocations: 362.8 kB / 460 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/0.402, allocations: 373.8 kB / 460.4 MB, free: 7.191 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008749/0.4028, allocations: 488.2 kB / 460.8 MB, free: 6.684 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.4045, allocations: 0.9021 MB / 461.7 MB, free: 5.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4045, allocations: 4 kB / 461.7 MB, free: 5.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002493/0.407, allocations: 1.105 MB / 462.9 MB, free: 4.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.407, allocations: 16.22 kB / 462.9 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4071, allocations: 3.938 kB / 462.9 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008088/0.4079, allocations: 171.8 kB / 463 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007374/0.4086, allocations: 187.8 kB / 463.2 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.4114, allocations: 4.123 MB / 467.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/0.4119, allocations: 63.91 kB / 467.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.373e-05/0.412, allocations: 43.98 kB / 467.5 MB, free: 15.68 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.0003463/0.4124, allocations: 225.6 kB / 467.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003689/0.4128, allocations: 67.28 kB / 467.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.4151, allocations: 1.277 MB / 469 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4151, allocations: 16 kB / 469 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.4151, allocations: 0 / 469 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001759/0.4169, allocations: 1.316 MB / 470.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/0.4199, allocations: 1.973 MB / 472.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.4199, allocations: 0 / 472.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007059/0.4207, allocations: 167.8 kB / 472.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/0.4225, allocations: 285.3 kB / 472.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.049e-05/0.4226, allocations: 27.98 kB / 472.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007636/0.4233, allocations: 1.297 MB / 474.1 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4233, allocations: 0 / 474.1 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.4258, allocations: 1.421 MB / 475.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.426, allocations: 124.5 kB / 475.6 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.4261, allocations: 24.05 kB / 475.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.4267, allocations: 59.94 kB / 475.7 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.4268, allocations: 52.92 kB / 475.8 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.353e-05/0.4269, allocations: 43.97 kB / 475.8 MB, free: 7.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002898/0.4272, allocations: 283 kB / 476.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4272, allocations: 0 / 476.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003726/0.4309, allocations: 1.398 MB / 477.5 MB, free: 5.336 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.005181/0.4361, allocations: 1.733 MB / 479.2 MB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002572/0.4387, allocations: 1.269 MB / 480.5 MB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.4387, allocations: 0 / 480.5 MB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008547/0.4396, allocations: 499.2 kB / 481 MB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.4414, allocations: 394.3 kB / 481.4 MB, free: 1.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.4442, allocations: 1.915 MB / 483.3 MB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.4447, allocations: 0.9089 MB / 484.2 MB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007576/0.4454, allocations: 205.2 kB / 484.4 MB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.4456, allocations: 79.41 kB / 484.5 MB, free: 14.39 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4457, allocations: 0 / 484.5 MB, free: 14.39 MB / 398.1 MB Notification: Performance of Templates: time 0.06561/0.5113, allocations: 51.22 MB / 0.5231 GB, free: 11.11 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches