Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") [: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.001199/0.001199, allocations: 208.2 kB / 8.537 MB, free: 476 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 225.5 MB / 234.4 MB, free: 9.469 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 99.27 kB / 286.3 MB, free: 5.84 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2568/0.2568, allocations: 45.14 MB / 383.3 MB, free: 4.871 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 9.107e-06/9.138e-06, allocations: 0 / 452.6 MB, free: 48.3 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1729, allocations: 63.23 MB / 0.5038 GB, free: 0.9961 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.457/1.63, allocations: 462.8 MB / 0.9557 GB, free: 157.5 MB / 0.5339 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/1.631, allocations: 66.7 kB / 0.9558 GB, free: 157.4 MB / 0.5339 GB Notification: Performance of FrontEnd: time 0.05994/1.691, allocations: 29.91 MB / 0.985 GB, free: 133 MB / 0.5339 GB Notification: Performance of Transformations before backend: time 1.976e-05/1.691, allocations: 0 / 0.985 GB, free: 133 MB / 0.5339 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005619/1.691, allocations: 382.2 kB / 0.9853 GB, free: 132.6 MB / 0.5339 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/1.692, allocations: 12.02 kB / 0.9853 GB, free: 132.6 MB / 0.5339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/1.693, allocations: 227 kB / 0.9856 GB, free: 132.4 MB / 0.5339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/1.694, allocations: 214.3 kB / 0.9858 GB, free: 132.2 MB / 0.5339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/1.694, allocations: 224 / 0.9858 GB, free: 132.2 MB / 0.5339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/1.694, allocations: 8 kB / 0.9858 GB, free: 132.2 MB / 0.5339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003289/1.694, allocations: 149.6 kB / 0.9859 GB, free: 132.1 MB / 0.5339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/1.694, allocations: 134.3 kB / 0.986 GB, free: 132 MB / 0.5339 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/1.694, allocations: 0 / 0.986 GB, free: 132 MB / 0.5339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/1.694, allocations: 3.938 kB / 0.9861 GB, free: 131.9 MB / 0.5339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.694, allocations: 0 / 0.9861 GB, free: 131.9 MB / 0.5339 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/1.696, allocations: 0.539 MB / 0.9866 GB, free: 131.4 MB / 0.5339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/1.696, allocations: 113.2 kB / 0.9867 GB, free: 131.3 MB / 0.5339 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/1.696, allocations: 61.97 kB / 0.9867 GB, free: 131.3 MB / 0.5339 GB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/1.696, allocations: 8 kB / 0.9868 GB, free: 131.3 MB / 0.5339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/1.696, allocations: 42.56 kB / 0.9868 GB, free: 131.2 MB / 0.5339 GB Notification: Performance of pre-optimization done (n=14): time 1.983e-06/1.696, allocations: 0 / 0.9868 GB, free: 131.2 MB / 0.5339 GB Notification: Performance of matching and sorting (n=19): time 0.003683/1.7, allocations: 0.875 MB / 0.9876 GB, free: 130.4 MB / 0.5339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/1.7, allocations: 55.41 kB / 0.9877 GB, free: 130.3 MB / 0.5339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/1.7, allocations: 100.7 kB / 0.9878 GB, free: 130.2 MB / 0.5339 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/1.7, allocations: 25.7 kB / 0.9878 GB, free: 130.2 MB / 0.5339 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/1.7, allocations: 95.39 kB / 0.9879 GB, free: 130.1 MB / 0.5339 GB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/1.7, allocations: 66.34 kB / 0.988 GB, free: 130 MB / 0.5339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/1.7, allocations: 0 / 0.988 GB, free: 130 MB / 0.5339 GB Notification: Performance of setup shared object (initialization): time 5.852e-05/1.7, allocations: 329.5 kB / 0.9883 GB, free: 129.7 MB / 0.5339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.198e-05/1.7, allocations: 57.31 kB / 0.9883 GB, free: 129.7 MB / 0.5339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.961e-05/1.7, allocations: 96.39 kB / 0.9884 GB, free: 129.6 MB / 0.5339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/1.7, allocations: 73.16 kB / 0.9885 GB, free: 129.5 MB / 0.5339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/1.7, allocations: 0 / 0.9885 GB, free: 129.5 MB / 0.5339 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003493/1.701, allocations: 231.6 kB / 0.9887 GB, free: 129.4 MB / 0.5339 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/1.701, allocations: 4 kB / 0.9887 GB, free: 129.4 MB / 0.5339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.701, allocations: 4 kB / 0.9887 GB, free: 129.4 MB / 0.5339 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001531/1.701, allocations: 44.7 kB / 0.9888 GB, free: 129.3 MB / 0.5339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/1.701, allocations: 51.91 kB / 0.9888 GB, free: 129.3 MB / 0.5339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003329/1.702, allocations: 0.5793 MB / 0.9894 GB, free: 128.7 MB / 0.5339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/1.702, allocations: 3.984 kB / 0.9894 GB, free: 128.7 MB / 0.5339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/1.702, allocations: 27.69 kB / 0.9894 GB, free: 128.6 MB / 0.5339 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 9.268e-05/1.702, allocations: 112.8 kB / 0.9895 GB, free: 128.5 MB / 0.5339 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/1.702, allocations: 11.91 kB / 0.9895 GB, free: 128.5 MB / 0.5339 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000812/1.703, allocations: 351.3 kB / 0.9899 GB, free: 128.2 MB / 0.5339 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.703, allocations: 4 kB / 0.9899 GB, free: 128.2 MB / 0.5339 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.703, allocations: 0 / 0.9899 GB, free: 128.2 MB / 0.5339 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/1.703, allocations: 7.891 kB / 0.9899 GB, free: 128.2 MB / 0.5339 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/1.703, allocations: 0.5529 MB / 0.9904 GB, free: 127.7 MB / 0.5339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/1.704, allocations: 0 / 0.9904 GB, free: 127.7 MB / 0.5339 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/1.704, allocations: 63.83 kB / 0.9905 GB, free: 127.6 MB / 0.5339 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.179e-05/1.704, allocations: 20.84 kB / 0.9905 GB, free: 127.6 MB / 0.5339 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/1.704, allocations: 15.89 kB / 0.9905 GB, free: 127.6 MB / 0.5339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006202/1.705, allocations: 1.212 MB / 0.9917 GB, free: 126.3 MB / 0.5339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.705, allocations: 4.031 kB / 0.9917 GB, free: 126.3 MB / 0.5339 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000471/1.705, allocations: 439 kB / 0.9921 GB, free: 125.9 MB / 0.5339 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/1.705, allocations: 92.58 kB / 0.9922 GB, free: 125.8 MB / 0.5339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/1.705, allocations: 4 kB / 0.9922 GB, free: 125.8 MB / 0.5339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/1.705, allocations: 3.984 kB / 0.9922 GB, free: 125.8 MB / 0.5339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/1.705, allocations: 19.89 kB / 0.9922 GB, free: 125.8 MB / 0.5339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/1.706, allocations: 31.86 kB / 0.9923 GB, free: 125.7 MB / 0.5339 GB Notification: Performance of sort global known variables: time 3.209e-05/1.706, allocations: 91.25 kB / 0.9924 GB, free: 125.6 MB / 0.5339 GB Notification: Performance of remove unused functions: time 0.0004962/1.706, allocations: 118.5 kB / 0.9925 GB, free: 125.5 MB / 0.5339 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008324/1.707, allocations: 0.6254 MB / 0.9931 GB, free: 124.9 MB / 0.5339 GB Notification: Performance of simCode: created initialization part: time 0.0003655/1.707, allocations: 173.7 kB / 0.9933 GB, free: 124.8 MB / 0.5339 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.707, allocations: 0 / 0.9933 GB, free: 124.8 MB / 0.5339 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/1.708, allocations: 208.2 kB / 0.9934 GB, free: 124.6 MB / 0.5339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/1.708, allocations: 36.28 kB / 0.9935 GB, free: 124.6 MB / 0.5339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/1.709, allocations: 335.4 kB / 0.9938 GB, free: 124.3 MB / 0.5339 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/1.709, allocations: 0.7784 MB / 0.9946 GB, free: 123.4 MB / 0.5339 GB Notification: Performance of SimCode: time 3.21e-07/1.709, allocations: 0 / 0.9946 GB, free: 123.4 MB / 0.5339 GB Notification: Performance of Templates: time 0.01205/1.721, allocations: 8.45 MB / 1.003 GB, free: 115 MB / 0.5339 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches