Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [: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.002301/0.002301, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 225.5 MB / 234.4 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 87.67 kB / 286.3 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2561/0.2561, allocations: 45.14 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.618e-06/9.819e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1725, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.818/1.991, allocations: 0.6964 GB / 1.2 GB, free: 167.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/1.991, allocations: 71.97 kB / 1.2 GB, free: 167 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.06771/2.059, allocations: 33.52 MB / 1.233 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.733e-05/2.059, allocations: 4 kB / 1.233 GB, free: 133.4 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005831/2.059, allocations: 418.6 kB / 1.233 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/2.059, allocations: 8.031 kB / 1.233 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/2.061, allocations: 223.5 kB / 1.234 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/2.062, allocations: 206.9 kB / 1.234 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/2.062, allocations: 0 / 1.234 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/2.062, allocations: 12.12 kB / 1.234 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003956/2.062, allocations: 188.3 kB / 1.234 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/2.062, allocations: 150.8 kB / 1.234 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/2.062, allocations: 4 kB / 1.234 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/2.062, allocations: 7.984 kB / 1.234 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/2.062, allocations: 0 / 1.234 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/2.064, allocations: 0.5885 MB / 1.235 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/2.064, allocations: 138.5 kB / 1.235 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/2.064, allocations: 84.84 kB / 1.235 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/2.064, allocations: 89.09 kB / 1.235 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/2.064, allocations: 30.56 kB / 1.235 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.973e-06/2.064, allocations: 0 / 1.235 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.003848/2.068, allocations: 0.9829 MB / 1.236 GB, free: 130 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/2.068, allocations: 55.41 kB / 1.236 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.881e-05/2.068, allocations: 97 kB / 1.236 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/2.068, allocations: 29.64 kB / 1.236 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/2.068, allocations: 108.2 kB / 1.236 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.017e-05/2.068, allocations: 63.05 kB / 1.236 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/2.068, allocations: 0 / 1.236 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.03e-05/2.068, allocations: 322.7 kB / 1.237 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/2.069, allocations: 71.98 kB / 1.237 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/2.069, allocations: 99.61 kB / 1.237 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/2.069, allocations: 81.09 kB / 1.237 GB, free: 129 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/2.069, allocations: 0 / 1.237 GB, free: 129 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003806/2.069, allocations: 227.4 kB / 1.237 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/2.069, allocations: 4 kB / 1.237 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/2.069, allocations: 4 kB / 1.237 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001141/2.069, allocations: 20.84 kB / 1.237 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/2.07, allocations: 59.94 kB / 1.237 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003151/2.07, allocations: 0.5406 MB / 1.238 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/2.07, allocations: 4.031 kB / 1.238 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/2.07, allocations: 15.98 kB / 1.238 GB, free: 128.1 MB / 0.5261 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.039e-05/2.07, allocations: 112.9 kB / 1.238 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.368e-05/2.071, allocations: 11.91 kB / 1.238 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005505/2.071, allocations: 263.2 kB / 1.238 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/2.071, allocations: 3.984 kB / 1.238 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/2.071, allocations: 0 / 1.238 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/2.071, allocations: 3.906 kB / 1.238 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007897/2.072, allocations: 0.5955 MB / 1.239 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/2.072, allocations: 0 / 1.239 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/2.072, allocations: 51.89 kB / 1.239 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.909e-05/2.072, allocations: 20.84 kB / 1.239 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/2.072, allocations: 4 kB / 1.239 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000588/2.073, allocations: 1.213 MB / 1.24 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/2.073, allocations: 0 / 1.24 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004808/2.074, allocations: 432.6 kB / 1.24 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/2.074, allocations: 85.02 kB / 1.24 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/2.074, allocations: 11.91 kB / 1.24 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/2.074, allocations: 7.984 kB / 1.24 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/2.074, allocations: 7.984 kB / 1.24 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/2.074, allocations: 15.98 kB / 1.241 GB, free: 125 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.049e-05/2.074, allocations: 83.28 kB / 1.241 GB, free: 125 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006467/2.075, allocations: 163.8 kB / 1.241 GB, free: 124.8 MB / 0.5261 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 (19): * Single equations (assignments): 18 * 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.00122/2.076, allocations: 0.7247 MB / 1.241 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003902/2.076, allocations: 185.6 kB / 1.242 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/2.076, allocations: 0 / 1.242 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/2.077, allocations: 209.5 kB / 1.242 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/2.077, allocations: 46.94 kB / 1.242 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006072/2.078, allocations: 304.5 kB / 1.242 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/2.078, allocations: 0.7351 MB / 1.243 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/2.078, allocations: 0 / 1.243 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.01291/2.091, allocations: 9.187 MB / 1.252 GB, free: 113.4 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches