Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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.Tests.MediaTestModels.Air.MoistAir,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.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,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.Tests.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.001246/0.001246, allocations: 174 kB / 17.36 MB, free: 4.316 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.311/1.311, allocations: 205.6 MB / 223.7 MB, free: 8.941 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.0007428/0.0007429, allocations: 84.03 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002967, allocations: 4 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2499, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4369/0.6869, allocations: 189 MB / 0.5523 GB, free: 172 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006735/0.6937, allocations: 6.573 MB / 0.5588 GB, free: 12.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007186/0.6944, allocations: 2.531 kB / 0.5588 GB, free: 12.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009336/0.6954, allocations: 217.6 kB / 0.559 GB, free: 12.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009557/0.6964, allocations: 366 kB / 0.5593 GB, free: 12.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009491/0.7059, allocations: 2.51 MB / 0.5618 GB, free: 11.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002293/0.7082, allocations: 1.676 MB / 0.5634 GB, free: 11.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.7085, allocations: 126.1 kB / 0.5635 GB, free: 11.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003634/0.7121, allocations: 1.299 MB / 0.5648 GB, free: 10.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005574/0.7127, allocations: 427.7 kB / 0.5652 GB, free: 10.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.098e-05/0.7128, allocations: 27.56 kB / 0.5652 GB, free: 10.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008482/0.7212, allocations: 4.199 MB / 0.5693 GB, free: 9.469 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003549/0.7216, allocations: 192.6 kB / 0.5695 GB, free: 9.402 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005025/0.7221, allocations: 306.3 kB / 0.5698 GB, free: 9.344 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007313/0.7295, allocations: 2.96 MB / 0.5727 GB, free: 8.168 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7295, allocations: 0 / 0.5727 GB, free: 8.168 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.7295, allocations: 0 / 0.5727 GB, free: 8.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.7295, allocations: 0 / 0.5727 GB, free: 8.168 MB / 410.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.002891/0.7324, allocations: 1.03 MB / 0.5737 GB, free: 7.395 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.46e-05/0.7325, allocations: 11.25 kB / 0.5737 GB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003833/0.7329, allocations: 60.91 kB / 0.5738 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.7335, allocations: 370.5 kB / 0.5741 GB, free: 7.082 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.7335, allocations: 33.06 kB / 0.5742 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.7336, allocations: 43.12 kB / 0.5742 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009229/0.7345, allocations: 0.4978 MB / 0.5747 GB, free: 6.938 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.7346, allocations: 0 / 0.5747 GB, free: 6.938 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/0.7346, allocations: 20 kB / 0.5747 GB, free: 6.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.7346, allocations: 10.91 kB / 0.5747 GB, free: 6.938 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009526/0.7356, allocations: 0.5968 MB / 0.5753 GB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003181/0.7388, allocations: 2.177 MB / 0.5774 GB, free: 5.289 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.74, allocations: 0.5635 MB / 0.578 GB, free: 5.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.7403, allocations: 257.1 kB / 0.5782 GB, free: 5.145 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000579/0.7409, allocations: 0.6982 MB / 0.5789 GB, free: 4.371 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.741, allocations: 39.27 kB / 0.5789 GB, free: 4.332 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 1.904e-06/0.741, allocations: 0 / 0.5789 GB, free: 4.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.01371/0.7547, allocations: 3.815 MB / 0.5827 GB, free: 1.664 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.7547, allocations: 59.95 kB / 0.5827 GB, free: 1.594 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.7551, allocations: 293.6 kB / 0.583 GB, free: 1.352 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.169e-05/0.7552, allocations: 42.2 kB / 0.583 GB, free: 1.312 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.7554, allocations: 190.7 kB / 0.5832 GB, free: 1.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.7556, allocations: 230.8 kB / 0.5834 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.7557, allocations: 12.25 kB / 0.5835 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.7558, allocations: 350.9 kB / 0.5838 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006894/0.7565, allocations: 322.4 kB / 0.5841 GB, free: 428 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007434/0.7573, allocations: 383.5 kB / 0.5845 GB, free: 144 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.7587, allocations: 0.7181 MB / 0.5852 GB, free: 15.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.7587, allocations: 0 / 0.5852 GB, free: 15.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002156/0.7609, allocations: 0.9678 MB / 0.5861 GB, free: 14.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.7609, allocations: 10.81 kB / 0.5861 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.7609, allocations: 0 / 0.5861 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001686/0.7626, allocations: 352.3 kB / 0.5865 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.7632, allocations: 124.8 kB / 0.5866 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/0.7668, allocations: 3.531 MB / 0.59 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006872/0.7675, allocations: 58.52 kB / 0.5901 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.7676, allocations: 23.23 kB / 0.5901 GB, free: 10.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002979/0.7679, allocations: 195.7 kB / 0.5903 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.768, allocations: 49.33 kB / 0.5903 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.7705, allocations: 1.038 MB / 0.5914 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.7706, allocations: 8 kB / 0.5914 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7706, allocations: 0 / 0.5914 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002087/0.7727, allocations: 1.086 MB / 0.5924 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.7758, allocations: 1.717 MB / 0.5941 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.7758, allocations: 4 kB / 0.5941 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/0.7764, allocations: 103.5 kB / 0.5942 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.7783, allocations: 404.2 kB / 0.5946 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.921e-05/0.7783, allocations: 22.92 kB / 0.5946 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.7797, allocations: 0.8785 MB / 0.5955 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.7797, allocations: 0 / 0.5955 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002719/0.7825, allocations: 1.364 MB / 0.5968 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.7827, allocations: 122.1 kB / 0.5969 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.7828, allocations: 17.88 kB / 0.5969 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007324/0.7835, allocations: 63.38 kB / 0.597 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.436e-05/0.7836, allocations: 43.38 kB / 0.597 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.411e-05/0.7837, allocations: 30.72 kB / 0.5971 GB, free: 5.246 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002688/0.784, allocations: 227.7 kB / 0.5973 GB, free: 5.066 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.784, allocations: 1.969 kB / 0.5973 GB, free: 5.066 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001545/0.7856, allocations: 448.6 kB / 0.5977 GB, free: 4.664 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * 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 {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001868/0.7875, allocations: 0.5922 MB / 0.5983 GB, free: 4.117 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00239/0.7899, allocations: 0.9966 MB / 0.5993 GB, free: 3.328 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.705e-05/0.7899, allocations: 0 / 0.5993 GB, free: 3.328 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.791, allocations: 433.2 kB / 0.5997 GB, free: 3.016 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.7929, allocations: 293.5 kB / 0.6 GB, free: 2.777 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003361/0.7963, allocations: 1.586 MB / 0.6015 GB, free: 1.332 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.7968, allocations: 0.852 MB / 0.6023 GB, free: 464 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007754/0.7976, allocations: 130.6 kB / 0.6025 GB, free: 332 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.7978, allocations: 54.36 kB / 0.6025 GB, free: 280 kB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/0.7978, allocations: 0 / 0.6025 GB, free: 280 kB / 426.7 MB Notification: Performance of Templates: time 0.03788/0.8357, allocations: 21.15 MB / 0.6232 GB, free: 11.25 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches