Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001573, allocations: 172.2 kB / 8.149 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 93.12 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2926/0.2926, allocations: 43.49 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.614e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2673, allocations: 58.82 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.37/1.637, allocations: 0.6092 GB / 1.075 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/1.638, allocations: 68.22 kB / 1.075 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1429/1.781, allocations: 44.8 MB / 1.118 GB, free: 89.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.315e-06/1.781, allocations: 4 kB / 1.118 GB, free: 89.54 MB / 0.4948 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.0006167/1.781, allocations: 417.3 kB / 1.119 GB, free: 89.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/1.781, allocations: 8.031 kB / 1.119 GB, free: 89.08 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/1.782, allocations: 15.83 kB / 1.119 GB, free: 89.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.489e-05/1.782, allocations: 170.9 kB / 1.119 GB, free: 88.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/1.782, allocations: 4 kB / 1.119 GB, free: 88.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/1.782, allocations: 7.5 kB / 1.119 GB, free: 88.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001322/1.782, allocations: 42.55 kB / 1.119 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/1.782, allocations: 56.61 kB / 1.119 GB, free: 88.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/1.782, allocations: 3.625 kB / 1.119 GB, free: 88.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/1.782, allocations: 0 / 1.119 GB, free: 88.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/1.782, allocations: 7.906 kB / 1.119 GB, free: 88.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/1.782, allocations: 355.8 kB / 1.119 GB, free: 88.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/1.783, allocations: 56.61 kB / 1.12 GB, free: 88.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/1.783, allocations: 20.61 kB / 1.12 GB, free: 88.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001538/1.784, allocations: 0.9957 MB / 1.121 GB, free: 87.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/1.784, allocations: 42.23 kB / 1.121 GB, free: 87.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 2.325e-06/1.784, allocations: 192 / 1.121 GB, free: 87.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.01406/1.798, allocations: 0.923 MB / 1.121 GB, free: 86.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/1.798, allocations: 51.41 kB / 1.121 GB, free: 86.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.332e-05/1.798, allocations: 100.8 kB / 1.122 GB, free: 86.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/1.798, allocations: 25.7 kB / 1.122 GB, free: 86.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.979e-05/1.799, allocations: 170.5 kB / 1.122 GB, free: 85.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/1.799, allocations: 46.73 kB / 1.122 GB, free: 85.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/1.799, allocations: 0 / 1.122 GB, free: 85.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.564e-05/1.799, allocations: 318.4 kB / 1.122 GB, free: 85.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/1.799, allocations: 72.67 kB / 1.122 GB, free: 85.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/1.799, allocations: 93.39 kB / 1.122 GB, free: 85.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/1.801, allocations: 232.8 kB / 1.123 GB, free: 85.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.801, allocations: 4 kB / 1.123 GB, free: 85.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.002643/1.804, allocations: 367.4 kB / 1.123 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.804, allocations: 7.281 kB / 1.123 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.804, allocations: 0 / 1.123 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/1.804, allocations: 4 kB / 1.123 GB, free: 84.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/1.805, allocations: 55.84 kB / 1.123 GB, free: 84.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.805, allocations: 0 / 1.123 GB, free: 84.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008465/1.806, allocations: 15.98 kB / 1.123 GB, free: 84.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/1.806, allocations: 15.48 kB / 1.123 GB, free: 84.82 MB / 0.4948 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 0.0001109/1.806, allocations: 35.03 kB / 1.123 GB, free: 84.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.589e-05/1.806, allocations: 11.94 kB / 1.123 GB, free: 84.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003245/1.81, allocations: 479.5 kB / 1.123 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/1.81, allocations: 4 kB / 1.123 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.81, allocations: 3.906 kB / 1.123 GB, free: 84.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/1.81, allocations: 4 kB / 1.123 GB, free: 84.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003313/1.813, allocations: 0.8396 MB / 1.124 GB, free: 83.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.813, allocations: 4 kB / 1.124 GB, free: 83.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009475/1.814, allocations: 43.91 kB / 1.124 GB, free: 83.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/1.814, allocations: 4 kB / 1.124 GB, free: 83.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/1.814, allocations: 7.891 kB / 1.124 GB, free: 83.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.814, allocations: 4 kB / 1.124 GB, free: 83.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.814, allocations: 0 / 1.124 GB, free: 83.39 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002637/1.817, allocations: 479.1 kB / 1.125 GB, free: 82.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/1.817, allocations: 105 kB / 1.125 GB, free: 82.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.63e-05/1.817, allocations: 0 / 1.125 GB, free: 82.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007734/1.818, allocations: 11.92 kB / 1.125 GB, free: 82.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/1.818, allocations: 15.89 kB / 1.125 GB, free: 82.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.589e-05/1.818, allocations: 15.92 kB / 1.125 GB, free: 82.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.643e-05/1.818, allocations: 87.47 kB / 1.125 GB, free: 82.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006825/1.819, allocations: 139.8 kB / 1.125 GB, free: 82.52 MB / 0.4948 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.001287/1.82, allocations: 0.7345 MB / 1.126 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005701/1.821, allocations: 183.8 kB / 1.126 GB, free: 81.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.821, allocations: 0 / 1.126 GB, free: 81.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002722/1.821, allocations: 107.4 kB / 1.126 GB, free: 81.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/1.821, allocations: 28.09 kB / 1.126 GB, free: 81.46 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008361/1.822, allocations: 197.2 kB / 1.126 GB, free: 81.24 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005543/1.823, allocations: 0.7389 MB / 1.127 GB, free: 80.47 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/1.823, allocations: 0 / 1.127 GB, free: 80.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.01266/1.836, allocations: 6.867 MB / 1.134 GB, free: 73.59 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches