Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001426/0.001426, allocations: 173.4 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.6 MB / 222.4 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008809/0.0008812, allocations: 88.28 kB / 270.8 MB, free: 8.129 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3472/0.3472, allocations: 43.67 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002824, allocations: 8 kB / 432.3 MB, free: 5.035 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1287, allocations: 58.85 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.7149/0.8436, allocations: 202.5 MB / 0.6774 GB, free: 18.9 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01415/0.8578, allocations: 15.54 MB / 0.6926 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.8589, allocations: 25.41 kB / 0.6926 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.8601, allocations: 388.6 kB / 0.693 GB, free: 12.15 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00646/0.8666, allocations: 2.282 MB / 0.6952 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006361/0.8729, allocations: 2.327 MB / 0.6975 GB, free: 11.93 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00334/0.8763, allocations: 3.201 MB / 0.7006 GB, free: 11.92 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.8774, allocations: 0.509 MB / 0.7011 GB, free: 11.86 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006249/0.8837, allocations: 1.794 MB / 0.7029 GB, free: 11.81 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.8858, allocations: 0.8788 MB / 0.7037 GB, free: 11.81 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000439/0.8863, allocations: 45.41 kB / 0.7038 GB, free: 11.81 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/0.899, allocations: 5.798 MB / 0.7094 GB, free: 11.76 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008927/0.8999, allocations: 381.8 kB / 0.7098 GB, free: 11.75 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.9015, allocations: 0.5116 MB / 0.7103 GB, free: 11.72 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01126/0.9128, allocations: 4.151 MB / 0.7143 GB, free: 11.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.9129, allocations: 1.25 kB / 0.7143 GB, free: 11.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.389e-06/0.9129, allocations: 0 / 0.7143 GB, free: 11.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001381/0.9131, allocations: 0 / 0.7143 GB, free: 11.52 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.008131/0.9212, allocations: 1.607 MB / 0.7159 GB, free: 10.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.995e-05/0.9213, allocations: 9 kB / 0.7159 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.9223, allocations: 112.6 kB / 0.716 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.9241, allocations: 0.588 MB / 0.7166 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.9242, allocations: 117.4 kB / 0.7167 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/0.9245, allocations: 71.11 kB / 0.7168 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/0.9274, allocations: 1.162 MB / 0.7179 GB, free: 9.883 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/0.9274, allocations: 9.844 kB / 0.7179 GB, free: 9.879 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.9276, allocations: 35.06 kB / 0.718 GB, free: 9.879 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.9277, allocations: 61.88 kB / 0.718 GB, free: 9.867 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/0.93, allocations: 1.166 MB / 0.7192 GB, free: 9.664 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007006/0.937, allocations: 5.004 MB / 0.724 GB, free: 6.375 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.9387, allocations: 0.8383 MB / 0.7249 GB, free: 6.223 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000641/0.9394, allocations: 428 kB / 0.7253 GB, free: 6.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/0.9407, allocations: 1.889 MB / 0.7271 GB, free: 4.109 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.249e-05/0.9407, allocations: 45.69 kB / 0.7272 GB, free: 4.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=70): time 4.98e-06/0.9408, allocations: 0 / 0.7272 GB, free: 4.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.01319/0.954, allocations: 4.154 MB / 0.7312 GB, free: 2.875 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.954, allocations: 110.2 kB / 0.7313 GB, free: 2.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009245/0.955, allocations: 0.6533 MB / 0.732 GB, free: 2.516 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.9551, allocations: 47.39 kB / 0.732 GB, free: 2.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.9554, allocations: 384.4 kB / 0.7324 GB, free: 2.254 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.9556, allocations: 297 kB / 0.7326 GB, free: 2.043 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.9557, allocations: 19.78 kB / 0.7327 GB, free: 2.043 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.9558, allocations: 388.4 kB / 0.733 GB, free: 1.707 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009551/0.9567, allocations: 0.4885 MB / 0.7335 GB, free: 1.625 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.9578, allocations: 0.7646 MB / 0.7343 GB, free: 1.219 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/0.9598, allocations: 1.29 MB / 0.7355 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.9598, allocations: 2.094 kB / 0.7355 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003123/0.963, allocations: 1.685 MB / 0.7372 GB, free: 488 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.963, allocations: 14.77 kB / 0.7372 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.963, allocations: 9.531 kB / 0.7372 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007014/0.9701, allocations: 1.392 MB / 0.7386 GB, free: 36 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.9707, allocations: 159.9 kB / 0.7387 GB, free: 16 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.9732, allocations: 1.558 MB / 0.7402 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.9744, allocations: 86.75 kB / 0.7403 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.9745, allocations: 59.64 kB / 0.7404 GB, free: 15.27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005697/0.9751, allocations: 293.3 kB / 0.7406 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.9754, allocations: 87.88 kB / 0.7407 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/0.9788, allocations: 1.648 MB / 0.7423 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.9788, allocations: 8.062 kB / 0.7423 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.9788, allocations: 4.75 kB / 0.7423 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.9788, allocations: 6.953 kB / 0.7424 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004677/0.9835, allocations: 2.566 MB / 0.7449 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.9836, allocations: 4 kB / 0.7449 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/0.9849, allocations: 264.3 kB / 0.7451 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001882/0.9868, allocations: 398.8 kB / 0.7455 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.9869, allocations: 34.92 kB / 0.7455 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002736/0.9896, allocations: 2.272 MB / 0.7477 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.9897, allocations: 3.984 kB / 0.7478 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003794/0.9935, allocations: 2.025 MB / 0.7497 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007483/0.9942, allocations: 311.9 kB / 0.75 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/0.9945, allocations: 21.88 kB / 0.75 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.9956, allocations: 71.88 kB / 0.7501 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.9958, allocations: 68.5 kB / 0.7502 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.9959, allocations: 58.78 kB / 0.7502 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000692/0.9966, allocations: 499.9 kB / 0.7507 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9966, allocations: 4 kB / 0.7507 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002863/0.9995, allocations: 0.701 MB / 0.7514 GB, free: 7.34 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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 {1} * 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003246/1.003, allocations: 0.9134 MB / 0.7523 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002867/1.006, allocations: 1.253 MB / 0.7535 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/1.006, allocations: 0 / 0.7535 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001708/1.007, allocations: 0.7153 MB / 0.7542 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/1.01, allocations: 0.5048 MB / 0.7547 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/1.015, allocations: 2.587 MB / 0.7572 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/1.016, allocations: 1.043 MB / 0.7583 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001406/1.017, allocations: 311.9 kB / 0.7586 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/1.018, allocations: 101 kB / 0.7587 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/1.018, allocations: 4 kB / 0.7587 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of Templates: time 0.05456/1.072, allocations: 34.8 MB / 0.7926 GB, free: 14.36 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches