Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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) 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(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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001012, allocations: 177.9 kB / 17.36 MB, free: 4.195 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.253/1.253, allocations: 205.6 MB / 223.7 MB, free: 8.938 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.0007417/0.0007417, allocations: 95.36 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000238/0.0002381, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2003, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.05764/0.258, allocations: 78.53 MB / 455.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007261/0.2653, allocations: 6.97 MB / 462.1 MB, free: 6.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005864/0.2659, allocations: 7.938 kB / 462.1 MB, free: 6.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009224/0.2669, allocations: 306.5 kB / 462.4 MB, free: 6.449 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000931/0.2678, allocations: 0.4975 MB / 462.9 MB, free: 5.949 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01569/0.2835, allocations: 5.899 MB / 468.8 MB, free: 36 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002633/0.2862, allocations: 2.308 MB / 471.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003537/0.2865, allocations: 158.5 kB / 471.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.2876, allocations: 0.5488 MB / 471.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008141/0.2885, allocations: 0.5722 MB / 472.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.2886, allocations: 40 kB / 472.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01801/0.3066, allocations: 9.965 MB / 482.4 MB, free: 2.422 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005329/0.3072, allocations: 271.2 kB / 482.7 MB, free: 2.156 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007273/0.3079, allocations: 408.1 kB / 483 MB, free: 1.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01486/0.3228, allocations: 5.991 MB / 489 MB, free: 11.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3228, allocations: 3.938 kB / 489 MB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3228, allocations: 0 / 489 MB, free: 11.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3229, allocations: 0 / 489 MB, free: 11.74 MB / 378.7 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.003282/0.3262, allocations: 1.396 MB / 490.4 MB, free: 10.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3262, allocations: 12.03 kB / 490.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003881/0.3266, allocations: 83.23 kB / 490.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.3272, allocations: 432.9 kB / 491 MB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.3272, allocations: 45.31 kB / 491 MB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.843e-05/0.3273, allocations: 71.88 kB / 491.1 MB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.329, allocations: 0.8068 MB / 491.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.329, allocations: 3.906 kB / 491.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.838e-05/0.3291, allocations: 28 kB / 491.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.3291, allocations: 12 kB / 491.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.3309, allocations: 1.028 MB / 492.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01616/0.347, allocations: 12.83 MB / 0.4939 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.3487, allocations: 0.7568 MB / 0.4947 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005868/0.3493, allocations: 410.2 kB / 0.4951 GB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.196/0.5454, allocations: 12.3 MB / 0.5071 GB, free: 123.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.37e-05/0.5455, allocations: 49.19 kB / 0.5071 GB, free: 123.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 3.356e-06/0.5455, allocations: 0 / 0.5071 GB, free: 123.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.009211/0.5547, allocations: 3.427 MB / 0.5105 GB, free: 122.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.5548, allocations: 60.16 kB / 0.5105 GB, free: 122.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.5552, allocations: 355.8 kB / 0.5109 GB, free: 122.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.5552, allocations: 41.67 kB / 0.5109 GB, free: 122.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.5554, allocations: 236.6 kB / 0.5111 GB, free: 122.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.5556, allocations: 305.2 kB / 0.5114 GB, free: 122 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.5557, allocations: 20.94 kB / 0.5114 GB, free: 122 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5558, allocations: 361.7 kB / 0.5118 GB, free: 121.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006568/0.5564, allocations: 370 kB / 0.5121 GB, free: 121.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008652/0.5573, allocations: 485.4 kB / 0.5126 GB, free: 121.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.5589, allocations: 0.8932 MB / 0.5135 GB, free: 120.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.559, allocations: 5 kB / 0.5135 GB, free: 120.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002408/0.5614, allocations: 1.113 MB / 0.5146 GB, free: 120.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.5614, allocations: 6.406 kB / 0.5146 GB, free: 120.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5614, allocations: 2.375 kB / 0.5146 GB, free: 120.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007613/0.5622, allocations: 166.2 kB / 0.5147 GB, free: 120.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008084/0.563, allocations: 193.7 kB / 0.5149 GB, free: 120.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.5651, allocations: 3.92 MB / 0.5187 GB, free: 116.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005468/0.5656, allocations: 59.22 kB / 0.5188 GB, free: 116.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.821e-05/0.5657, allocations: 43.92 kB / 0.5188 GB, free: 116.2 MB / 394.7 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.0003757/0.5661, allocations: 234.6 kB / 0.5191 GB, free: 116 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.5664, allocations: 58.47 kB / 0.5191 GB, free: 116 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/0.5687, allocations: 1.285 MB / 0.5204 GB, free: 115.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.5687, allocations: 8.75 kB / 0.5204 GB, free: 115.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5687, allocations: 3.984 kB / 0.5204 GB, free: 115.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001711/0.5704, allocations: 1.32 MB / 0.5217 GB, free: 114.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/0.573, allocations: 1.969 MB / 0.5236 GB, free: 112.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5731, allocations: 2.719 kB / 0.5236 GB, free: 112.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/0.5737, allocations: 165.6 kB / 0.5238 GB, free: 112.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/0.5753, allocations: 295.2 kB / 0.524 GB, free: 112.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/0.5753, allocations: 31.67 kB / 0.5241 GB, free: 112.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004945/0.5758, allocations: 1.286 MB / 0.5253 GB, free: 111.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5759, allocations: 7.906 kB / 0.5253 GB, free: 111.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.5779, allocations: 1.407 MB / 0.5267 GB, free: 110.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.578, allocations: 140.5 kB / 0.5268 GB, free: 110.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.705e-05/0.5781, allocations: 25.42 kB / 0.5269 GB, free: 110.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005344/0.5787, allocations: 54.02 kB / 0.5269 GB, free: 110.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.5788, allocations: 61.2 kB / 0.527 GB, free: 110.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.584e-05/0.5789, allocations: 42.31 kB / 0.527 GB, free: 110.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002658/0.5792, allocations: 280.6 kB / 0.5273 GB, free: 110.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5792, allocations: 0.5625 kB / 0.5273 GB, free: 110.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003943/0.5831, allocations: 1.395 MB / 0.5286 GB, free: 109.3 MB / 394.7 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.004999/0.5881, allocations: 1.745 MB / 0.5303 GB, free: 107.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.5901, allocations: 1.155 MB / 0.5315 GB, free: 106.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.5901, allocations: 4.781 kB / 0.5315 GB, free: 106.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007387/0.5908, allocations: 483.6 kB / 0.5319 GB, free: 106.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.5927, allocations: 383.2 kB / 0.5323 GB, free: 105.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.5951, allocations: 2.038 MB / 0.5343 GB, free: 103.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.5954, allocations: 0.9244 MB / 0.5352 GB, free: 102.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007199/0.5962, allocations: 209 kB / 0.5354 GB, free: 102.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.5964, allocations: 83.41 kB / 0.5355 GB, free: 102.6 MB / 394.7 MB Notification: Performance of SimCode: time 5.92e-07/0.5964, allocations: 0 / 0.5355 GB, free: 102.6 MB / 394.7 MB Notification: Performance of Templates: time 0.0544/0.6508, allocations: 50.39 MB / 0.5847 GB, free: 52.3 MB / 394.7 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