Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001792/0.001792, allocations: 201.6 kB / 8.539 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009819/0.000982, allocations: 86.56 kB / 286.3 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 45.13 MB / 383.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.274e-06/7.294e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1376, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.16/13.3, allocations: 5.758 GB / 6.262 GB, free: 121 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/13.3, allocations: 73.62 kB / 6.262 GB, free: 121 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.913/15.21, allocations: 401.2 MB / 6.654 GB, free: 90.54 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.032e-05/15.21, allocations: 3.125 kB / 6.654 GB, free: 90.54 MB / 0.5418 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.01532/15.23, allocations: 0.6405 MB / 6.654 GB, free: 90.14 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 7.896e-05/15.23, allocations: 7.844 kB / 6.654 GB, free: 90.14 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/15.23, allocations: 18.64 kB / 6.654 GB, free: 90.14 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/15.23, allocations: 160.4 kB / 6.655 GB, free: 89.95 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/15.23, allocations: 0 / 6.655 GB, free: 89.95 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/15.23, allocations: 10.94 kB / 6.655 GB, free: 89.94 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001842/15.23, allocations: 71.05 kB / 6.655 GB, free: 89.94 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/15.23, allocations: 74.41 kB / 6.655 GB, free: 89.91 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/15.23, allocations: 0 / 6.655 GB, free: 89.91 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/15.23, allocations: 4 kB / 6.655 GB, free: 89.91 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/15.23, allocations: 7.547 kB / 6.655 GB, free: 89.91 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/15.23, allocations: 292.4 kB / 6.655 GB, free: 89.67 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 9.64e-05/15.23, allocations: 50.17 kB / 6.655 GB, free: 89.64 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.864e-05/15.23, allocations: 37.31 kB / 6.655 GB, free: 89.63 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004273/15.24, allocations: 2.694 MB / 6.658 GB, free: 87.69 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/15.24, allocations: 33.88 kB / 6.658 GB, free: 87.65 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=9): time 2.295e-06/15.24, allocations: 0 / 6.658 GB, free: 87.65 MB / 0.5418 GB Notification: Performance of matching and sorting (n=9): time 0.0003819/15.24, allocations: 88.66 kB / 6.658 GB, free: 87.62 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/15.24, allocations: 51.41 kB / 6.658 GB, free: 87.55 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/15.24, allocations: 94.73 kB / 6.658 GB, free: 87.46 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/15.24, allocations: 25.7 kB / 6.658 GB, free: 87.43 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/15.24, allocations: 87.55 kB / 6.658 GB, free: 87.34 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/15.24, allocations: 31.45 kB / 6.658 GB, free: 87.32 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/15.24, allocations: 0 / 6.658 GB, free: 87.32 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 6.77e-05/15.24, allocations: 310.8 kB / 6.658 GB, free: 87.01 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.225e-05/15.24, allocations: 20.31 kB / 6.658 GB, free: 87.01 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.677e-05/15.24, allocations: 43.8 kB / 6.658 GB, free: 86.99 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.991e-05/15.24, allocations: 24.7 kB / 6.659 GB, free: 86.99 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/15.24, allocations: 96 / 6.659 GB, free: 86.99 MB / 0.5418 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001792/15.24, allocations: 97.27 kB / 6.659 GB, free: 86.95 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/15.24, allocations: 6.406 kB / 6.659 GB, free: 86.95 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/15.24, allocations: 0 / 6.659 GB, free: 86.95 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/15.24, allocations: 3.188 kB / 6.659 GB, free: 86.95 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/15.24, allocations: 7.5 kB / 6.659 GB, free: 86.95 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/15.24, allocations: 0 / 6.659 GB, free: 86.95 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.689e-05/15.24, allocations: 7.938 kB / 6.659 GB, free: 86.95 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/15.24, allocations: 3.562 kB / 6.659 GB, free: 86.95 MB / 0.5418 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 6.407e-05/15.24, allocations: 107.2 kB / 6.659 GB, free: 86.84 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/15.24, allocations: 7.516 kB / 6.659 GB, free: 86.84 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/15.24, allocations: 160 kB / 6.659 GB, free: 86.79 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001657/15.24, allocations: 111.4 kB / 6.659 GB, free: 86.75 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/15.24, allocations: 0 / 6.659 GB, free: 86.75 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/15.24, allocations: 4 kB / 6.659 GB, free: 86.75 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/15.24, allocations: 410.5 kB / 6.659 GB, free: 86.47 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/15.24, allocations: 0 / 6.659 GB, free: 86.47 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.384e-05/15.24, allocations: 12.97 kB / 6.659 GB, free: 86.47 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/15.24, allocations: 0 / 6.659 GB, free: 86.47 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/15.24, allocations: 3.188 kB / 6.659 GB, free: 86.47 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/15.24, allocations: 0 / 6.659 GB, free: 86.47 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/15.24, allocations: 7.609 kB / 6.659 GB, free: 86.47 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002198/15.24, allocations: 220.7 kB / 6.66 GB, free: 86.33 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/15.24, allocations: 83.97 kB / 6.66 GB, free: 86.23 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/15.24, allocations: 6.109 kB / 6.66 GB, free: 86.23 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.929e-05/15.24, allocations: 3.688 kB / 6.66 GB, free: 86.23 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/15.24, allocations: 0 / 6.66 GB, free: 86.23 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/15.24, allocations: 3.188 kB / 6.66 GB, free: 86.23 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.939e-05/15.24, allocations: 86.11 kB / 6.66 GB, free: 86.16 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.005918/15.24, allocations: 395.9 kB / 6.66 GB, free: 86.09 MB / 0.5418 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.07824/15.32, allocations: 15.84 MB / 6.676 GB, free: 77.73 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.000294/15.32, allocations: 111.1 kB / 6.676 GB, free: 77.69 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/15.32, allocations: 0 / 6.676 GB, free: 77.69 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/15.32, allocations: 47.91 kB / 6.676 GB, free: 77.69 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/15.32, allocations: 39.31 kB / 6.676 GB, free: 77.69 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/15.32, allocations: 102.4 kB / 6.676 GB, free: 77.62 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/15.32, allocations: 0.7089 MB / 6.677 GB, free: 76.92 MB / 0.5418 GB Notification: Performance of SimCode: time 9.01e-07/15.32, allocations: 0.75 kB / 6.677 GB, free: 76.92 MB / 0.5418 GB Notification: Performance of Templates: time 0.02924/15.35, allocations: 17.95 MB / 6.694 GB, free: 69.85 MB / 0.5418 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches