Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.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.CO2,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.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,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.CO2") [: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.00249/0.002496, allocations: 171.6 kB / 8.148 MB, free: 2.195 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.748/1.748, 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.001275/0.001275, allocations: 93.22 kB / 261.8 MB, free: 13.61 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.2682/0.2682, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.688e-06/9.768e-06, allocations: 4 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2748, allocations: 58.84 MB / 476.5 MB, free: 5.07 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.338, allocations: 496.8 MB / 0.9506 GB, free: 62.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/1.338, allocations: 74.5 kB / 0.9506 GB, free: 62.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.2171/1.555, allocations: 56.47 MB / 1.006 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.756e-05/1.555, allocations: 7.938 kB / 1.006 GB, free: 13.17 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.002067/1.558, allocations: 0.6895 MB / 1.006 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.558, allocations: 12.03 kB / 1.006 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01401/1.572, allocations: 0.7055 MB / 1.007 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006452/1.572, allocations: 258.7 kB / 1.007 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/1.572, allocations: 119.3 kB / 1.008 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/1.573, allocations: 12 kB / 1.008 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001777/1.574, allocations: 0.5435 MB / 1.008 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006733/1.575, allocations: 311.4 kB / 1.008 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/1.575, allocations: 3.938 kB / 1.008 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.625e-05/1.575, allocations: 0 / 1.008 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/1.575, allocations: 8 kB / 1.008 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00419/1.579, allocations: 2.557 MB / 1.011 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/1.582, allocations: 122.5 kB / 1.011 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/1.582, allocations: 37 kB / 1.011 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-05/1.582, allocations: 24.64 kB / 1.011 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/1.582, allocations: 34.55 kB / 1.011 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 3.256e-06/1.582, allocations: 0 / 1.011 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.006057/1.588, allocations: 0.491 MB / 1.012 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/1.588, allocations: 51.41 kB / 1.012 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/1.588, allocations: 185.8 kB / 1.012 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/1.588, allocations: 29.64 kB / 1.012 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/1.588, allocations: 285.2 kB / 1.012 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/1.588, allocations: 47.44 kB / 1.012 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/1.589, allocations: 0 / 1.012 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.485e-05/1.589, allocations: 326.8 kB / 1.012 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/1.589, allocations: 56.86 kB / 1.013 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/1.589, allocations: 254 kB / 1.013 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/1.591, allocations: 319.4 kB / 1.013 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.591, allocations: 0 / 1.013 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00253/1.594, allocations: 0.5324 MB / 1.014 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.594, allocations: 4 kB / 1.014 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.594, allocations: 8 kB / 1.014 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/1.594, allocations: 12 kB / 1.014 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009501/1.595, allocations: 171.8 kB / 1.014 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003556/1.595, allocations: 0.6134 MB / 1.014 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003902/1.596, allocations: 8 kB / 1.014 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.733e-05/1.596, allocations: 55.98 kB / 1.014 GB, free: 3.684 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 0.0001275/1.596, allocations: 42.92 kB / 1.014 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/1.596, allocations: 15.81 kB / 1.014 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/1.597, allocations: 299.7 kB / 1.015 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/1.597, allocations: 4 kB / 1.015 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.597, allocations: 0 / 1.015 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/1.597, allocations: 3.938 kB / 1.015 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008721/1.598, allocations: 456.5 kB / 1.015 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/1.598, allocations: 0 / 1.015 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005081/1.599, allocations: 71.95 kB / 1.015 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/1.599, allocations: 3.984 kB / 1.015 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/1.599, allocations: 8.062 kB / 1.015 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003012/1.599, allocations: 0.6015 MB / 1.016 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.599, allocations: 4.031 kB / 1.016 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003929/1.6, allocations: 272.4 kB / 1.016 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/1.6, allocations: 112.9 kB / 1.016 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.266e-05/1.6, allocations: 4 kB / 1.016 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/1.6, allocations: 7.984 kB / 1.016 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/1.6, allocations: 11.98 kB / 1.016 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-05/1.6, allocations: 35.89 kB / 1.016 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001466/1.601, allocations: 144.3 kB / 1.016 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001339/1.602, allocations: 271.7 kB / 1.017 GB, free: 1.207 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.002206/1.604, allocations: 0.8786 MB / 1.018 GB, free: 324 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008947/1.605, allocations: 222.5 kB / 1.018 GB, free: 104 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.605, allocations: 1.875 kB / 1.018 GB, free: 104 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003842/1.605, allocations: 87.89 kB / 1.018 GB, free: 16 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1567/1.762, allocations: 26.81 kB / 1.018 GB, free: 209.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1471/1.909, allocations: 30.17 MB / 1.047 GB, free: 208.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000918/1.91, allocations: 0.847 MB / 1.048 GB, free: 207.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.493e-06/1.91, allocations: 0 / 1.048 GB, free: 207.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.02206/1.932, allocations: 9.693 MB / 1.058 GB, free: 206.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches