Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001247/0.001247, allocations: 195.6 kB / 8.537 MB, free: 1.75 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 225.5 MB / 234.4 MB, free: 3.418 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009788/0.0009789, allocations: 88.77 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 45.14 MB / 383.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.227e-06/9.377e-06, allocations: 4 kB / 452.6 MB, free: 76.23 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1599, allocations: 63.24 MB / 0.5038 GB, free: 13.07 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.522/1.682, allocations: 0.5455 GB / 1.049 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/1.683, allocations: 79.95 kB / 1.049 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1929/1.876, allocations: 106 MB / 1.153 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.066e-05/1.876, allocations: 4 kB / 1.153 GB, free: 13.24 MB / 0.5261 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.003703/1.879, allocations: 1.036 MB / 1.154 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.879, allocations: 12.03 kB / 1.154 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007307/1.88, allocations: 83.64 kB / 1.154 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/1.881, allocations: 238.8 kB / 1.154 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/1.881, allocations: 8 kB / 1.154 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/1.881, allocations: 19.94 kB / 1.154 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006899/1.881, allocations: 0.5907 MB / 1.155 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/1.882, allocations: 357.3 kB / 1.155 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/1.882, allocations: 0 / 1.155 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/1.882, allocations: 7.938 kB / 1.155 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.882, allocations: 4 kB / 1.155 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3643/2.246, allocations: 39.03 MB / 1.193 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/2.246, allocations: 73.2 kB / 1.193 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/2.247, allocations: 22.39 kB / 1.193 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01585/2.262, allocations: 7.096 MB / 1.2 GB, free: 193.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/2.263, allocations: 98.31 kB / 1.2 GB, free: 193.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 3.557e-06/2.263, allocations: 0 / 1.2 GB, free: 193.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.001559/2.264, allocations: 309.9 kB / 1.201 GB, free: 193 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/2.264, allocations: 55.06 kB / 1.201 GB, free: 193 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/2.265, allocations: 200.9 kB / 1.201 GB, free: 192.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/2.265, allocations: 29.27 kB / 1.201 GB, free: 192.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/2.265, allocations: 240.7 kB / 1.201 GB, free: 192.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/2.265, allocations: 47.55 kB / 1.201 GB, free: 192.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/2.265, allocations: 0 / 1.201 GB, free: 192.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.806e-05/2.265, allocations: 327.9 kB / 1.202 GB, free: 192.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/2.265, allocations: 55.8 kB / 1.202 GB, free: 192.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/2.265, allocations: 293.8 kB / 1.202 GB, free: 192 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/2.267, allocations: 221.9 kB / 1.202 GB, free: 192 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/2.267, allocations: 0 / 1.202 GB, free: 192 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002174/2.269, allocations: 0.5811 MB / 1.203 GB, free: 192 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/2.269, allocations: 7.75 kB / 1.203 GB, free: 192 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/2.269, allocations: 15.56 kB / 1.203 GB, free: 192 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/2.269, allocations: 11.75 kB / 1.203 GB, free: 192 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/2.269, allocations: 157 kB / 1.203 GB, free: 192 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005264/2.27, allocations: 1.195 MB / 1.204 GB, free: 190.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/2.27, allocations: 7.875 kB / 1.204 GB, free: 190.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/2.27, allocations: 33.92 kB / 1.204 GB, free: 190.8 MB / 0.5261 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.0001714/2.27, allocations: 130.8 kB / 1.204 GB, free: 190.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/2.271, allocations: 93.38 kB / 1.204 GB, free: 190.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006606/2.271, allocations: 333.6 kB / 1.205 GB, free: 190.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/2.271, allocations: 5.391 kB / 1.205 GB, free: 190.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/2.271, allocations: 0 / 1.205 GB, free: 190.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/2.271, allocations: 3.906 kB / 1.205 GB, free: 190.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005457/2.277, allocations: 2.498 MB / 1.207 GB, free: 189.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/2.277, allocations: 3.969 kB / 1.207 GB, free: 189.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/2.278, allocations: 88.28 kB / 1.207 GB, free: 189.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/2.278, allocations: 7.797 kB / 1.207 GB, free: 189.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/2.278, allocations: 0 / 1.207 GB, free: 189.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002495/2.278, allocations: 0.5889 MB / 1.208 GB, free: 188.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/2.278, allocations: 6.281 kB / 1.208 GB, free: 188.8 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007746/2.279, allocations: 456.9 kB / 1.208 GB, free: 188.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/2.279, allocations: 149.9 kB / 1.208 GB, free: 188.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.885e-05/2.279, allocations: 3.906 kB / 1.208 GB, free: 188.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/2.279, allocations: 11.47 kB / 1.208 GB, free: 188.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/2.279, allocations: 14.89 kB / 1.208 GB, free: 188.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/2.279, allocations: 6.969 kB / 1.208 GB, free: 188.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001323/2.279, allocations: 169.9 kB / 1.208 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002033/2.281, allocations: 476.7 kB / 1.209 GB, free: 188.4 MB / 0.5261 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.002276/2.284, allocations: 0.9385 MB / 1.21 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008361/2.284, allocations: 288.8 kB / 1.21 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/2.284, allocations: 7.797 kB / 1.21 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002737/2.285, allocations: 119.3 kB / 1.21 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/2.285, allocations: 40.34 kB / 1.21 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2736/2.559, allocations: 157.1 MB / 1.364 GB, free: 59.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/2.559, allocations: 0.8061 MB / 1.364 GB, free: 58.71 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/2.559, allocations: 0 / 1.364 GB, free: 58.71 MB / 0.5261 GB Notification: Performance of Templates: time 0.02321/2.582, allocations: 13.61 MB / 1.378 GB, free: 45.42 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches