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.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 179.2 kB / 17.36 MB, free: 4.445 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.322/1.322, allocations: 205.6 MB / 223.7 MB, free: 8.953 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.0007253/0.0007252, allocations: 92.09 kB / 272.1 MB, free: 8.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002385/0.0002385, allocations: 4 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1878, allocations: 47.58 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0424/0.2303, allocations: 62.21 MB / 438.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006117/0.2364, allocations: 6.712 MB / 445.5 MB, free: 7.93 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002275/0.2367, allocations: 11.88 kB / 445.5 MB, free: 7.918 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006291/0.2373, allocations: 211 kB / 445.7 MB, free: 7.711 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005427/0.2379, allocations: 362.1 kB / 446.1 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01481/0.2527, allocations: 5.587 MB / 451.7 MB, free: 1.754 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.2542, allocations: 1.602 MB / 453.3 MB, free: 148 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.2544, allocations: 119.1 kB / 453.4 MB, free: 28 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006338/0.2608, allocations: 3.667 MB / 457.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004659/0.2612, allocations: 406.6 kB / 457.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.2613, allocations: 24 kB / 457.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01468/0.276, allocations: 9.665 MB / 467.1 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.2763, allocations: 187.5 kB / 467.3 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003345/0.2766, allocations: 296.6 kB / 467.6 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008999/0.2856, allocations: 5.547 MB / 473.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2856, allocations: 0 / 473.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2856, allocations: 4 kB / 473.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.2857, allocations: 0 / 473.2 MB, free: 12.2 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00236/0.288, allocations: 1.228 MB / 474.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.2881, allocations: 8.031 kB / 474.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.2883, allocations: 63.42 kB / 474.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.2888, allocations: 358 kB / 474.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.2888, allocations: 40.94 kB / 474.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/0.2889, allocations: 40 kB / 474.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.29, allocations: 0.5881 MB / 475.5 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.2901, allocations: 3.938 kB / 475.5 MB, free: 9.789 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.2901, allocations: 24 kB / 475.5 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.2901, allocations: 8 kB / 475.5 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.2914, allocations: 0.7417 MB / 476.3 MB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01443/0.3058, allocations: 12.02 MB / 488.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.307, allocations: 0.5305 MB / 488.8 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.3074, allocations: 250.1 kB / 489.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01309/0.3205, allocations: 11.95 MB / 0.4893 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.3206, allocations: 42.94 kB / 0.4893 GB, free: 11.83 MB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 3.446e-06/0.3206, allocations: 4 kB / 0.4893 GB, free: 11.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=55): time 0.006479/0.3271, allocations: 2.132 MB / 0.4914 GB, free: 9.602 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.3271, allocations: 59.97 kB / 0.4914 GB, free: 9.527 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.3276, allocations: 315 kB / 0.4917 GB, free: 9.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.457e-05/0.3276, allocations: 37.7 kB / 0.4918 GB, free: 9.172 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.3278, allocations: 200.3 kB / 0.492 GB, free: 8.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.328, allocations: 197.2 kB / 0.4922 GB, free: 8.773 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.328, allocations: 16 kB / 0.4922 GB, free: 8.758 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3281, allocations: 342.8 kB / 0.4925 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.3286, allocations: 240.9 kB / 0.4927 GB, free: 8.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007381/0.3293, allocations: 343.3 kB / 0.4931 GB, free: 7.809 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.3307, allocations: 0.5917 MB / 0.4936 GB, free: 7.184 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3307, allocations: 0 / 0.4936 GB, free: 7.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002038/0.3327, allocations: 0.7518 MB / 0.4944 GB, free: 6.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3328, allocations: 8.625 kB / 0.4944 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3328, allocations: 80 / 0.4944 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005252/0.3333, allocations: 102.5 kB / 0.4945 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.3339, allocations: 127.8 kB / 0.4946 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.3364, allocations: 3.267 MB / 0.4978 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.3368, allocations: 52.08 kB / 0.4978 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.051e-05/0.3368, allocations: 27.98 kB / 0.4979 GB, free: 2.539 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0002458/0.3371, allocations: 189.7 kB / 0.4981 GB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.3373, allocations: 51.47 kB / 0.4981 GB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.3388, allocations: 0.815 MB / 0.4989 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3389, allocations: 4 kB / 0.4989 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.3389, allocations: 0 / 0.4989 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001039/0.3399, allocations: 0.7673 MB / 0.4996 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1377/0.4776, allocations: 1.292 MB / 0.5009 GB, free: 129.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4776, allocations: 3.844 kB / 0.5009 GB, free: 129.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/0.4781, allocations: 97.91 kB / 0.501 GB, free: 129.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008187/0.4789, allocations: 148.8 kB / 0.5012 GB, free: 129.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.479, allocations: 21.73 kB / 0.5012 GB, free: 129.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002689/0.4793, allocations: 0.6521 MB / 0.5018 GB, free: 129.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.4793, allocations: 0 / 0.5018 GB, free: 129.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.4806, allocations: 0.9035 MB / 0.5027 GB, free: 129.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.4808, allocations: 130.2 kB / 0.5028 GB, free: 129 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.957e-05/0.4808, allocations: 11.34 kB / 0.5028 GB, free: 129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.4813, allocations: 37.38 kB / 0.5029 GB, free: 129 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.4813, allocations: 36.67 kB / 0.5029 GB, free: 129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.158e-05/0.4814, allocations: 29.91 kB / 0.5029 GB, free: 129 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002851/0.4817, allocations: 255.5 kB / 0.5032 GB, free: 128.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4817, allocations: 0 / 0.5032 GB, free: 128.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003261/0.485, allocations: 1.304 MB / 0.5044 GB, free: 128.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00523/0.4902, allocations: 1.704 MB / 0.5061 GB, free: 128.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.4915, allocations: 0.802 MB / 0.5069 GB, free: 128.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4916, allocations: 4.969 kB / 0.5069 GB, free: 128.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004755/0.492, allocations: 288.4 kB / 0.5072 GB, free: 128 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.4933, allocations: 269.5 kB / 0.5074 GB, free: 128 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.4949, allocations: 1.35 MB / 0.5087 GB, free: 127.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.4952, allocations: 0.8347 MB / 0.5096 GB, free: 126.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005064/0.4957, allocations: 141.7 kB / 0.5097 GB, free: 126.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.4958, allocations: 58.56 kB / 0.5097 GB, free: 126.6 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4958, allocations: 0 / 0.5097 GB, free: 126.6 MB / 394.7 MB Notification: Performance of Templates: time 0.04615/0.542, allocations: 45.74 MB / 0.5544 GB, free: 84.03 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches