Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_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.001132/0.001132, allocations: 108.3 kB / 17.21 MB, free: 6.289 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.001128/0.001128, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2214/0.2214, allocations: 44.18 MB / 336.1 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 72.03 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1231, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.364/0.4871, allocations: 148.8 MB / 0.6029 GB, free: 12.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.489, allocations: 1.425 MB / 0.6042 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.4891, allocations: 0 / 0.6042 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.4894, allocations: 39.86 kB / 0.6043 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00244/0.4919, allocations: 0.8564 MB / 0.6051 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.448e-06/0.4919, allocations: 0 / 0.6051 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.492, allocations: 99.64 kB / 0.6052 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.04e-05/0.4921, allocations: 5.219 kB / 0.6052 GB, free: 10 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.635e-05/0.4921, allocations: 19.94 kB / 0.6052 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.066e-05/0.4922, allocations: 23.91 kB / 0.6053 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.4922, allocations: 0 / 0.6053 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.4952, allocations: 1.86 MB / 0.6071 GB, free: 8.098 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.4952, allocations: 7.984 kB / 0.6071 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.4952, allocations: 19.94 kB / 0.6071 GB, free: 8.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.4969, allocations: 0.9355 MB / 0.608 GB, free: 7.133 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.4969, allocations: 0 / 0.608 GB, free: 7.133 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.497, allocations: 0 / 0.608 GB, free: 7.133 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.497, allocations: 0 / 0.608 GB, free: 7.133 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007648/0.4977, allocations: 487.2 kB / 0.6085 GB, free: 6.609 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.4978, allocations: 8.031 kB / 0.6085 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.4978, allocations: 11.25 kB / 0.6085 GB, free: 6.594 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.307e-05/0.4979, allocations: 164 kB / 0.6087 GB, free: 6.395 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.4979, allocations: 7.984 kB / 0.6087 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.498, allocations: 8 kB / 0.6087 GB, free: 6.379 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.4981, allocations: 73.59 kB / 0.6087 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.4981, allocations: 0 / 0.6087 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.4981, allocations: 4 kB / 0.6087 GB, free: 6.297 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.4982, allocations: 15.92 kB / 0.6088 GB, free: 6.281 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.344e-05/0.4983, allocations: 47.97 kB / 0.6088 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.4987, allocations: 300.7 kB / 0.6091 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.831e-05/0.4987, allocations: 38.5 kB / 0.6091 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.4988, allocations: 8.859 kB / 0.6091 GB, free: 5.832 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.499, allocations: 259.4 kB / 0.6094 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.499, allocations: 30.56 kB / 0.6094 GB, free: 5.484 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.4991, allocations: 0 / 0.6094 GB, free: 5.484 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001729/0.4992, allocations: 61.62 kB / 0.6095 GB, free: 5.418 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.4993, allocations: 59.34 kB / 0.6095 GB, free: 5.348 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.4993, allocations: 105.8 kB / 0.6096 GB, free: 5.234 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.4994, allocations: 25.7 kB / 0.6097 GB, free: 5.203 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.4994, allocations: 99.88 kB / 0.6098 GB, free: 5.102 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.4994, allocations: 15.8 kB / 0.6098 GB, free: 5.086 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.4995, allocations: 21.72 kB / 0.6098 GB, free: 5.059 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.4996, allocations: 310.8 kB / 0.6101 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.4996, allocations: 11.98 kB / 0.6101 GB, free: 4.734 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.502e-05/0.4997, allocations: 35.44 kB / 0.6101 GB, free: 4.688 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.251e-05/0.4997, allocations: 47.36 kB / 0.6102 GB, free: 4.629 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4997, allocations: 0.875 kB / 0.6102 GB, free: 4.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001156/0.4999, allocations: 77.64 kB / 0.6103 GB, free: 4.547 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4999, allocations: 10.91 kB / 0.6103 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.4999, allocations: 0 / 0.6103 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.4999, allocations: 4 kB / 0.6103 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.5, allocations: 11.94 kB / 0.6103 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.5, allocations: 4 kB / 0.6103 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.5001, allocations: 7.906 kB / 0.6103 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.5001, allocations: 8.547 kB / 0.6103 GB, free: 4.504 MB / 446.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 (7): * Single equations (assignments): 7 * 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.242e-05/0.5002, allocations: 113.9 kB / 0.6104 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.5002, allocations: 12.36 kB / 0.6104 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.5004, allocations: 77.09 kB / 0.6105 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.5004, allocations: 0 / 0.6105 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5004, allocations: 0 / 0.6105 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.5004, allocations: 0 / 0.6105 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.5005, allocations: 158.3 kB / 0.6106 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5006, allocations: 0 / 0.6106 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.5006, allocations: 12 kB / 0.6107 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.5006, allocations: 7.922 kB / 0.6107 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.5006, allocations: 3.625 kB / 0.6107 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5006, allocations: 0 / 0.6107 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5006, allocations: 4 kB / 0.6107 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.5008, allocations: 147.5 kB / 0.6108 GB, free: 3.906 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.5008, allocations: 81.05 kB / 0.6109 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.5008, allocations: 3.938 kB / 0.6109 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.085e-05/0.5009, allocations: 4 kB / 0.6109 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.5009, allocations: 15.92 kB / 0.6109 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.5009, allocations: 0 / 0.6109 GB, free: 3.785 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.008e-05/0.5009, allocations: 79.28 kB / 0.611 GB, free: 3.707 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.501, allocations: 0 / 0.611 GB, free: 3.707 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004871/0.5014, allocations: 139.8 kB / 0.6111 GB, free: 3.57 MB / 446.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 (4): * Single equations (assignments): 4 * 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.0008299/0.5023, allocations: 311.9 kB / 0.6114 GB, free: 3.262 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.509e-05/0.5024, allocations: 36.14 kB / 0.6114 GB, free: 3.227 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.5024, allocations: 0 / 0.6114 GB, free: 3.227 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.272e-05/0.5024, allocations: 15.98 kB / 0.6115 GB, free: 3.211 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.5027, allocations: 6.125 kB / 0.6115 GB, free: 3.207 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.503, allocations: 154.7 kB / 0.6116 GB, free: 3.027 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.5033, allocations: 0.6887 MB / 0.6123 GB, free: 2.312 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.354e-05/0.5034, allocations: 18.97 kB / 0.6123 GB, free: 2.297 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.5034, allocations: 15.44 kB / 0.6123 GB, free: 2.281 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5034, allocations: 0 / 0.6123 GB, free: 2.281 MB / 446.1 MB Notification: Performance of Templates: time 0.006213/0.5096, allocations: 3.249 MB / 0.6155 GB, free: 15.03 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches