Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 174.1 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.7 MB / 243.9 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008172/0.000817, allocations: 87.98 kB / 295 MB, free: 9.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.348/0.348, allocations: 44.32 MB / 390.5 MB, free: 38.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003214, allocations: 8 kB / 463.1 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3476, allocations: 61.91 MB / 0.5128 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4897/0.8373, allocations: 195.9 MB / 0.7041 GB, free: 8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.8489, allocations: 11.12 MB / 0.715 GB, free: 19.16 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.8505, allocations: 25.19 kB / 0.715 GB, free: 19.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.8524, allocations: 397 kB / 0.7154 GB, free: 19.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.006752/0.8592, allocations: 2.071 MB / 0.7174 GB, free: 19.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.007509/0.8667, allocations: 2.04 MB / 0.7194 GB, free: 18.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.004985/0.8717, allocations: 3.204 MB / 0.7225 GB, free: 18.92 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.8732, allocations: 0.5023 MB / 0.723 GB, free: 18.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00588/0.8791, allocations: 1.641 MB / 0.7246 GB, free: 18.83 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.882, allocations: 0.8837 MB / 0.7255 GB, free: 18.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004912/0.8825, allocations: 46.38 kB / 0.7255 GB, free: 18.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01487/0.8974, allocations: 5.405 MB / 0.7308 GB, free: 18.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.8988, allocations: 386.1 kB / 0.7312 GB, free: 18.76 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.002543/0.9013, allocations: 0.5103 MB / 0.7317 GB, free: 18.73 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.01465/0.916, allocations: 3.867 MB / 0.7354 GB, free: 18.14 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.9161, allocations: 0 / 0.7354 GB, free: 18.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.158e-06/0.9161, allocations: 0 / 0.7354 GB, free: 18.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.634e-05/0.9162, allocations: 5.344 kB / 0.7354 GB, free: 18.14 MB / 0.4948 GB 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.005439/0.9216, allocations: 1.523 MB / 0.7369 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.9217, allocations: 8.406 kB / 0.7369 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006246/0.9223, allocations: 107.5 kB / 0.737 GB, free: 17.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.9236, allocations: 0.5839 MB / 0.7376 GB, free: 16.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.9238, allocations: 117.5 kB / 0.7377 GB, free: 16.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/0.924, allocations: 77.53 kB / 0.7378 GB, free: 16.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.9263, allocations: 1.162 MB / 0.7389 GB, free: 16.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/0.9263, allocations: 7.531 kB / 0.7389 GB, free: 16.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.9265, allocations: 30.69 kB / 0.739 GB, free: 16.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.242e-05/0.9266, allocations: 59.84 kB / 0.739 GB, free: 16.22 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.9287, allocations: 1.156 MB / 0.7402 GB, free: 16.02 MB / 0.4948 GB 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.006867/0.9356, allocations: 4.967 MB / 0.745 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.9373, allocations: 0.8328 MB / 0.7458 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006385/0.9379, allocations: 426 kB / 0.7462 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/0.9394, allocations: 1.631 MB / 0.7478 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.9395, allocations: 47.06 kB / 0.7479 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=70): time 3.035e-06/0.9395, allocations: 0 / 0.7479 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.01357/0.953, allocations: 4.141 MB / 0.7519 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.9532, allocations: 111.4 kB / 0.752 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009991/0.9542, allocations: 0.6609 MB / 0.7527 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.9543, allocations: 44.05 kB / 0.7527 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.9546, allocations: 381 kB / 0.7531 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/0.955, allocations: 295.2 kB / 0.7533 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.9551, allocations: 17.56 kB / 0.7534 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.9553, allocations: 391.2 kB / 0.7537 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009835/0.9563, allocations: 497.5 kB / 0.7542 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.9575, allocations: 0.755 MB / 0.7549 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.9597, allocations: 1.284 MB / 0.7562 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.9597, allocations: 3.344 kB / 0.7562 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003373/0.9631, allocations: 1.68 MB / 0.7578 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.9631, allocations: 9.688 kB / 0.7579 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.9631, allocations: 6.75 kB / 0.7579 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006974/0.9701, allocations: 1.37 MB / 0.7592 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/0.9708, allocations: 160.1 kB / 0.7593 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/0.9735, allocations: 1.548 MB / 0.7609 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.9746, allocations: 97.94 kB / 0.761 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/0.9748, allocations: 46.48 kB / 0.761 GB, free: 5.188 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.0006432/0.9755, allocations: 298.2 kB / 0.7613 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.9758, allocations: 96.75 kB / 0.7614 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/0.9792, allocations: 1.681 MB / 0.763 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.9792, allocations: 12.08 kB / 0.763 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.9792, allocations: 4 kB / 0.763 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.9792, allocations: 3.984 kB / 0.763 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004491/0.9837, allocations: 2.653 MB / 0.7656 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.9837, allocations: 4 kB / 0.7656 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.9851, allocations: 260.3 kB / 0.7659 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001795/0.9869, allocations: 393.4 kB / 0.7663 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.353e-05/0.987, allocations: 36.22 kB / 0.7663 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/0.9894, allocations: 2.27 MB / 0.7685 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.9894, allocations: 4.031 kB / 0.7685 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003686/0.9931, allocations: 2.045 MB / 0.7705 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006628/0.9938, allocations: 303.4 kB / 0.7708 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.994, allocations: 22.75 kB / 0.7708 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009991/0.995, allocations: 72.31 kB / 0.7709 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.9952, allocations: 69.25 kB / 0.771 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.9954, allocations: 49.91 kB / 0.771 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007133/0.9961, allocations: 0.4906 MB / 0.7715 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9961, allocations: 0 / 0.7715 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002313/0.9984, allocations: 0.6702 MB / 0.7721 GB, free: 11.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.002641/1.001, allocations: 0.7992 MB / 0.7729 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002661/1.004, allocations: 1.242 MB / 0.7741 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.004, allocations: 3.906 kB / 0.7741 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001744/1.006, allocations: 0.7083 MB / 0.7748 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/1.008, allocations: 0.5035 MB / 0.7753 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/1.013, allocations: 2.597 MB / 0.7778 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008417/1.014, allocations: 1.045 MB / 0.7789 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001355/1.015, allocations: 365.8 kB / 0.7792 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/1.016, allocations: 89.92 kB / 0.7793 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of SimCode: time 9.81e-07/1.016, allocations: 0 / 0.7793 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of Templates: time 0.05331/1.069, allocations: 33.22 MB / 0.8117 GB, free: 4.766 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches