Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [: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.001425/0.001425, allocations: 179.5 kB / 8.519 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.308/1.308, allocations: 221.4 MB / 230.3 MB, free: 7.656 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.00101/0.00101, allocations: 95.97 kB / 281.2 MB, free: 5.469 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.1999/0.1999, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.041e-06/6.081e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1477, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.44/11.59, allocations: 5.757 GB / 6.251 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/11.59, allocations: 75.95 kB / 6.251 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.674/13.27, allocations: 401.1 MB / 6.643 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.266e-06/13.27, allocations: 0 / 6.643 GB, free: 6.316 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01216/13.28, allocations: 0.6306 MB / 6.644 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/13.28, allocations: 11.97 kB / 6.644 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/13.28, allocations: 11.89 kB / 6.644 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.491e-05/13.28, allocations: 167 kB / 6.644 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/13.28, allocations: 0 / 6.644 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/13.28, allocations: 4 kB / 6.644 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001453/13.28, allocations: 71.88 kB / 6.644 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/13.28, allocations: 77.61 kB / 6.644 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/13.28, allocations: 0 / 6.644 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/13.28, allocations: 0 / 6.644 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/13.28, allocations: 4 kB / 6.644 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/13.28, allocations: 295.9 kB / 6.644 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.435e-05/13.28, allocations: 38.58 kB / 6.644 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/13.28, allocations: 40.83 kB / 6.644 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003288/13.28, allocations: 2.582 MB / 6.647 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/13.28, allocations: 30.56 kB / 6.647 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/13.28, allocations: 0 / 6.647 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0003379/13.28, allocations: 93.7 kB / 6.647 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/13.28, allocations: 51.41 kB / 6.647 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/13.28, allocations: 89 kB / 6.647 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/13.28, allocations: 25.7 kB / 6.647 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/13.28, allocations: 92.23 kB / 6.647 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/13.28, allocations: 27.66 kB / 6.647 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/13.28, allocations: 3.938 kB / 6.647 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.407e-05/13.28, allocations: 314.8 kB / 6.648 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.882e-05/13.28, allocations: 20 kB / 6.648 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/13.28, allocations: 37.83 kB / 6.648 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.032e-05/13.28, allocations: 23.94 kB / 6.648 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/13.28, allocations: 0 / 6.648 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000178/13.28, allocations: 93.58 kB / 6.648 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/13.28, allocations: 8 kB / 6.648 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/13.28, allocations: 4.125 kB / 6.648 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/13.28, allocations: 0 / 6.648 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/13.28, allocations: 12.09 kB / 6.648 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/13.28, allocations: 7.922 kB / 6.648 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/13.28, allocations: 15.88 kB / 6.648 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/13.28, allocations: 0 / 6.648 GB, free: 0.9102 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.604e-05/13.28, allocations: 105 kB / 6.648 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/13.28, allocations: 0 / 6.648 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/13.28, allocations: 165.3 kB / 6.648 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001519/13.28, allocations: 105.7 kB / 6.648 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/13.28, allocations: 4 kB / 6.648 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/13.28, allocations: 4 kB / 6.648 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/13.29, allocations: 409.9 kB / 6.648 GB, free: 72 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/13.29, allocations: 0 / 6.648 GB, free: 72 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/13.29, allocations: 12 kB / 6.649 GB, free: 60 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/13.29, allocations: 0 / 6.649 GB, free: 60 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/13.29, allocations: 4 kB / 6.649 GB, free: 56 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/13.29, allocations: 4 kB / 6.649 GB, free: 52 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/13.29, allocations: 7.922 kB / 6.649 GB, free: 44 kB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00028/13.29, allocations: 217 kB / 6.649 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/13.29, allocations: 84.95 kB / 6.649 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/13.29, allocations: 0 / 6.649 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-05/13.29, allocations: 0 / 6.649 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/13.29, allocations: 7.984 kB / 6.649 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/13.29, allocations: 4 kB / 6.649 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.904e-05/13.29, allocations: 83.28 kB / 6.649 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009297/13.3, allocations: 375.5 kB / 6.649 GB, free: 15.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.5339/13.83, allocations: 15.81 MB / 6.665 GB, free: 140.6 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002716/13.83, allocations: 106.9 kB / 6.665 GB, free: 140.6 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/13.83, allocations: 0 / 6.665 GB, free: 140.6 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 6.094e-05/13.83, allocations: 55.23 kB / 6.665 GB, free: 140.6 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/13.83, allocations: 33.22 kB / 6.665 GB, free: 140.6 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/13.83, allocations: 101.2 kB / 6.665 GB, free: 140.5 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/13.83, allocations: 0.7101 MB / 6.666 GB, free: 139.8 MB / 0.5262 GB Notification: Performance of SimCode: time 3.91e-07/13.83, allocations: 3.391 kB / 6.666 GB, free: 139.8 MB / 0.5262 GB Notification: Performance of Templates: time 0.02559/13.86, allocations: 17.84 MB / 6.683 GB, free: 138.4 MB / 0.5262 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches