Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.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.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") [: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.001507/0.001507, allocations: 203.9 kB / 8.539 MB, free: 1.75 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 225.5 MB / 234.4 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001154/0.001154, allocations: 91 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.251/0.251, allocations: 45.14 MB / 383.3 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.067e-06/9.097e-06, allocations: 0 / 452.6 MB, free: 76.17 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1441, allocations: 63.24 MB / 0.5038 GB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.255/1.399, allocations: 472.3 MB / 0.965 GB, free: 200.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/1.399, allocations: 69.28 kB / 0.9651 GB, free: 200.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.08431/1.483, allocations: 40.66 MB / 1.005 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.979e-06/1.484, allocations: 4 kB / 1.005 GB, free: 162.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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005961/1.484, allocations: 402.2 kB / 1.005 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/1.484, allocations: 12.03 kB / 1.005 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/1.484, allocations: 7.844 kB / 1.005 GB, free: 161.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/1.484, allocations: 167.1 kB / 1.005 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/1.484, allocations: 7.891 kB / 1.005 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/1.484, allocations: 8 kB / 1.005 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001329/1.485, allocations: 47.92 kB / 1.005 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/1.485, allocations: 61.67 kB / 1.005 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/1.485, allocations: 0 / 1.005 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/1.485, allocations: 4 kB / 1.005 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.485, allocations: 0 / 1.005 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/1.485, allocations: 366.3 kB / 1.006 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.479e-05/1.485, allocations: 53.64 kB / 1.006 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/1.485, allocations: 16.86 kB / 1.006 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009844/1.486, allocations: 0.9935 MB / 1.007 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/1.486, allocations: 30.56 kB / 1.007 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/1.486, allocations: 0 / 1.007 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.00784/1.494, allocations: 0.9378 MB / 1.008 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/1.494, allocations: 55.69 kB / 1.008 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/1.494, allocations: 96.98 kB / 1.008 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/1.494, allocations: 25.7 kB / 1.008 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/1.494, allocations: 96.27 kB / 1.008 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/1.494, allocations: 43.3 kB / 1.008 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/1.495, allocations: 0 / 1.008 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.648e-05/1.495, allocations: 322.8 kB / 1.008 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/1.495, allocations: 71.98 kB / 1.008 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/1.495, allocations: 89.23 kB / 1.009 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/1.496, allocations: 240.7 kB / 1.009 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/1.496, allocations: 0 / 1.009 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001576/1.498, allocations: 381.3 kB / 1.009 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.498, allocations: 8 kB / 1.009 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.498, allocations: 4.062 kB / 1.009 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/1.498, allocations: 3.938 kB / 1.009 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/1.498, allocations: 55.88 kB / 1.009 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.498, allocations: 7.906 kB / 1.009 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/1.499, allocations: 15.98 kB / 1.009 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/1.499, allocations: 11.98 kB / 1.009 GB, free: 157.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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 8.74e-05/1.499, allocations: 101 kB / 1.009 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/1.499, allocations: 7.906 kB / 1.009 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/1.501, allocations: 0.4959 MB / 1.01 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/1.501, allocations: 7.984 kB / 1.01 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.501, allocations: 3.906 kB / 1.01 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.501, allocations: 256 / 1.01 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/1.503, allocations: 0.8481 MB / 1.011 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.503, allocations: 4 kB / 1.011 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004892/1.504, allocations: 39.97 kB / 1.011 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/1.504, allocations: 4 kB / 1.011 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/1.504, allocations: 7.984 kB / 1.011 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/1.504, allocations: 3.906 kB / 1.011 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.504, allocations: 0 / 1.011 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001696/1.505, allocations: 491 kB / 1.011 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.97e-05/1.506, allocations: 109 kB / 1.011 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/1.506, allocations: 0 / 1.011 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004578/1.506, allocations: 11.98 kB / 1.011 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/1.506, allocations: 11.97 kB / 1.011 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/1.506, allocations: 7.906 kB / 1.011 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.047e-05/1.506, allocations: 83.28 kB / 1.011 GB, free: 155 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005729/1.507, allocations: 143.8 kB / 1.012 GB, free: 154.9 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 (19): * Single equations (assignments): 19 * 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.0009593/1.508, allocations: 0.7562 MB / 1.012 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003698/1.508, allocations: 177.6 kB / 1.012 GB, free: 154 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.508, allocations: 4 kB / 1.012 GB, free: 154 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/1.508, allocations: 111.9 kB / 1.013 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/1.509, allocations: 15.98 kB / 1.013 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/1.509, allocations: 175.5 kB / 1.013 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000372/1.51, allocations: 0.7389 MB / 1.013 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of SimCode: time 3.91e-07/1.51, allocations: 0 / 1.013 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.01283/1.522, allocations: 8.872 MB / 1.022 GB, free: 144 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches