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.0009907/0.0009907, allocations: 96.27 kB / 17.3 MB, free: 6.34 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.00127/0.00127, allocations: 177 kB / 18.2 MB, free: 5.527 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.386/1.386, allocations: 205.4 MB / 224.4 MB, free: 13.05 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.0004329/0.0004329, allocations: 12 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07993/0.08037, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2227/0.3031, allocations: 65.99 MB / 394.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006334/0.3095, allocations: 5.489 MB / 400.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000614/0.3101, allocations: 5.688 kB / 400.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000997/0.3112, allocations: 305.8 kB / 400.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.3124, allocations: 0.4987 MB / 401.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01491/0.3273, allocations: 5.904 MB / 407.1 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.3297, allocations: 2.307 MB / 409.4 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.33, allocations: 165.9 kB / 409.6 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000752/0.3308, allocations: 0.5202 MB / 410.1 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005895/0.3314, allocations: 0.5743 MB / 410.7 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.522e-05/0.3315, allocations: 41.38 kB / 410.7 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01591/0.3474, allocations: 10.27 MB / 421 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003966/0.3478, allocations: 272 kB / 421.3 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005634/0.3484, allocations: 410.6 kB / 421.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.3606, allocations: 5.976 MB / 427.7 MB, free: 176 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3606, allocations: 0 / 427.7 MB, free: 176 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3606, allocations: 0 / 427.7 MB, free: 176 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.3607, allocations: 0 / 427.7 MB, free: 176 kB / 318.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.003629/0.3643, allocations: 1.402 MB / 429.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3643, allocations: 8.031 kB / 429.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004027/0.3648, allocations: 91.17 kB / 429.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.3653, allocations: 436.3 kB / 429.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.3654, allocations: 49.31 kB / 429.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.583e-05/0.3655, allocations: 60 kB / 429.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.3672, allocations: 0.8107 MB / 430.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.3672, allocations: 3.906 kB / 430.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.578e-05/0.3673, allocations: 31.94 kB / 430.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.3673, allocations: 12 kB / 430.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.3692, allocations: 1.032 MB / 431.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.3855, allocations: 12.82 MB / 444.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.3873, allocations: 0.7641 MB / 445.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005715/0.3879, allocations: 411.3 kB / 445.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01428/0.4022, allocations: 12.3 MB / 457.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/0.4022, allocations: 43.59 kB / 457.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 4.679e-06/0.4023, allocations: 0 / 457.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.009695/0.412, allocations: 3.421 MB / 461.3 MB, free: 9.855 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.4121, allocations: 60.41 kB / 461.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004389/0.4125, allocations: 356.5 kB / 461.7 MB, free: 9.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/0.4126, allocations: 41.7 kB / 461.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.4127, allocations: 243.4 kB / 462 MB, free: 9.145 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.413, allocations: 305.6 kB / 462.3 MB, free: 8.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.4131, allocations: 81.61 kB / 462.4 MB, free: 8.762 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4132, allocations: 366.7 kB / 462.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/0.4138, allocations: 365.8 kB / 463.1 MB, free: 8.035 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008871/0.4147, allocations: 0.4885 MB / 463.6 MB, free: 7.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.4165, allocations: 0.8956 MB / 464.5 MB, free: 6.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4165, allocations: 4 kB / 464.5 MB, free: 6.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002526/0.419, allocations: 1.12 MB / 465.6 MB, free: 5.449 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.419, allocations: 10.66 kB / 465.6 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.419, allocations: 0 / 465.6 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007867/0.4198, allocations: 167.5 kB / 465.8 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.4206, allocations: 187.8 kB / 466 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.4235, allocations: 3.919 MB / 469.9 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/0.4241, allocations: 60 kB / 470 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.601e-05/0.4242, allocations: 43.98 kB / 470 MB, free: 0.7461 MB / 366.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.0004021/0.4246, allocations: 229.6 kB / 470.2 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003679/0.425, allocations: 67.28 kB / 470.3 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.4273, allocations: 1.274 MB / 471.6 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.4273, allocations: 8 kB / 471.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4273, allocations: 3.984 kB / 471.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001792/0.4291, allocations: 1.32 MB / 472.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.4322, allocations: 1.977 MB / 474.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4322, allocations: 3.984 kB / 474.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000679/0.4329, allocations: 163.8 kB / 475 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/0.4346, allocations: 309.1 kB / 475.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/0.4347, allocations: 31.98 kB / 475.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007283/0.4354, allocations: 1.291 MB / 476.7 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4354, allocations: 0 / 476.7 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.4379, allocations: 1.405 MB / 478.1 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.4381, allocations: 136.5 kB / 478.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.048e-05/0.4382, allocations: 27.92 kB / 478.2 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005896/0.4388, allocations: 55.91 kB / 478.3 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/0.4389, allocations: 56.86 kB / 478.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-05/0.439, allocations: 51.91 kB / 478.4 MB, free: 8.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002979/0.4393, allocations: 279 kB / 478.7 MB, free: 7.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4393, allocations: 0 / 478.7 MB, free: 7.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003521/0.4428, allocations: 1.394 MB / 480.1 MB, free: 6.375 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.00497/0.4478, allocations: 1.73 MB / 481.8 MB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.4499, allocations: 1.152 MB / 482.9 MB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4499, allocations: 7.938 kB / 482.9 MB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008787/0.4508, allocations: 495.9 kB / 483.4 MB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.4528, allocations: 366.3 kB / 483.8 MB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.4558, allocations: 2.044 MB / 485.8 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.4562, allocations: 0.9128 MB / 486.7 MB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008051/0.4571, allocations: 205.2 kB / 486.9 MB, free: 15.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.4573, allocations: 75.41 kB / 487 MB, free: 15.43 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4573, allocations: 4 kB / 487 MB, free: 15.43 MB / 398.1 MB Notification: Performance of Templates: time 0.06924/0.5265, allocations: 50.4 MB / 0.5248 GB, free: 12.98 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