Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.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.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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 187.8 kB / 7.804 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.002/1.002, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0007775/0.0007775, allocations: 102.8 kB / 261.4 MB, free: 13.55 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.1503/0.1503, allocations: 43.5 MB / 352.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.909e-06/4.949e-06, allocations: 0 / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2251, allocations: 58.84 MB / 476.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7079/0.933, allocations: 496.8 MB / 0.9506 GB, free: 62.39 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.9333, allocations: 72.03 kB / 0.9507 GB, free: 62.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1156/1.049, allocations: 56.47 MB / 1.006 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.267e-05/1.049, allocations: 8 kB / 1.006 GB, free: 13.02 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.001214/1.05, allocations: 0.6888 MB / 1.006 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/1.05, allocations: 8.031 kB / 1.006 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006969/1.057, allocations: 0.7094 MB / 1.007 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/1.058, allocations: 258.6 kB / 1.007 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.813e-05/1.058, allocations: 119.3 kB / 1.008 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.121e-05/1.058, allocations: 12 kB / 1.008 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008969/1.059, allocations: 0.5435 MB / 1.008 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/1.059, allocations: 311.4 kB / 1.008 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.059, allocations: 0 / 1.008 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/1.059, allocations: 4 kB / 1.008 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/1.059, allocations: 11.92 kB / 1.008 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/1.061, allocations: 2.551 MB / 1.011 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/1.062, allocations: 130.5 kB / 1.011 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.513e-05/1.062, allocations: 32.92 kB / 1.011 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/1.063, allocations: 24.62 kB / 1.011 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/1.063, allocations: 34.56 kB / 1.011 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/1.063, allocations: 0 / 1.011 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.002848/1.065, allocations: 494.6 kB / 1.012 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.572e-05/1.065, allocations: 55.41 kB / 1.012 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/1.066, allocations: 193.7 kB / 1.012 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/1.066, allocations: 25.7 kB / 1.012 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/1.066, allocations: 211.1 kB / 1.012 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/1.066, allocations: 39.45 kB / 1.012 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/1.066, allocations: 0 / 1.012 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.465e-05/1.066, allocations: 330.8 kB / 1.012 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/1.066, allocations: 64.86 kB / 1.012 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/1.066, allocations: 254 kB / 1.013 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/1.067, allocations: 311.4 kB / 1.013 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.067, allocations: 4 kB / 1.013 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0013/1.068, allocations: 0.5362 MB / 1.014 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/1.068, allocations: 8.188 kB / 1.014 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.068, allocations: 8 kB / 1.014 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.068, allocations: 8 kB / 1.014 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/1.069, allocations: 167.8 kB / 1.014 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002247/1.069, allocations: 0.6093 MB / 1.014 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/1.069, allocations: 16.09 kB / 1.014 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/1.069, allocations: 51.98 kB / 1.014 GB, free: 3.602 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 8.293e-05/1.07, allocations: 122.2 kB / 1.014 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.066e-05/1.07, allocations: 23.72 kB / 1.014 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006921/1.07, allocations: 291.8 kB / 1.015 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.07, allocations: 4 kB / 1.015 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.07, allocations: 0 / 1.015 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.07, allocations: 7.984 kB / 1.015 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/1.071, allocations: 460.5 kB / 1.015 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.071, allocations: 0 / 1.015 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/1.071, allocations: 71.95 kB / 1.015 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.071, allocations: 4 kB / 1.015 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/1.071, allocations: 7.984 kB / 1.015 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001829/1.071, allocations: 0.5977 MB / 1.016 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.071, allocations: 0 / 1.016 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002/1.072, allocations: 280.4 kB / 1.016 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/1.072, allocations: 108.9 kB / 1.016 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/1.072, allocations: 3.984 kB / 1.016 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/1.072, allocations: 8 kB / 1.016 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/1.072, allocations: 19.89 kB / 1.016 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/1.072, allocations: 23.98 kB / 1.016 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.238e-05/1.072, allocations: 140.4 kB / 1.016 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000822/1.073, allocations: 279.7 kB / 1.017 GB, free: 1.043 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.001187/1.074, allocations: 0.8725 MB / 1.018 GB, free: 164 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.1303/1.204, allocations: 219.5 kB / 1.018 GB, free: 205.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.205, allocations: 0 / 1.018 GB, free: 205.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003262/1.205, allocations: 87.48 kB / 1.018 GB, free: 205.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/1.205, allocations: 26.48 kB / 1.018 GB, free: 205.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08633/1.292, allocations: 30.15 MB / 1.047 GB, free: 204.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/1.292, allocations: 0.8441 MB / 1.048 GB, free: 204 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/1.292, allocations: 0 / 1.048 GB, free: 204 MB / 0.4948 GB Notification: Performance of Templates: time 0.01497/1.307, allocations: 10.89 MB / 1.059 GB, free: 203.2 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches