Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") [: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.001343/0.001343, allocations: 196.8 kB / 8.54 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 225.5 MB / 234.4 MB, free: 3.328 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008883/0.0008884, allocations: 94.2 kB / 286.3 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1886/0.1886, allocations: 45.14 MB / 383.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.112e-06/6.352e-06, allocations: 3.938 kB / 452.6 MB, free: 76.15 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1199, allocations: 63.24 MB / 0.5038 GB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.106/7.226, allocations: 3.302 GB / 3.805 GB, free: 53.52 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/7.226, allocations: 72.61 kB / 3.805 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1127/7.339, allocations: 51.36 MB / 3.856 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.843e-06/7.339, allocations: 0 / 3.856 GB, free: 1.598 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001077/7.34, allocations: 0.4979 MB / 3.856 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/7.34, allocations: 8.031 kB / 3.856 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/7.34, allocations: 7.906 kB / 3.856 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.771e-05/7.34, allocations: 163 kB / 3.856 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/7.34, allocations: 4 kB / 3.856 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/7.34, allocations: 0 / 3.856 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001386/7.34, allocations: 59.91 kB / 3.856 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/7.34, allocations: 69.67 kB / 3.856 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/7.34, allocations: 0 / 3.856 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/7.34, allocations: 0 / 3.856 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/7.34, allocations: 4 kB / 3.856 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/7.341, allocations: 277.4 kB / 3.857 GB, free: 400 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.011e-05/7.341, allocations: 42.42 kB / 3.857 GB, free: 348 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.513e-05/7.341, allocations: 12.86 kB / 3.857 GB, free: 332 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/7.341, allocations: 255.4 kB / 3.857 GB, free: 20 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2412/7.582, allocations: 34.5 kB / 3.857 GB, free: 231 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 5.74e-06/7.582, allocations: 2.953 kB / 3.857 GB, free: 231 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0006296/7.583, allocations: 100 kB / 3.857 GB, free: 230.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/7.583, allocations: 54.94 kB / 3.857 GB, free: 230.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.458e-05/7.583, allocations: 96.86 kB / 3.857 GB, free: 230.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/7.583, allocations: 28.42 kB / 3.857 GB, free: 230.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/7.583, allocations: 90.64 kB / 3.857 GB, free: 230.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/7.583, allocations: 20.86 kB / 3.857 GB, free: 230.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/7.583, allocations: 0 / 3.857 GB, free: 230.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.116e-05/7.583, allocations: 313.1 kB / 3.858 GB, free: 230.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/7.583, allocations: 8.656 kB / 3.858 GB, free: 230.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/7.583, allocations: 39.42 kB / 3.858 GB, free: 230.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/7.584, allocations: 77.81 kB / 3.858 GB, free: 230.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/7.584, allocations: 0 / 3.858 GB, free: 230.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003277/7.584, allocations: 126.9 kB / 3.858 GB, free: 230.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/7.584, allocations: 10.41 kB / 3.858 GB, free: 230.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/7.584, allocations: 0 / 3.858 GB, free: 230.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/7.584, allocations: 5.562 kB / 3.858 GB, free: 230.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.944e-05/7.584, allocations: 13.56 kB / 3.858 GB, free: 230.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/7.584, allocations: 6.422 kB / 3.858 GB, free: 230.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.865e-05/7.584, allocations: 0 / 3.858 GB, free: 230.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/7.584, allocations: 3.25 kB / 3.858 GB, free: 230.3 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 (7): * Single equations (assignments): 7 * 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 5.203e-05/7.584, allocations: 113.1 kB / 3.858 GB, free: 230.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/7.584, allocations: 1.875 kB / 3.858 GB, free: 230.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004024/7.585, allocations: 132.8 kB / 3.858 GB, free: 230.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/7.585, allocations: 3 kB / 3.858 GB, free: 230.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/7.585, allocations: 0 / 3.858 GB, free: 230.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/7.585, allocations: 0 / 3.858 GB, free: 230.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/7.585, allocations: 144.2 kB / 3.858 GB, free: 230 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/7.585, allocations: 3.188 kB / 3.858 GB, free: 230 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/7.585, allocations: 10.45 kB / 3.858 GB, free: 230 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/7.585, allocations: 1.5 kB / 3.858 GB, free: 230 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/7.585, allocations: 0 / 3.858 GB, free: 230 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/7.585, allocations: 0 / 3.858 GB, free: 230 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/7.585, allocations: 3.469 kB / 3.858 GB, free: 230 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003183/7.585, allocations: 207.9 kB / 3.859 GB, free: 229.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/7.585, allocations: 80.52 kB / 3.859 GB, free: 229.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/7.585, allocations: 3.906 kB / 3.859 GB, free: 229.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.043e-05/7.585, allocations: 3.188 kB / 3.859 GB, free: 229.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/7.585, allocations: 3.125 kB / 3.859 GB, free: 229.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/7.585, allocations: 2.594 kB / 3.859 GB, free: 229.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.214e-05/7.585, allocations: 80.97 kB / 3.859 GB, free: 229.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007996/7.586, allocations: 200.9 kB / 3.859 GB, free: 229.7 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.00136/7.588, allocations: 0.8416 MB / 3.86 GB, free: 229.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.59e-05/7.588, allocations: 31.88 kB / 3.86 GB, free: 229.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/7.588, allocations: 0 / 3.86 GB, free: 229.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.406e-05/7.588, allocations: 11.03 kB / 3.86 GB, free: 229.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/7.588, allocations: 6.203 kB / 3.86 GB, free: 229.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/7.588, allocations: 68.45 kB / 3.86 GB, free: 229.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/7.588, allocations: 0.7018 MB / 3.86 GB, free: 228.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/7.588, allocations: 0 / 3.86 GB, free: 228.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.009564/7.598, allocations: 6.177 MB / 3.867 GB, free: 228.6 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches