Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 106.8 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 186 kB / 17.19 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2221/0.2221, allocations: 43.54 MB / 314 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 66.8 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.106, allocations: 57.79 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4328/0.5388, allocations: 152.2 MB / 0.5788 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.5411, allocations: 1.206 MB / 0.58 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.5411, allocations: 3.938 kB / 0.58 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.5415, allocations: 39.14 kB / 0.58 GB, free: 12.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003117/0.5447, allocations: 0.8723 MB / 0.5809 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.662e-06/0.5447, allocations: 0 / 0.5809 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.5448, allocations: 55.81 kB / 0.5809 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.5449, allocations: 2.25 kB / 0.5809 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.689e-05/0.5449, allocations: 18.83 kB / 0.581 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.545, allocations: 23.19 kB / 0.581 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.545, allocations: 0 / 0.581 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003543/0.5486, allocations: 1.626 MB / 0.5826 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.5487, allocations: 9.656 kB / 0.5826 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.5487, allocations: 14.62 kB / 0.5826 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.5504, allocations: 0.7827 MB / 0.5834 GB, free: 12.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.5505, allocations: 0 / 0.5834 GB, free: 12.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5505, allocations: 0 / 0.5834 GB, free: 12.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.5505, allocations: 0 / 0.5834 GB, free: 12.28 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007822/0.5513, allocations: 462.6 kB / 0.5838 GB, free: 11.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.5513, allocations: 13.98 kB / 0.5838 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.5514, allocations: 11.48 kB / 0.5838 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.5515, allocations: 168.3 kB / 0.584 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.5515, allocations: 9.188 kB / 0.584 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.5515, allocations: 2.938 kB / 0.584 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.5517, allocations: 69.59 kB / 0.5841 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5517, allocations: 3.984 kB / 0.5841 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.5517, allocations: 2.219 kB / 0.5841 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.5518, allocations: 7.062 kB / 0.5841 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.232e-05/0.5519, allocations: 53.28 kB / 0.5841 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.5524, allocations: 293 kB / 0.5844 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.756e-05/0.5525, allocations: 32.31 kB / 0.5844 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.49e-05/0.5526, allocations: 17.11 kB / 0.5845 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.5528, allocations: 92.38 kB / 0.5845 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.5528, allocations: 33.94 kB / 0.5846 GB, free: 11.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.5528, allocations: 0 / 0.5846 GB, free: 11.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.000205/0.553, allocations: 56.44 kB / 0.5846 GB, free: 11.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.5531, allocations: 51.41 kB / 0.5847 GB, free: 10.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.561e-05/0.5532, allocations: 101.5 kB / 0.5848 GB, free: 10.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.5532, allocations: 25.7 kB / 0.5848 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.5532, allocations: 95.02 kB / 0.5849 GB, free: 10.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.5533, allocations: 14.22 kB / 0.5849 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.5533, allocations: 25.89 kB / 0.5849 GB, free: 10.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5535, allocations: 310.8 kB / 0.5852 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.619e-05/0.5535, allocations: 12.12 kB / 0.5852 GB, free: 10.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.774e-05/0.5535, allocations: 34.61 kB / 0.5853 GB, free: 10.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.339e-05/0.5536, allocations: 46.59 kB / 0.5853 GB, free: 10.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5536, allocations: 0 / 0.5853 GB, free: 10.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001389/0.5538, allocations: 67.2 kB / 0.5854 GB, free: 10.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5538, allocations: 6.938 kB / 0.5854 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.5538, allocations: 5.312 kB / 0.5854 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.5539, allocations: 3.938 kB / 0.5854 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.554, allocations: 10.44 kB / 0.5854 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.554, allocations: 8.078 kB / 0.5854 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.554, allocations: 10.12 kB / 0.5854 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.5541, allocations: 8.625 kB / 0.5854 GB, free: 10.28 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.625e-05/0.5542, allocations: 116.2 kB / 0.5855 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.5542, allocations: 0 / 0.5855 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.5544, allocations: 65.95 kB / 0.5856 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5544, allocations: 4.469 kB / 0.5856 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5544, allocations: 0 / 0.5856 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.5544, allocations: 0 / 0.5856 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.5545, allocations: 156.2 kB / 0.5858 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5545, allocations: 3 kB / 0.5858 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.5546, allocations: 9.875 kB / 0.5858 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.5546, allocations: 6.516 kB / 0.5858 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.5546, allocations: 3.938 kB / 0.5858 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5546, allocations: 0 / 0.5858 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5546, allocations: 0 / 0.5858 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.5547, allocations: 146.2 kB / 0.5859 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.5548, allocations: 84.58 kB / 0.586 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.5548, allocations: 3.938 kB / 0.586 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.727e-05/0.5548, allocations: 0 / 0.586 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.5549, allocations: 2.688 kB / 0.586 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.5549, allocations: 0 / 0.586 GB, free: 9.668 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.103e-05/0.5549, allocations: 84.02 kB / 0.5861 GB, free: 9.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5549, allocations: 0 / 0.5861 GB, free: 9.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004027/0.5553, allocations: 101.6 kB / 0.5862 GB, free: 9.559 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005478/0.5559, allocations: 248.7 kB / 0.5864 GB, free: 9.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.225e-05/0.556, allocations: 32.86 kB / 0.5865 GB, free: 9.402 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.556, allocations: 0 / 0.5865 GB, free: 9.402 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.464e-05/0.556, allocations: 12.25 kB / 0.5865 GB, free: 9.398 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.5563, allocations: 8.141 kB / 0.5865 GB, free: 9.395 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.5565, allocations: 142.3 kB / 0.5866 GB, free: 9.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.5568, allocations: 0.6805 MB / 0.5873 GB, free: 8.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.82e-05/0.5568, allocations: 9.062 kB / 0.5873 GB, free: 8.566 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.5569, allocations: 19.58 kB / 0.5873 GB, free: 8.555 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5569, allocations: 0 / 0.5873 GB, free: 8.555 MB / 430.1 MB Notification: Performance of Templates: time 0.005581/0.5625, allocations: 2.656 MB / 0.5899 GB, free: 7.211 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches