Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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_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_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 3.2.3+maint.om/package.mo): time 0.0009158/0.0009158, allocations: 184.6 kB / 7.803 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.019/1.019, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000774/0.000774, allocations: 91.64 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1545/0.1545, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.584e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2262, allocations: 58.84 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.934/1.16, allocations: 0.6092 GB / 1.075 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/1.161, allocations: 75.95 kB / 1.075 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.0797/1.24, allocations: 44.79 MB / 1.118 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.364e-06/1.24, allocations: 0 / 1.118 GB, free: 102.2 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.000543/1.241, allocations: 426.1 kB / 1.119 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.241, allocations: 8.031 kB / 1.119 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/1.241, allocations: 7.906 kB / 1.119 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.728e-05/1.241, allocations: 170.9 kB / 1.119 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/1.241, allocations: 4 kB / 1.119 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/1.241, allocations: 8 kB / 1.119 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001068/1.241, allocations: 43.97 kB / 1.119 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.552e-05/1.241, allocations: 57.69 kB / 1.119 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.241, allocations: 0 / 1.119 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/1.241, allocations: 0 / 1.119 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/1.241, allocations: 3.906 kB / 1.119 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/1.242, allocations: 362.4 kB / 1.119 GB, free: 101 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.358e-05/1.242, allocations: 53.7 kB / 1.12 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/1.242, allocations: 16.86 kB / 1.12 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009178/1.243, allocations: 1.009 MB / 1.121 GB, free: 99.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/1.243, allocations: 34.56 kB / 1.121 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/1.243, allocations: 0 / 1.121 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.007122/1.25, allocations: 0.9189 MB / 1.121 GB, free: 98.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/1.25, allocations: 55.41 kB / 1.122 GB, free: 98.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.634e-05/1.25, allocations: 89 kB / 1.122 GB, free: 98.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/1.25, allocations: 25.7 kB / 1.122 GB, free: 98.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/1.25, allocations: 104.2 kB / 1.122 GB, free: 98.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/1.25, allocations: 39.36 kB / 1.122 GB, free: 98.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/1.25, allocations: 0 / 1.122 GB, free: 98.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.949e-05/1.25, allocations: 318.8 kB / 1.122 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/1.25, allocations: 79.86 kB / 1.122 GB, free: 97.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/1.251, allocations: 94.55 kB / 1.122 GB, free: 97.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/1.252, allocations: 233 kB / 1.122 GB, free: 97.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/1.252, allocations: 0 / 1.122 GB, free: 97.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001428/1.253, allocations: 373.4 kB / 1.123 GB, free: 97.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.253, allocations: 4 kB / 1.123 GB, free: 97.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.253, allocations: 7.969 kB / 1.123 GB, free: 97.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/1.253, allocations: 256 / 1.123 GB, free: 97.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/1.254, allocations: 55.94 kB / 1.123 GB, free: 97.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.254, allocations: 8 kB / 1.123 GB, free: 97.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/1.254, allocations: 15.98 kB / 1.123 GB, free: 97.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/1.254, allocations: 11.98 kB / 1.123 GB, free: 97.16 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 8.451e-05/1.254, allocations: 106.3 kB / 1.123 GB, free: 97.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/1.254, allocations: 7.906 kB / 1.123 GB, free: 97.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/1.256, allocations: 496.5 kB / 1.123 GB, free: 96.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.256, allocations: 4 kB / 1.123 GB, free: 96.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.256, allocations: 3.984 kB / 1.124 GB, free: 96.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/1.256, allocations: 3.984 kB / 1.124 GB, free: 96.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/1.258, allocations: 0.8318 MB / 1.124 GB, free: 95.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.258, allocations: 0 / 1.124 GB, free: 95.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/1.259, allocations: 51.8 kB / 1.124 GB, free: 95.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/1.259, allocations: 4 kB / 1.124 GB, free: 95.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/1.259, allocations: 8 kB / 1.124 GB, free: 95.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.259, allocations: 0 / 1.124 GB, free: 95.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.259, allocations: 0 / 1.124 GB, free: 95.57 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001413/1.26, allocations: 482.2 kB / 1.125 GB, free: 95.08 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.174e-05/1.26, allocations: 101 kB / 1.125 GB, free: 94.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/1.26, allocations: 0 / 1.125 GB, free: 94.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/1.261, allocations: 15.89 kB / 1.125 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/1.261, allocations: 7.984 kB / 1.125 GB, free: 94.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/1.261, allocations: 19.92 kB / 1.125 GB, free: 94.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.064e-05/1.261, allocations: 83.22 kB / 1.125 GB, free: 94.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004942/1.261, allocations: 139.8 kB / 1.125 GB, free: 94.7 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.0009169/1.262, allocations: 0.7461 MB / 1.126 GB, free: 93.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003209/1.262, allocations: 179.8 kB / 1.126 GB, free: 93.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.262, allocations: 0 / 1.126 GB, free: 93.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/1.263, allocations: 103.9 kB / 1.126 GB, free: 93.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/1.263, allocations: 23.97 kB / 1.126 GB, free: 93.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005124/1.263, allocations: 167.7 kB / 1.126 GB, free: 93.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/1.264, allocations: 0.7506 MB / 1.127 GB, free: 92.68 MB / 0.4948 GB Notification: Performance of SimCode: time 2.6e-07/1.264, allocations: 0 / 1.127 GB, free: 92.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.01118/1.275, allocations: 8.859 MB / 1.136 GB, free: 83.8 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches