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.001032/0.001032, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001041/0.001041, allocations: 195 kB / 18 MB, free: 5.074 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.303/1.303, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009771/0.0009772, allocations: 47.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2377, allocations: 49.43 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05024/0.2879, allocations: 50.55 MB / 451.3 MB, free: 6.152 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006004/0.294, allocations: 5.195 MB / 456.5 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003452/0.2943, allocations: 7.938 kB / 456.5 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008356/0.2952, allocations: 238.6 kB / 456.7 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008135/0.2961, allocations: 369.9 kB / 457.1 MB, free: 340 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01655/0.3126, allocations: 7.112 MB / 464.2 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.3138, allocations: 1.091 MB / 465.3 MB, free: 8.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.3141, allocations: 153.5 kB / 465.4 MB, free: 7.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006093/0.3202, allocations: 3.593 MB / 469 MB, free: 4.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005451/0.3207, allocations: 398.7 kB / 469.4 MB, free: 3.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.724e-05/0.3208, allocations: 56 kB / 469.5 MB, free: 3.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01667/0.3375, allocations: 9.928 MB / 479.4 MB, free: 9.988 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.3379, allocations: 223.5 kB / 479.6 MB, free: 9.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004089/0.3383, allocations: 306.9 kB / 479.9 MB, free: 9.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.3487, allocations: 5.515 MB / 485.4 MB, free: 3.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3487, allocations: 0 / 485.4 MB, free: 3.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3487, allocations: 4 kB / 485.4 MB, free: 3.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.3488, allocations: 0 / 485.4 MB, free: 3.938 MB / 398.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.003163/0.3519, allocations: 1.395 MB / 486.8 MB, free: 2.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.352, allocations: 15.89 kB / 486.8 MB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.3523, allocations: 59.7 kB / 486.9 MB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000484/0.3528, allocations: 374.2 kB / 487.3 MB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.3529, allocations: 29 kB / 487.3 MB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.867e-05/0.3529, allocations: 44 kB / 487.3 MB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.3542, allocations: 0.592 MB / 487.9 MB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.3543, allocations: 4 kB / 487.9 MB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.3543, allocations: 16 kB / 487.9 MB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.3543, allocations: 12 kB / 488 MB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.3557, allocations: 0.7456 MB / 488.7 MB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01538/0.3711, allocations: 11.96 MB / 0.4889 GB, free: 2.523 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.3724, allocations: 0.5236 MB / 0.4894 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003704/0.3728, allocations: 259.5 kB / 0.4897 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01383/0.3867, allocations: 11.9 MB / 0.5013 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.3867, allocations: 43 kB / 0.5013 GB, free: 3.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.575e-06/0.3867, allocations: 0 / 0.5013 GB, free: 3.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005724/0.3925, allocations: 2.136 MB / 0.5034 GB, free: 1.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.3925, allocations: 59.97 kB / 0.5035 GB, free: 1.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.3929, allocations: 319 kB / 0.5038 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.3929, allocations: 37.7 kB / 0.5038 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3931, allocations: 200.7 kB / 0.504 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.3932, allocations: 198.3 kB / 0.5042 GB, free: 436 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.3934, allocations: 118.2 kB / 0.5043 GB, free: 312 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3935, allocations: 346.8 kB / 0.5047 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.3939, allocations: 237 kB / 0.5049 GB, free: 15.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006383/0.3946, allocations: 339.3 kB / 0.5052 GB, free: 15.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.3957, allocations: 0.5995 MB / 0.5058 GB, free: 14.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3957, allocations: 0 / 0.5058 GB, free: 14.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001816/0.3976, allocations: 0.76 MB / 0.5065 GB, free: 13.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3976, allocations: 15.94 kB / 0.5065 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.3976, allocations: 7.938 kB / 0.5066 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004773/0.3981, allocations: 98.52 kB / 0.5066 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.3986, allocations: 131.7 kB / 0.5068 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.4011, allocations: 3.48 MB / 0.5102 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.4014, allocations: 12 kB / 0.5102 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/0.4015, allocations: 35.98 kB / 0.5102 GB, free: 9.859 MB / 446.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.0002491/0.4017, allocations: 189.6 kB / 0.5104 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.402, allocations: 43.77 kB / 0.5104 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.4036, allocations: 0.823 MB / 0.5112 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4036, allocations: 4 kB / 0.5112 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4036, allocations: 8 kB / 0.5113 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/0.4047, allocations: 0.7596 MB / 0.512 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.4067, allocations: 1.293 MB / 0.5133 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4067, allocations: 4.062 kB / 0.5133 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.4072, allocations: 103.9 kB / 0.5134 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009318/0.4081, allocations: 152.5 kB / 0.5135 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.4082, allocations: 23.94 kB / 0.5135 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003898/0.4086, allocations: 0.6368 MB / 0.5142 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4086, allocations: 0 / 0.5142 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.4102, allocations: 0.9134 MB / 0.515 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.4103, allocations: 117 kB / 0.5152 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.069e-05/0.4104, allocations: 12 kB / 0.5152 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.4108, allocations: 27.97 kB / 0.5152 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.4109, allocations: 32.39 kB / 0.5152 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.869e-05/0.4109, allocations: 27.97 kB / 0.5153 GB, free: 4.453 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002774/0.4112, allocations: 253.9 kB / 0.5155 GB, free: 4.203 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.4112, allocations: 4 kB / 0.5155 GB, free: 4.199 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003131/0.4144, allocations: 1.337 MB / 0.5168 GB, free: 2.859 MB / 446.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.004982/0.4193, allocations: 1.697 MB / 0.5185 GB, free: 1.156 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.4209, allocations: 0.8114 MB / 0.5193 GB, free: 320 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.4209, allocations: 4 kB / 0.5193 GB, free: 316 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005432/0.4214, allocations: 291.9 kB / 0.5195 GB, free: 24 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.4228, allocations: 275.4 kB / 0.5198 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.4246, allocations: 1.085 MB / 0.5209 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.425, allocations: 0.8443 MB / 0.5217 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004614/0.4255, allocations: 144.4 kB / 0.5218 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.4257, allocations: 59.42 kB / 0.5219 GB, free: 13.57 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4257, allocations: 0 / 0.5219 GB, free: 13.57 MB / 462.1 MB Notification: Performance of Templates: time 0.2156/0.6413, allocations: 44.99 MB / 0.5658 GB, free: 114.8 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/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