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.001508/0.001508, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.00184/0.00184, allocations: 187 kB / 19.34 MB, free: 3.641 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.389/1.389, allocations: 222.9 MB / 243 MB, free: 15.08 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.2014/0.2014, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 60.56 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1106, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3831/0.4937, allocations: 150.9 MB / 0.6071 GB, free: 9.188 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.4955, allocations: 1.325 MB / 0.6084 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.4956, allocations: 0 / 0.6084 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003717/0.496, allocations: 43.8 kB / 0.6084 GB, free: 7.824 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003003/0.499, allocations: 1.016 MB / 0.6094 GB, free: 6.836 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.853e-06/0.4991, allocations: 0 / 0.6094 GB, free: 6.836 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.4992, allocations: 51.72 kB / 0.6095 GB, free: 6.785 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.067e-05/0.4993, allocations: 7.984 kB / 0.6095 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.4993, allocations: 15.88 kB / 0.6095 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.324e-05/0.4994, allocations: 23.91 kB / 0.6095 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.085e-06/0.4994, allocations: 0 / 0.6095 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.5023, allocations: 1.798 MB / 0.6113 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.5023, allocations: 8 kB / 0.6113 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.5024, allocations: 19.92 kB / 0.6113 GB, free: 4.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.5036, allocations: 0.8828 MB / 0.6121 GB, free: 4.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.5037, allocations: 3.984 kB / 0.6122 GB, free: 4.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5037, allocations: 0 / 0.6122 GB, free: 4.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.5037, allocations: 0 / 0.6122 GB, free: 4.023 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.0006259/0.5043, allocations: 483.2 kB / 0.6126 GB, free: 3.504 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.5044, allocations: 12.03 kB / 0.6126 GB, free: 3.492 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.5044, allocations: 13.22 kB / 0.6126 GB, free: 3.484 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.224e-05/0.5045, allocations: 171.8 kB / 0.6128 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.5045, allocations: 4 kB / 0.6128 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.5045, allocations: 7.984 kB / 0.6128 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.5047, allocations: 69.67 kB / 0.6129 GB, free: 3.191 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.5047, allocations: 0 / 0.6129 GB, free: 3.191 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.5047, allocations: 0 / 0.6129 GB, free: 3.191 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.5048, allocations: 11.98 kB / 0.6129 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.697e-05/0.5048, allocations: 55.84 kB / 0.6129 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.5053, allocations: 296.8 kB / 0.6132 GB, free: 2.785 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.162e-05/0.5053, allocations: 34.56 kB / 0.6133 GB, free: 2.742 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.5054, allocations: 12.86 kB / 0.6133 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.5056, allocations: 259.4 kB / 0.6135 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.5056, allocations: 38.5 kB / 0.6136 GB, free: 2.371 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.5057, allocations: 4 kB / 0.6136 GB, free: 2.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001677/0.5058, allocations: 61.62 kB / 0.6136 GB, free: 2.301 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.5059, allocations: 51.41 kB / 0.6137 GB, free: 2.238 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.759e-05/0.5059, allocations: 101.8 kB / 0.6138 GB, free: 2.129 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.506, allocations: 25.7 kB / 0.6138 GB, free: 2.098 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.506, allocations: 95.89 kB / 0.6139 GB, free: 2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.506, allocations: 15.75 kB / 0.6139 GB, free: 1.984 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.5061, allocations: 25.7 kB / 0.6139 GB, free: 1.953 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.5062, allocations: 314.8 kB / 0.6142 GB, free: 1.637 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.5062, allocations: 15.98 kB / 0.6142 GB, free: 1.621 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.13e-05/0.5063, allocations: 32.31 kB / 0.6143 GB, free: 1.578 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.916e-05/0.5063, allocations: 43.8 kB / 0.6143 GB, free: 1.523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5063, allocations: 4 kB / 0.6143 GB, free: 1.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001066/0.5065, allocations: 77.55 kB / 0.6144 GB, free: 1.438 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.5065, allocations: 11.92 kB / 0.6144 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5065, allocations: 0 / 0.6144 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5065, allocations: 4 kB / 0.6144 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.5066, allocations: 12 kB / 0.6144 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.5066, allocations: 4 kB / 0.6144 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.5066, allocations: 3.906 kB / 0.6144 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.5067, allocations: 4 kB / 0.6144 GB, free: 1.398 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 7.877e-05/0.5067, allocations: 125.9 kB / 0.6145 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.5068, allocations: 6.5 kB / 0.6146 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.5069, allocations: 70.75 kB / 0.6146 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.507, allocations: 0 / 0.6146 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.507, allocations: 112 / 0.6146 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.507, allocations: 7.938 kB / 0.6146 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.5071, allocations: 157.7 kB / 0.6148 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.5071, allocations: 0 / 0.6148 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.5072, allocations: 8 kB / 0.6148 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.5072, allocations: 3.938 kB / 0.6148 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.5072, allocations: 0 / 0.6148 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5072, allocations: 0 / 0.6148 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5072, allocations: 7.984 kB / 0.6148 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.5073, allocations: 151.4 kB / 0.6149 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.5074, allocations: 85.05 kB / 0.615 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.5074, allocations: 3.938 kB / 0.615 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.864e-05/0.5075, allocations: 4 kB / 0.615 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.5075, allocations: 4 kB / 0.615 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.5075, allocations: 3.984 kB / 0.615 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.882e-05/0.5075, allocations: 79.28 kB / 0.6151 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5075, allocations: 0 / 0.6151 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004357/0.508, allocations: 131.9 kB / 0.6152 GB, free: 484 kB / 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.0008227/0.5088, allocations: 329.6 kB / 0.6156 GB, free: 156 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.5089, allocations: 35.92 kB / 0.6156 GB, free: 120 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5089, allocations: 7.875 kB / 0.6156 GB, free: 112 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.152e-05/0.509, allocations: 15.92 kB / 0.6156 GB, free: 96 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.5092, allocations: 4 kB / 0.6156 GB, free: 92 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.5096, allocations: 141.7 kB / 0.6157 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.5098, allocations: 0.6807 MB / 0.6164 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.574e-05/0.5099, allocations: 8 kB / 0.6164 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.5099, allocations: 19.42 kB / 0.6164 GB, free: 15.19 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5099, allocations: 0 / 0.6164 GB, free: 15.19 MB / 462.1 MB Notification: Performance of Templates: time 0.006329/0.5163, allocations: 3.282 MB / 0.6196 GB, free: 11.91 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/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