Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.IncompleteMedia.ReferenceAir_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") [: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.0008854/0.0008855, allocations: 189.4 kB / 7.801 MB, free: 2.496 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.075/1.075, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0007782/0.0007784, allocations: 87.98 kB / 261.4 MB, free: 13.61 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.1657/0.1657, allocations: 43.48 MB / 352.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.13e-06/5.14e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2404, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9685/1.209, allocations: 0.645 GB / 1.11 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/1.209, allocations: 87.94 kB / 1.11 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.1716/1.381, allocations: 108.8 MB / 1.217 GB, free: 48.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.304e-05/1.381, allocations: 4 kB / 1.217 GB, free: 48.4 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002497/1.383, allocations: 1.064 MB / 1.218 GB, free: 47.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/1.383, allocations: 12.03 kB / 1.218 GB, free: 47.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005298/1.384, allocations: 75.66 kB / 1.218 GB, free: 47.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/1.384, allocations: 250.6 kB / 1.218 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/1.384, allocations: 12 kB / 1.218 GB, free: 46.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/1.384, allocations: 16 kB / 1.218 GB, free: 46.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005199/1.385, allocations: 0.579 MB / 1.219 GB, free: 46.31 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/1.385, allocations: 357.3 kB / 1.219 GB, free: 45.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.385, allocations: 4 kB / 1.219 GB, free: 45.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/1.385, allocations: 4 kB / 1.219 GB, free: 45.92 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/1.385, allocations: 4 kB / 1.219 GB, free: 45.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06845/1.454, allocations: 39.03 MB / 1.257 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/1.454, allocations: 78.64 kB / 1.257 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/1.454, allocations: 32.84 kB / 1.257 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1568/1.611, allocations: 7.087 MB / 1.264 GB, free: 204.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/1.611, allocations: 95.97 kB / 1.264 GB, free: 204.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 2.535e-06/1.611, allocations: 0 / 1.264 GB, free: 204.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.001337/1.612, allocations: 314 kB / 1.265 GB, free: 204.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.851e-05/1.612, allocations: 55.38 kB / 1.265 GB, free: 204.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/1.612, allocations: 197.9 kB / 1.265 GB, free: 204.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/1.612, allocations: 25.7 kB / 1.265 GB, free: 204.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/1.613, allocations: 238.4 kB / 1.265 GB, free: 204.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/1.613, allocations: 54.95 kB / 1.265 GB, free: 204.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/1.613, allocations: 2.656 kB / 1.265 GB, free: 204.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.221e-05/1.613, allocations: 325.2 kB / 1.265 GB, free: 203.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-05/1.613, allocations: 52.62 kB / 1.265 GB, free: 203.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/1.613, allocations: 300.7 kB / 1.266 GB, free: 203.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/1.614, allocations: 222 kB / 1.266 GB, free: 203.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.614, allocations: 3.625 kB / 1.266 GB, free: 203.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002055/1.616, allocations: 0.5817 MB / 1.267 GB, free: 203.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.616, allocations: 3.844 kB / 1.267 GB, free: 203.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.616, allocations: 7.594 kB / 1.267 GB, free: 203.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/1.616, allocations: 11.53 kB / 1.267 GB, free: 203.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/1.617, allocations: 152.1 kB / 1.267 GB, free: 203.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004364/1.617, allocations: 1.205 MB / 1.268 GB, free: 202.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/1.618, allocations: 10.47 kB / 1.268 GB, free: 202.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/1.618, allocations: 33.16 kB / 1.268 GB, free: 202.3 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001427/1.618, allocations: 132.2 kB / 1.268 GB, free: 202.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/1.618, allocations: 92.53 kB / 1.268 GB, free: 202.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000618/1.619, allocations: 332.2 kB / 1.268 GB, free: 202.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.619, allocations: 0 / 1.268 GB, free: 202.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/1.619, allocations: 3.531 kB / 1.268 GB, free: 202.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/1.619, allocations: 0 / 1.268 GB, free: 202.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004653/1.623, allocations: 2.503 MB / 1.271 GB, free: 201 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.623, allocations: 3.594 kB / 1.271 GB, free: 201 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/1.624, allocations: 91.2 kB / 1.271 GB, free: 201 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/1.624, allocations: 0 / 1.271 GB, free: 201 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/1.624, allocations: 3.844 kB / 1.271 GB, free: 201 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001992/1.624, allocations: 0.593 MB / 1.272 GB, free: 200.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.624, allocations: 3.75 kB / 1.272 GB, free: 200.4 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006729/1.625, allocations: 469 kB / 1.272 GB, free: 200.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/1.625, allocations: 146.3 kB / 1.272 GB, free: 200.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/1.625, allocations: 7.875 kB / 1.272 GB, free: 200.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/1.625, allocations: 7.406 kB / 1.272 GB, free: 200.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/1.625, allocations: 14.72 kB / 1.272 GB, free: 200.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/1.625, allocations: 7.625 kB / 1.272 GB, free: 200.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001026/1.625, allocations: 167.3 kB / 1.272 GB, free: 200 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001313/1.627, allocations: 474.5 kB / 1.273 GB, free: 200 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001773/1.628, allocations: 0.9296 MB / 1.274 GB, free: 199.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005642/1.629, allocations: 294.3 kB / 1.274 GB, free: 199.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.629, allocations: 0 / 1.274 GB, free: 199.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002377/1.629, allocations: 124.7 kB / 1.274 GB, free: 199.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/1.63, allocations: 43.03 kB / 1.274 GB, free: 199.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.211/1.841, allocations: 159.8 MB / 1.43 GB, free: 93.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/1.841, allocations: 0.8016 MB / 1.431 GB, free: 92.56 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/1.841, allocations: 0 / 1.431 GB, free: 92.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.01604/1.857, allocations: 13.6 MB / 1.444 GB, free: 79.23 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches