Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.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.001624/0.001623, allocations: 170.2 kB / 8.145 MB, free: 2.211 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.709/1.709, 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.001226/0.001226, allocations: 92.58 kB / 261.8 MB, free: 13.63 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.2843/0.2843, allocations: 43.5 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.058e-05/1.082e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3057, allocations: 58.83 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.372/1.678, allocations: 0.5955 GB / 1.061 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/1.678, allocations: 75.22 kB / 1.061 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.2391/1.918, allocations: 60.28 MB / 1.12 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.599e-05/1.918, allocations: 4 kB / 1.12 GB, free: 137.2 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.003777/1.921, allocations: 0.7101 MB / 1.12 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.594e-05/1.922, allocations: 8.031 kB / 1.12 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0225/1.944, allocations: 0.7024 MB / 1.121 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/1.945, allocations: 263.7 kB / 1.121 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/1.945, allocations: 111.3 kB / 1.122 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002724/1.946, allocations: 16 kB / 1.122 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002677/1.948, allocations: 0.5401 MB / 1.122 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009904/1.949, allocations: 321.1 kB / 1.122 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/1.949, allocations: 0 / 1.122 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.913e-05/1.95, allocations: 0 / 1.122 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/1.95, allocations: 8 kB / 1.122 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005214/1.955, allocations: 1.92 MB / 1.124 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002863/1.958, allocations: 122.5 kB / 1.124 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/1.958, allocations: 36.92 kB / 1.124 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/1.958, allocations: 20.64 kB / 1.124 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/1.958, allocations: 42.47 kB / 1.124 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 4.799e-06/1.958, allocations: 0 / 1.124 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.009078/1.967, allocations: 491 kB / 1.125 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/1.967, allocations: 59.31 kB / 1.125 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/1.968, allocations: 189.9 kB / 1.125 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/1.968, allocations: 29.64 kB / 1.125 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/1.968, allocations: 277.2 kB / 1.125 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/1.968, allocations: 47.39 kB / 1.125 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/1.968, allocations: 0 / 1.125 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/1.968, allocations: 330.8 kB / 1.126 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/1.968, allocations: 60.86 kB / 1.126 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/1.969, allocations: 254 kB / 1.126 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/1.97, allocations: 135.8 kB / 1.126 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.97, allocations: 0 / 1.126 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001827/1.972, allocations: 377.5 kB / 1.127 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/1.972, allocations: 4 kB / 1.127 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/1.972, allocations: 8 kB / 1.127 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.88e-05/1.972, allocations: 8 kB / 1.127 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/1.974, allocations: 167.8 kB / 1.127 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005096/1.974, allocations: 0.6132 MB / 1.127 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006603/1.975, allocations: 12.17 kB / 1.127 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/1.975, allocations: 59.98 kB / 1.127 GB, free: 129 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000196/1.975, allocations: 46.92 kB / 1.127 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/1.975, allocations: 19.72 kB / 1.128 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/1.977, allocations: 295.8 kB / 1.128 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.977, allocations: 0 / 1.128 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.977, allocations: 3.938 kB / 1.128 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.977, allocations: 0 / 1.128 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009856/1.978, allocations: 452.6 kB / 1.128 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.978, allocations: 0 / 1.128 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/1.979, allocations: 75.89 kB / 1.128 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/1.979, allocations: 4.078 kB / 1.128 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/1.979, allocations: 19.98 kB / 1.128 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003059/1.979, allocations: 0.5977 MB / 1.129 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.979, allocations: 0 / 1.129 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003939/1.98, allocations: 264.4 kB / 1.129 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/1.98, allocations: 116.9 kB / 1.129 GB, free: 127 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.25e-05/1.98, allocations: 0 / 1.129 GB, free: 127 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/1.98, allocations: 7.906 kB / 1.129 GB, free: 127 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/1.981, allocations: 15.98 kB / 1.129 GB, free: 127 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/1.981, allocations: 31.98 kB / 1.129 GB, free: 127 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001855/1.981, allocations: 140.4 kB / 1.129 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001429/1.982, allocations: 267.6 kB / 1.13 GB, free: 126.6 MB / 0.5105 GB 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002005/1.984, allocations: 0.8673 MB / 1.131 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009469/1.985, allocations: 221.4 kB / 1.131 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.985, allocations: 4.125 kB / 1.131 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003878/1.986, allocations: 79.91 kB / 1.131 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/1.986, allocations: 28.11 kB / 1.131 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1386/2.125, allocations: 28.28 MB / 1.158 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009697/2.126, allocations: 0.8451 MB / 1.159 GB, free: 96.04 MB / 0.5105 GB Notification: Performance of SimCode: time 1.443e-06/2.126, allocations: 3.938 kB / 1.159 GB, free: 96.03 MB / 0.5105 GB Notification: Performance of Templates: time 0.0196/2.145, allocations: 9.615 MB / 1.169 GB, free: 86.39 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches