Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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_ph,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_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_ph") [: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.001448/0.001448, allocations: 195.7 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009892/0.000989, allocations: 92.7 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.206/0.206, allocations: 45.14 MB / 383.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.216e-06/8.326e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1434, allocations: 63.25 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.422/1.565, allocations: 0.5455 GB / 1.049 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003787/1.566, allocations: 83.94 kB / 1.049 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1967/1.762, allocations: 106 MB / 1.153 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.284e-05/1.762, allocations: 4 kB / 1.153 GB, free: 13.01 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.004025/1.766, allocations: 1.036 MB / 1.154 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/1.767, allocations: 16.03 kB / 1.154 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000716/1.767, allocations: 79.64 kB / 1.154 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/1.768, allocations: 238.8 kB / 1.154 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/1.768, allocations: 8 kB / 1.154 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/1.768, allocations: 23.88 kB / 1.154 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007152/1.768, allocations: 0.5829 MB / 1.155 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/1.769, allocations: 353.3 kB / 1.155 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/1.769, allocations: 0 / 1.155 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/1.769, allocations: 7.984 kB / 1.155 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/1.769, allocations: 11.98 kB / 1.155 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.348/2.117, allocations: 29.31 MB / 1.184 GB, free: 204.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.258e-05/2.117, allocations: 36.98 kB / 1.184 GB, free: 204.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/2.117, allocations: 14.14 kB / 1.184 GB, free: 204.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008506/2.126, allocations: 3.569 MB / 1.187 GB, free: 202.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003118/2.126, allocations: 85.33 kB / 1.187 GB, free: 202.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 8.706e-06/2.126, allocations: 0 / 1.187 GB, free: 202.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.001157/2.127, allocations: 152.7 kB / 1.188 GB, free: 202.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.187e-05/2.128, allocations: 51.41 kB / 1.188 GB, free: 202.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/2.128, allocations: 227.7 kB / 1.188 GB, free: 202.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/2.128, allocations: 25.7 kB / 1.188 GB, free: 202.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/2.128, allocations: 255.4 kB / 1.188 GB, free: 202.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/2.128, allocations: 26.42 kB / 1.188 GB, free: 202.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/2.128, allocations: 4 kB / 1.188 GB, free: 202.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001478/2.128, allocations: 331.2 kB / 1.188 GB, free: 202 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.402e-05/2.128, allocations: 53.23 kB / 1.188 GB, free: 202 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/2.129, allocations: 298.5 kB / 1.189 GB, free: 201.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/2.13, allocations: 204.7 kB / 1.189 GB, free: 201.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/2.13, allocations: 7.969 kB / 1.189 GB, free: 201.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002311/2.133, allocations: 0.5507 MB / 1.189 GB, free: 201.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/2.133, allocations: 7.844 kB / 1.189 GB, free: 201.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/2.133, allocations: 7.719 kB / 1.189 GB, free: 201.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.848e-05/2.133, allocations: 12.5 kB / 1.189 GB, free: 201.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/2.133, allocations: 111.9 kB / 1.19 GB, free: 201.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/2.133, allocations: 21.06 kB / 1.19 GB, free: 201.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/2.134, allocations: 48.58 kB / 1.19 GB, free: 201.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/2.134, allocations: 34.11 kB / 1.19 GB, free: 201.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001487/2.134, allocations: 121.4 kB / 1.19 GB, free: 201.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003304/2.134, allocations: 95.12 kB / 1.19 GB, free: 201.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004476/2.135, allocations: 159.4 kB / 1.19 GB, free: 201.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/2.135, allocations: 3.75 kB / 1.19 GB, free: 201.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/2.135, allocations: 0 / 1.19 GB, free: 201.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/2.135, allocations: 0 / 1.19 GB, free: 201.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005668/2.141, allocations: 2.31 MB / 1.192 GB, free: 200.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/2.141, allocations: 0 / 1.192 GB, free: 200.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/2.141, allocations: 8.5 kB / 1.192 GB, free: 200.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/2.141, allocations: 3.969 kB / 1.192 GB, free: 200.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/2.141, allocations: 6.562 kB / 1.192 GB, free: 200.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/2.141, allocations: 0 / 1.192 GB, free: 200.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/2.141, allocations: 3.969 kB / 1.192 GB, free: 200.3 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005069/2.141, allocations: 327.2 kB / 1.193 GB, free: 200 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/2.141, allocations: 151.3 kB / 1.193 GB, free: 199.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/2.141, allocations: 7.625 kB / 1.193 GB, free: 199.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/2.142, allocations: 6.734 kB / 1.193 GB, free: 199.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/2.142, allocations: 12.44 kB / 1.193 GB, free: 199.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/2.142, allocations: 7.594 kB / 1.193 GB, free: 199.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.000176/2.142, allocations: 177.6 kB / 1.193 GB, free: 199.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001934/2.144, allocations: 424.6 kB / 1.193 GB, free: 199.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002017/2.146, allocations: 0.8618 MB / 1.194 GB, free: 199.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003093/2.146, allocations: 166.3 kB / 1.194 GB, free: 199.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/2.146, allocations: 4.312 kB / 1.194 GB, free: 199.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/2.146, allocations: 27.28 kB / 1.194 GB, free: 199.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/2.146, allocations: 23.94 kB / 1.194 GB, free: 199.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3055/2.452, allocations: 208.2 MB / 1.398 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004629/2.452, allocations: 0.7865 MB / 1.399 GB, free: 25.47 MB / 0.5261 GB Notification: Performance of SimCode: time 5.149e-06/2.452, allocations: 4 kB / 1.399 GB, free: 25.47 MB / 0.5261 GB Notification: Performance of Templates: time 0.02005/2.473, allocations: 12.05 MB / 1.41 GB, free: 13.69 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches