Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") [: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 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 172.2 kB / 8.517 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 221.4 MB / 230.3 MB, free: 7.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009057/0.0009058, allocations: 95.28 kB / 281.2 MB, free: 5.512 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2172/0.2172, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.756e-06/8.786e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1638, allocations: 61.92 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.7/11.86, allocations: 6.131 GB / 6.625 GB, free: 71.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/11.86, allocations: 83.95 kB / 6.625 GB, free: 71.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.9461/12.81, allocations: 258.3 MB / 6.877 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.735e-05/12.81, allocations: 4 kB / 6.877 GB, free: 32.65 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.01088/12.82, allocations: 1.932 MB / 6.879 GB, free: 30.67 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/12.82, allocations: 15.97 kB / 6.879 GB, free: 30.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/12.82, allocations: 27.72 kB / 6.879 GB, free: 30.63 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/12.82, allocations: 246.6 kB / 6.879 GB, free: 30.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/12.82, allocations: 12 kB / 6.879 GB, free: 30.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/12.82, allocations: 15.94 kB / 6.879 GB, free: 30.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007898/12.82, allocations: 0.86 MB / 6.88 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/12.82, allocations: 472.4 kB / 6.881 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/12.82, allocations: 0 / 6.881 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/12.82, allocations: 4 kB / 6.881 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/12.82, allocations: 24.64 kB / 6.881 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/12.82, allocations: 3.912 MB / 6.884 GB, free: 24.49 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/12.82, allocations: 118.5 kB / 6.885 GB, free: 24.37 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.21e-05/12.82, allocations: 40.86 kB / 6.885 GB, free: 24.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01311/12.84, allocations: 14.83 MB / 6.899 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/12.84, allocations: 115.3 kB / 6.899 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 3.176e-06/12.84, allocations: 0 / 6.899 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.001521/12.84, allocations: 314.9 kB / 6.899 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/12.84, allocations: 55.41 kB / 6.899 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/12.84, allocations: 220 kB / 6.9 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/12.84, allocations: 37.7 kB / 6.9 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/12.84, allocations: 246.4 kB / 6.9 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/12.84, allocations: 67.09 kB / 6.9 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/12.84, allocations: 0 / 6.9 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.389e-05/12.84, allocations: 330.8 kB / 6.9 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/12.84, allocations: 77.28 kB / 6.9 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/12.84, allocations: 341.5 kB / 6.901 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009964/12.84, allocations: 251.7 kB / 6.901 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/12.84, allocations: 7.938 kB / 6.901 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001499/12.84, allocations: 0.5194 MB / 6.902 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/12.84, allocations: 8 kB / 6.902 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/12.84, allocations: 8 kB / 6.902 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/12.84, allocations: 19.91 kB / 6.902 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/12.84, allocations: 175.7 kB / 6.902 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005389/12.84, allocations: 1.208 MB / 6.903 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/12.84, allocations: 19.81 kB / 6.903 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/12.84, allocations: 51.91 kB / 6.903 GB, free: 2.281 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: 42 * 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 (66): * Single equations (assignments): 64 * 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.0001611/12.84, allocations: 132.9 kB / 6.903 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/12.84, allocations: 27.72 kB / 6.903 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006332/12.84, allocations: 248.1 kB / 6.903 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/12.84, allocations: 4 kB / 6.903 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/12.84, allocations: 0 / 6.903 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/12.84, allocations: 0 / 6.903 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000647/12.85, allocations: 0.4978 MB / 6.904 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/12.85, allocations: 0 / 6.904 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/12.85, allocations: 79.81 kB / 6.904 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/12.85, allocations: 0 / 6.904 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/12.85, allocations: 7.984 kB / 6.904 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004507/12.85, allocations: 1.191 MB / 6.905 GB, free: 4 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/12.85, allocations: 0 / 6.905 GB, free: 4 kB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2729/13.12, allocations: 290.5 kB / 6.905 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/13.12, allocations: 132.2 kB / 6.905 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/13.12, allocations: 0 / 6.905 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/13.12, allocations: 17.08 kB / 6.906 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/13.12, allocations: 13.69 kB / 6.906 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/13.12, allocations: 14.38 kB / 6.906 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001367/13.12, allocations: 156.1 kB / 6.906 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00947/13.13, allocations: 1.989 MB / 6.908 GB, free: 135.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.01551/13.14, allocations: 2.906 MB / 6.91 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009944/13.15, allocations: 280.9 kB / 6.911 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/13.15, allocations: 3.844 kB / 6.911 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003671/13.15, allocations: 108.8 kB / 6.911 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/13.15, allocations: 41.53 kB / 6.911 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8252/13.97, allocations: 244.2 MB / 7.149 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004358/13.97, allocations: 0.8258 MB / 7.15 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of SimCode: time 9.21e-07/13.97, allocations: 0 / 7.15 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.06862/14.04, allocations: 52.17 MB / 7.201 GB, free: 124.1 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches