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.001214/0.001214, allocations: 108 kB / 17.16 MB, free: 6.082 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.001265/0.001265, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.343/1.343, allocations: 222.9 MB / 241.8 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 55.39 kB / 300.6 MB, free: 6.301 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09661/0.0982, allocations: 49.44 MB / 350 MB, free: 4.855 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.238/0.3363, allocations: 67.13 MB / 417.2 MB, free: 424 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006836/0.3431, allocations: 5.543 MB / 422.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/0.3436, allocations: 5.281 kB / 422.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.3447, allocations: 311.8 kB / 423 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009282/0.3457, allocations: 0.4941 MB / 423.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0193/0.365, allocations: 6.266 MB / 429.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002744/0.3677, allocations: 2.308 MB / 432.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.3681, allocations: 165.4 kB / 432.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.3691, allocations: 0.5293 MB / 432.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00076/0.3699, allocations: 0.5878 MB / 433.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.37, allocations: 40 kB / 433.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01995/0.3899, allocations: 10.37 MB / 443.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005219/0.3905, allocations: 283.2 kB / 444.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007115/0.3912, allocations: 390.5 kB / 444.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009629/0.4009, allocations: 4.121 MB / 448.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.4009, allocations: 0 / 448.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4009, allocations: 0 / 448.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.124e-05/0.401, allocations: 0 / 448.6 MB, free: 2.402 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.004644/0.4056, allocations: 1.565 MB / 450.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.4057, allocations: 12.03 kB / 450.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005267/0.4062, allocations: 79.23 kB / 450.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006745/0.4069, allocations: 444.8 kB / 450.7 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.407, allocations: 45.31 kB / 450.7 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.48e-05/0.4071, allocations: 60 kB / 450.8 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.4089, allocations: 0.8146 MB / 451.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.4089, allocations: 7.844 kB / 451.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.76e-05/0.409, allocations: 32 kB / 451.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.409, allocations: 16 kB / 451.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.4109, allocations: 1.024 MB / 452.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/0.4285, allocations: 12.77 MB / 465.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.4303, allocations: 0.7384 MB / 466.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006096/0.431, allocations: 411.2 kB / 466.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01454/0.4455, allocations: 12.25 MB / 478.8 MB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.4456, allocations: 47.22 kB / 478.9 MB, free: 15.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 3.056e-06/0.4456, allocations: 0 / 478.9 MB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.009917/0.4556, allocations: 3.378 MB / 482.2 MB, free: 12.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.4556, allocations: 64.34 kB / 482.3 MB, free: 11.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.456, allocations: 356.5 kB / 482.6 MB, free: 11.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.4561, allocations: 41.7 kB / 482.7 MB, free: 11.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.4563, allocations: 240.6 kB / 482.9 MB, free: 11.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.4565, allocations: 311.6 kB / 483.2 MB, free: 10.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.4568, allocations: 162.5 kB / 483.4 MB, free: 10.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4569, allocations: 362.8 kB / 483.7 MB, free: 10.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/0.4575, allocations: 369.8 kB / 484.1 MB, free: 10.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008999/0.4584, allocations: 492.2 kB / 484.6 MB, free: 9.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.4601, allocations: 0.9059 MB / 485.5 MB, free: 8.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4601, allocations: 0 / 485.5 MB, free: 8.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002646/0.4628, allocations: 1.121 MB / 486.6 MB, free: 7.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.4628, allocations: 11.88 kB / 486.6 MB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.4629, allocations: 4 kB / 486.6 MB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008464/0.4637, allocations: 163.3 kB / 486.8 MB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007682/0.4645, allocations: 191.8 kB / 487 MB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/0.4672, allocations: 3.912 MB / 490.9 MB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000591/0.4678, allocations: 59.94 kB / 490.9 MB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.4679, allocations: 43.98 kB / 491 MB, free: 2.797 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.0003657/0.4683, allocations: 226.2 kB / 491.2 MB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004107/0.4687, allocations: 63.44 kB / 491.3 MB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.4711, allocations: 1.292 MB / 492.6 MB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.4711, allocations: 8 kB / 492.6 MB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4711, allocations: 3.984 kB / 492.6 MB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001787/0.4729, allocations: 1.316 MB / 493.9 MB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/0.4761, allocations: 1.963 MB / 495.8 MB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.4762, allocations: 8 kB / 495.9 MB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007269/0.4769, allocations: 163.8 kB / 496 MB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001821/0.4787, allocations: 305.1 kB / 496.3 MB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.297e-05/0.4788, allocations: 23.98 kB / 496.3 MB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007365/0.4796, allocations: 1.293 MB / 497.6 MB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4796, allocations: 0 / 497.6 MB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/0.4822, allocations: 1.413 MB / 499 MB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.4824, allocations: 124.6 kB / 499.2 MB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.4825, allocations: 23.92 kB / 499.2 MB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006446/0.4832, allocations: 59.75 kB / 499.2 MB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.4833, allocations: 56.92 kB / 499.3 MB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.4834, allocations: 43.97 kB / 499.3 MB, free: 10.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003092/0.4837, allocations: 283 kB / 499.6 MB, free: 9.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4837, allocations: 0 / 499.6 MB, free: 9.816 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00382/0.4875, allocations: 1.398 MB / 0.4893 GB, free: 8.418 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.006225/0.4938, allocations: 1.726 MB / 0.491 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002281/0.4961, allocations: 1.148 MB / 0.4921 GB, free: 5.512 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.4961, allocations: 4 kB / 0.4921 GB, free: 5.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009216/0.497, allocations: 487.1 kB / 0.4926 GB, free: 5.027 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/0.499, allocations: 382.1 kB / 0.4929 GB, free: 4.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.502, allocations: 1.956 MB / 0.4948 GB, free: 2.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.5025, allocations: 0.9128 MB / 0.4957 GB, free: 1.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.5028, allocations: 95.34 kB / 0.4958 GB, free: 1.629 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5028, allocations: 0 / 0.4958 GB, free: 1.629 MB / 414.1 MB Notification: Performance of Templates: time 0.2128/0.7156, allocations: 40.8 MB / 0.5356 GB, free: 157.8 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/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