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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009563/0.0009566, allocations: 179.1 kB / 8.517 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 221.4 MB / 230.3 MB, free: 7.695 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009551/0.0009548, allocations: 95.56 kB / 281.2 MB, free: 5.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1805/0.1805, allocations: 44.15 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.314e-06/7.424e-06, allocations: 4.219 kB / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1242, allocations: 61.9 MB / 0.4941 GB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.428/7.552, allocations: 3.308 GB / 3.802 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/7.553, allocations: 75.33 kB / 3.802 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.1351/7.688, allocations: 51.63 MB / 3.852 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.064e-06/7.688, allocations: 0 / 3.852 GB, free: 8.863 MB / 0.5105 GB 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.0007941/7.689, allocations: 0.4978 MB / 3.853 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/7.689, allocations: 15.97 kB / 3.853 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/7.689, allocations: 3.906 kB / 3.853 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.049e-05/7.689, allocations: 167 kB / 3.853 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/7.689, allocations: 3.984 kB / 3.853 GB, free: 8.094 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/7.689, allocations: 7.984 kB / 3.853 GB, free: 8.086 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001202/7.689, allocations: 51.98 kB / 3.853 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.253e-05/7.689, allocations: 63.64 kB / 3.853 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/7.689, allocations: 4 kB / 3.853 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/7.689, allocations: 0 / 3.853 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/7.689, allocations: 4 kB / 3.853 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/7.69, allocations: 285.1 kB / 3.854 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.732e-05/7.69, allocations: 26.58 kB / 3.854 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/7.69, allocations: 12.86 kB / 3.854 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/7.69, allocations: 259.3 kB / 3.854 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/7.69, allocations: 38.56 kB / 3.854 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/7.69, allocations: 0 / 3.854 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0004262/7.69, allocations: 113.5 kB / 3.854 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.719e-05/7.69, allocations: 51.41 kB / 3.854 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.731e-05/7.69, allocations: 89 kB / 3.854 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/7.69, allocations: 25.7 kB / 3.854 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/7.69, allocations: 99.88 kB / 3.854 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-06/7.69, allocations: 11.81 kB / 3.854 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/7.69, allocations: 112 / 3.854 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.928e-05/7.69, allocations: 326.8 kB / 3.855 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/7.691, allocations: 8 kB / 3.855 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/7.691, allocations: 31.58 kB / 3.855 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/7.691, allocations: 79.8 kB / 3.855 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/7.691, allocations: 0 / 3.855 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003279/7.691, allocations: 137.3 kB / 3.855 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/7.691, allocations: 4 kB / 3.855 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/7.691, allocations: 4 kB / 3.855 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/7.691, allocations: 0 / 3.855 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/7.691, allocations: 12 kB / 3.855 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/7.691, allocations: 0 / 3.855 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/7.691, allocations: 8 kB / 3.855 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/7.691, allocations: 4 kB / 3.855 GB, free: 6.191 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/7.691, allocations: 116.9 kB / 3.855 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/7.691, allocations: 0 / 3.855 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/7.692, allocations: 133.2 kB / 3.855 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/7.692, allocations: 0 / 3.855 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/7.692, allocations: 4.328 kB / 3.855 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/7.692, allocations: 3.906 kB / 3.855 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.367e-05/7.692, allocations: 138.2 kB / 3.855 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/7.692, allocations: 0 / 3.855 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.062e-05/7.692, allocations: 8 kB / 3.855 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/7.692, allocations: 3.984 kB / 3.855 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/7.692, allocations: 0 / 3.855 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/7.692, allocations: 0 / 3.855 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/7.692, allocations: 11.92 kB / 3.855 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003075/7.692, allocations: 211.3 kB / 3.855 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/7.692, allocations: 81.02 kB / 3.855 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/7.692, allocations: 4 kB / 3.855 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.057e-05/7.692, allocations: 0 / 3.855 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/7.692, allocations: 3.984 kB / 3.855 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/7.692, allocations: 4 kB / 3.855 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.737e-05/7.692, allocations: 79.28 kB / 3.856 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005624/7.693, allocations: 179.8 kB / 3.856 GB, free: 5.141 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001147/7.694, allocations: 0.8357 MB / 3.857 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.868e-05/7.694, allocations: 31.88 kB / 3.857 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/7.694, allocations: 0 / 3.857 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-05/7.694, allocations: 8 kB / 3.857 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/7.694, allocations: 9.922 kB / 3.857 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001847/7.695, allocations: 79.89 kB / 3.857 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/7.695, allocations: 0.6993 MB / 3.857 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/7.695, allocations: 0 / 3.857 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of Templates: time 0.2144/7.909, allocations: 6.08 MB / 3.863 GB, free: 216.4 MB / 0.5105 GB 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches