Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.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.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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009219/0.0009219, allocations: 190.4 kB / 7.803 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9816/0.9816, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0007869/0.0007869, allocations: 83.58 kB / 261.4 MB, free: 13.62 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.1542/0.1542, allocations: 43.49 MB / 352.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.089e-06/5.179e-06, allocations: 0 / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2033, allocations: 58.83 MB / 476.5 MB, free: 5.297 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8663/1.07, allocations: 0.5954 GB / 1.061 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/1.07, allocations: 78.83 kB / 1.061 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1214/1.191, allocations: 60.28 MB / 1.12 GB, free: 88.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.232e-05/1.191, allocations: 4 kB / 1.12 GB, free: 88.71 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00136/1.193, allocations: 0.7162 MB / 1.12 GB, free: 87.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/1.193, allocations: 8.031 kB / 1.12 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006987/1.2, allocations: 0.7094 MB / 1.121 GB, free: 87.24 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/1.2, allocations: 254.7 kB / 1.121 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.223e-05/1.2, allocations: 119.2 kB / 1.122 GB, free: 86.81 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.066e-05/1.2, allocations: 12 kB / 1.122 GB, free: 86.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008852/1.201, allocations: 0.5435 MB / 1.122 GB, free: 86.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/1.202, allocations: 307.5 kB / 1.122 GB, free: 85.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.202, allocations: 0 / 1.122 GB, free: 85.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/1.202, allocations: 7.938 kB / 1.122 GB, free: 85.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/1.202, allocations: 4 kB / 1.122 GB, free: 85.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/1.204, allocations: 1.917 MB / 1.124 GB, free: 83.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009829/1.205, allocations: 122.5 kB / 1.124 GB, free: 83.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/1.205, allocations: 36.92 kB / 1.124 GB, free: 83.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/1.205, allocations: 24.88 kB / 1.124 GB, free: 83.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/1.205, allocations: 38.41 kB / 1.124 GB, free: 83.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/1.205, allocations: 0 / 1.124 GB, free: 83.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.002928/1.208, allocations: 0.4986 MB / 1.125 GB, free: 83.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/1.208, allocations: 59.31 kB / 1.125 GB, free: 82.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/1.208, allocations: 182.1 kB / 1.125 GB, free: 82.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/1.208, allocations: 25.7 kB / 1.125 GB, free: 82.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/1.208, allocations: 210.8 kB / 1.125 GB, free: 82.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/1.208, allocations: 51.33 kB / 1.125 GB, free: 82.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/1.208, allocations: 3.938 kB / 1.125 GB, free: 82.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.495e-05/1.208, allocations: 330.8 kB / 1.126 GB, free: 82.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.262e-05/1.208, allocations: 56.86 kB / 1.126 GB, free: 82.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/1.208, allocations: 258 kB / 1.126 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/1.209, allocations: 131.8 kB / 1.126 GB, free: 81.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.209, allocations: 4 kB / 1.126 GB, free: 81.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006866/1.209, allocations: 365.3 kB / 1.127 GB, free: 81.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.21, allocations: 8 kB / 1.127 GB, free: 81.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.21, allocations: 4 kB / 1.127 GB, free: 81.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/1.21, allocations: 12 kB / 1.127 GB, free: 81.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/1.21, allocations: 171.8 kB / 1.127 GB, free: 81.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000262/1.21, allocations: 0.6136 MB / 1.127 GB, free: 80.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/1.211, allocations: 8 kB / 1.127 GB, free: 80.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.346e-05/1.211, allocations: 59.98 kB / 1.127 GB, free: 80.38 MB / 0.4948 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 9.978e-05/1.211, allocations: 126.1 kB / 1.128 GB, free: 80.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/1.211, allocations: 15.81 kB / 1.128 GB, free: 80.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007078/1.212, allocations: 299.9 kB / 1.128 GB, free: 79.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.212, allocations: 0 / 1.128 GB, free: 79.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.212, allocations: 0 / 1.128 GB, free: 79.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.212, allocations: 3.906 kB / 1.128 GB, free: 79.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/1.212, allocations: 452.6 kB / 1.128 GB, free: 79.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/1.212, allocations: 0 / 1.128 GB, free: 79.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/1.212, allocations: 71.97 kB / 1.128 GB, free: 79.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.212, allocations: 7.891 kB / 1.128 GB, free: 79.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/1.212, allocations: 8 kB / 1.128 GB, free: 79.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000176/1.213, allocations: 0.5939 MB / 1.129 GB, free: 78.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.213, allocations: 7.969 kB / 1.129 GB, free: 78.73 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002056/1.213, allocations: 268.4 kB / 1.129 GB, free: 78.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/1.213, allocations: 120.8 kB / 1.129 GB, free: 78.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/1.213, allocations: 0 / 1.129 GB, free: 78.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/1.213, allocations: 4 kB / 1.129 GB, free: 78.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/1.213, allocations: 15.98 kB / 1.129 GB, free: 78.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/1.213, allocations: 27.98 kB / 1.129 GB, free: 78.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.49e-05/1.213, allocations: 136.4 kB / 1.129 GB, free: 78.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008323/1.214, allocations: 271.7 kB / 1.13 GB, free: 77.85 MB / 0.4948 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.001223/1.215, allocations: 0.8633 MB / 1.131 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004215/1.216, allocations: 216.4 kB / 1.131 GB, free: 76.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.216, allocations: 0 / 1.131 GB, free: 76.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/1.216, allocations: 87.91 kB / 1.131 GB, free: 76.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/1.216, allocations: 33.31 kB / 1.131 GB, free: 76.65 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07687/1.293, allocations: 28.25 MB / 1.158 GB, free: 48.24 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000558/1.294, allocations: 0.8451 MB / 1.159 GB, free: 47.36 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/1.294, allocations: 0 / 1.159 GB, free: 47.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.01314/1.307, allocations: 10.62 MB / 1.17 GB, free: 36.73 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches