Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.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) 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(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.IdealGasH2O") [: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.001554/0.001554, allocations: 196.5 kB / 8.534 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 225.5 MB / 234.4 MB, free: 3.453 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009177/0.0009177, allocations: 98.66 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.624e-06/7.705e-06, allocations: 0 / 343.1 MB, free: 8.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 51.48 MB / 394.6 MB, free: 5.293 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.154, allocations: 443.3 MB / 0.8183 GB, free: 108.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/1.154, allocations: 67.91 kB / 0.8183 GB, free: 108.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05129/1.206, allocations: 24.86 MB / 0.8426 GB, free: 87.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/1.206, allocations: 0 / 0.8426 GB, free: 87.93 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007402/1.207, allocations: 441.8 kB / 0.843 GB, free: 87.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.207, allocations: 8.031 kB / 0.843 GB, free: 87.46 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005951/1.213, allocations: 0.5493 MB / 0.8436 GB, free: 86.95 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.463e-05/1.213, allocations: 171 kB / 0.8437 GB, free: 86.74 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/1.213, allocations: 0 / 0.8437 GB, free: 86.74 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.675e-05/1.213, allocations: 4 kB / 0.8437 GB, free: 86.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005265/1.213, allocations: 220.8 kB / 0.8439 GB, free: 86.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/1.214, allocations: 113.5 kB / 0.844 GB, free: 86.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/1.214, allocations: 11.92 kB / 0.8441 GB, free: 86.49 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/1.214, allocations: 4 kB / 0.8441 GB, free: 86.49 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/1.214, allocations: 0 / 0.8441 GB, free: 86.49 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/1.215, allocations: 381.9 kB / 0.8444 GB, free: 86.13 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007371/1.215, allocations: 151.8 kB / 0.8446 GB, free: 86.01 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/1.215, allocations: 62.8 kB / 0.8446 GB, free: 85.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/1.216, allocations: 4.984 kB / 0.8446 GB, free: 85.96 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/1.216, allocations: 31.81 kB / 0.8447 GB, free: 85.92 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/1.216, allocations: 4 kB / 0.8447 GB, free: 85.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=17): time 0.001202/1.217, allocations: 293.9 kB / 0.845 GB, free: 85.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/1.217, allocations: 51.41 kB / 0.845 GB, free: 85.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.4e-05/1.217, allocations: 96.36 kB / 0.8451 GB, free: 85.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/1.217, allocations: 25.7 kB / 0.8451 GB, free: 85.49 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/1.217, allocations: 99.2 kB / 0.8452 GB, free: 85.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/1.217, allocations: 62.39 kB / 0.8453 GB, free: 85.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/1.217, allocations: 3.938 kB / 0.8453 GB, free: 85.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.991e-05/1.217, allocations: 318.2 kB / 0.8456 GB, free: 85.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.27e-05/1.217, allocations: 56.05 kB / 0.8456 GB, free: 84.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/1.217, allocations: 91.53 kB / 0.8457 GB, free: 84.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/1.217, allocations: 63.72 kB / 0.8458 GB, free: 84.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/1.217, allocations: 4 kB / 0.8458 GB, free: 84.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003022/1.218, allocations: 189.1 kB / 0.846 GB, free: 84.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/1.218, allocations: 8 kB / 0.846 GB, free: 84.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/1.218, allocations: 0 / 0.846 GB, free: 84.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.218, allocations: 0 / 0.846 GB, free: 84.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/1.218, allocations: 59.89 kB / 0.846 GB, free: 84.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.218, allocations: 4 kB / 0.846 GB, free: 84.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/1.218, allocations: 11.98 kB / 0.846 GB, free: 84.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/1.218, allocations: 11.98 kB / 0.8461 GB, free: 84.62 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 7.405e-05/1.219, allocations: 108.9 kB / 0.8462 GB, free: 84.51 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/1.219, allocations: 7.906 kB / 0.8462 GB, free: 84.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005765/1.219, allocations: 243.2 kB / 0.8464 GB, free: 84.31 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/1.219, allocations: 0 / 0.8464 GB, free: 84.31 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.219, allocations: 0 / 0.8464 GB, free: 84.31 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.219, allocations: 3.906 kB / 0.8464 GB, free: 84.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008584/1.22, allocations: 0.4939 MB / 0.8469 GB, free: 83.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.22, allocations: 4.062 kB / 0.8469 GB, free: 83.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/1.22, allocations: 47.89 kB / 0.8469 GB, free: 83.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/1.22, allocations: 4 kB / 0.8469 GB, free: 83.78 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/1.221, allocations: 3.984 kB / 0.8469 GB, free: 83.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.221, allocations: 4 kB / 0.8469 GB, free: 83.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.221, allocations: 0 / 0.8469 GB, free: 83.77 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003093/1.221, allocations: 306 kB / 0.8472 GB, free: 83.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/1.221, allocations: 92.94 kB / 0.8473 GB, free: 83.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/1.221, allocations: 7.938 kB / 0.8473 GB, free: 83.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/1.221, allocations: 7.984 kB / 0.8473 GB, free: 83.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/1.221, allocations: 11.98 kB / 0.8474 GB, free: 83.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/1.221, allocations: 15.23 kB / 0.8474 GB, free: 83.34 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.031e-05/1.221, allocations: 79.28 kB / 0.8474 GB, free: 83.26 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004403/1.222, allocations: 76.3 kB / 0.8475 GB, free: 83.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006622/1.222, allocations: 0.6072 MB / 0.8481 GB, free: 82.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002786/1.223, allocations: 155.2 kB / 0.8483 GB, free: 82.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.223, allocations: 0 / 0.8483 GB, free: 82.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/1.223, allocations: 79.09 kB / 0.8483 GB, free: 82.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/1.223, allocations: 31.22 kB / 0.8484 GB, free: 82.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006407/1.224, allocations: 172.9 kB / 0.8485 GB, free: 82.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/1.224, allocations: 0.7512 MB / 0.8493 GB, free: 81.46 MB / 458.7 MB Notification: Performance of SimCode: time 2.6e-07/1.224, allocations: 0 / 0.8493 GB, free: 81.46 MB / 458.7 MB Notification: Performance of Templates: time 0.008845/1.233, allocations: 6.172 MB / 0.8553 GB, free: 75.36 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_trunk_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches