Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001622/0.001622, allocations: 175.7 kB / 8.149 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 95.41 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2653/0.2653, allocations: 43.5 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.165e-06/8.266e-06, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.28, allocations: 58.83 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.537/1.817, allocations: 0.645 GB / 1.11 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/1.818, allocations: 78.95 kB / 1.11 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.5181/2.336, allocations: 108.8 MB / 1.217 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.631e-05/2.336, allocations: 3.875 kB / 1.217 GB, free: 143.6 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.004004/2.34, allocations: 1.061 MB / 1.218 GB, free: 143 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/2.34, allocations: 10.47 kB / 1.218 GB, free: 143 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00088/2.341, allocations: 81.73 kB / 1.218 GB, free: 143 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/2.341, allocations: 250.3 kB / 1.218 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/2.341, allocations: 11.58 kB / 1.218 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/2.341, allocations: 14.34 kB / 1.218 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009953/2.342, allocations: 0.5841 MB / 1.219 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006229/2.343, allocations: 355.7 kB / 1.219 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/2.343, allocations: 3.219 kB / 1.219 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/2.343, allocations: 3.875 kB / 1.219 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/2.343, allocations: 6.719 kB / 1.219 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1356/2.479, allocations: 39.03 MB / 1.257 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/2.479, allocations: 78.61 kB / 1.257 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.353e-05/2.479, allocations: 30.64 kB / 1.257 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03117/2.51, allocations: 7.087 MB / 1.264 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/2.51, allocations: 97.95 kB / 1.264 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 2.525e-06/2.51, allocations: 0 / 1.264 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.002268/2.513, allocations: 315.3 kB / 1.265 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/2.513, allocations: 52.78 kB / 1.265 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/2.513, allocations: 199.8 kB / 1.265 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/2.513, allocations: 25.7 kB / 1.265 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/2.513, allocations: 312.3 kB / 1.265 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/2.513, allocations: 41.89 kB / 1.265 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/2.513, allocations: 5.156 kB / 1.265 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.123e-05/2.513, allocations: 329.9 kB / 1.265 GB, free: 119 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/2.514, allocations: 54.17 kB / 1.266 GB, free: 119 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/2.514, allocations: 298.5 kB / 1.266 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/2.516, allocations: 222.7 kB / 1.266 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/2.516, allocations: 2.812 kB / 1.266 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003771/2.52, allocations: 0.5816 MB / 1.267 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/2.52, allocations: 8.312 kB / 1.267 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/2.52, allocations: 8.656 kB / 1.267 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.885e-05/2.52, allocations: 12.75 kB / 1.267 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/2.521, allocations: 154.5 kB / 1.267 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000666/2.522, allocations: 1.197 MB / 1.268 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/2.522, allocations: 8.5 kB / 1.268 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.061e-05/2.522, allocations: 32.33 kB / 1.268 GB, free: 117.4 MB / 0.4948 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.0001863/2.523, allocations: 64.86 kB / 1.268 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/2.523, allocations: 94.34 kB / 1.268 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/2.524, allocations: 326.7 kB / 1.268 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/2.524, allocations: 9.5 kB / 1.268 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/2.524, allocations: 1.344 kB / 1.268 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/2.524, allocations: 3.281 kB / 1.268 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009472/2.534, allocations: 2.505 MB / 1.271 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/2.534, allocations: 1.719 kB / 1.271 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009663/2.535, allocations: 89.78 kB / 1.271 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/2.535, allocations: 0.875 kB / 1.271 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/2.535, allocations: 2.906 kB / 1.271 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003328/2.535, allocations: 0.5877 MB / 1.272 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/2.535, allocations: 1.219 kB / 1.272 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001287/2.537, allocations: 470.8 kB / 1.272 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/2.537, allocations: 141.3 kB / 1.272 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/2.537, allocations: 6.875 kB / 1.272 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004299/2.537, allocations: 13.34 kB / 1.272 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/2.537, allocations: 8.688 kB / 1.272 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/2.537, allocations: 5.219 kB / 1.272 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002264/2.538, allocations: 167.8 kB / 1.272 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002502/2.54, allocations: 472.5 kB / 1.273 GB, free: 115 MB / 0.4948 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.004254/2.544, allocations: 0.9477 MB / 1.274 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001259/2.546, allocations: 286.1 kB / 1.274 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/2.546, allocations: 1.219 kB / 1.274 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004568/2.546, allocations: 130.1 kB / 1.274 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/2.547, allocations: 36.97 kB / 1.274 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5774/3.124, allocations: 159.8 MB / 1.43 GB, free: 179.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003824/3.125, allocations: 0.8056 MB / 1.431 GB, free: 178.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.873e-06/3.125, allocations: 0 / 1.431 GB, free: 178.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.0262/3.151, allocations: 12.6 MB / 1.443 GB, free: 177.5 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches