Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 174.4 kB / 8.517 MB, free: 1.859 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.324/1.324, allocations: 221.4 MB / 230.3 MB, free: 7.637 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.0009547/0.0009547, allocations: 86.23 kB / 281.2 MB, free: 5.438 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.2252/0.2252, allocations: 44.14 MB / 376.1 MB, free: 3.195 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.615e-05/1.619e-05, allocations: 0 / 444 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1467, allocations: 61.91 MB / 0.4941 GB, free: 1.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.366/1.513, allocations: 0.5444 GB / 1.039 GB, free: 61.22 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.513, allocations: 85.12 kB / 1.039 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.4945/2.008, allocations: 105.9 MB / 1.142 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.026e-05/2.008, allocations: 3.062 kB / 1.142 GB, free: 159.5 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.003816/2.012, allocations: 1.039 MB / 1.143 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/2.012, allocations: 13.44 kB / 1.143 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000671/2.012, allocations: 83.52 kB / 1.143 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/2.013, allocations: 249.4 kB / 1.143 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/2.013, allocations: 8.156 kB / 1.143 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/2.013, allocations: 14.88 kB / 1.143 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001119/2.014, allocations: 0.5871 MB / 1.144 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/2.015, allocations: 356.3 kB / 1.144 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/2.015, allocations: 5.125 kB / 1.144 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/2.015, allocations: 1.125 kB / 1.144 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/2.015, allocations: 12.48 kB / 1.144 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05399/2.069, allocations: 29.32 MB / 1.173 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.848e-05/2.069, allocations: 34.52 kB / 1.173 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/2.069, allocations: 12.98 kB / 1.173 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007984/2.077, allocations: 3.566 MB / 1.177 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/2.077, allocations: 87.2 kB / 1.177 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 4.548e-06/2.077, allocations: 0 / 1.177 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0008355/2.078, allocations: 161.3 kB / 1.177 GB, free: 124 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/2.078, allocations: 51.41 kB / 1.177 GB, free: 124 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/2.078, allocations: 224 kB / 1.177 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/2.078, allocations: 29.7 kB / 1.177 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/2.078, allocations: 250.1 kB / 1.177 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/2.078, allocations: 35.73 kB / 1.177 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/2.078, allocations: 0 / 1.177 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.139e-05/2.078, allocations: 330.8 kB / 1.178 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-05/2.079, allocations: 44.88 kB / 1.178 GB, free: 123 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/2.079, allocations: 297.9 kB / 1.178 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/2.08, allocations: 211.6 kB / 1.178 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/2.08, allocations: 4 kB / 1.178 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002075/2.082, allocations: 0.5553 MB / 1.179 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/2.082, allocations: 4 kB / 1.179 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/2.082, allocations: 8.875 kB / 1.179 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/2.082, allocations: 16 kB / 1.179 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/2.083, allocations: 111.8 kB / 1.179 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/2.083, allocations: 15.94 kB / 1.179 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/2.083, allocations: 43.44 kB / 1.179 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/2.083, allocations: 35.98 kB / 1.179 GB, free: 121.6 MB / 0.5105 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 8.949e-05/2.083, allocations: 132.6 kB / 1.179 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/2.084, allocations: 87.72 kB / 1.179 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/2.084, allocations: 148 kB / 1.179 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/2.084, allocations: 7.906 kB / 1.179 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/2.084, allocations: 0 / 1.179 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/2.084, allocations: 4 kB / 1.179 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004605/2.089, allocations: 2.309 MB / 1.182 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/2.089, allocations: 4.125 kB / 1.182 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/2.089, allocations: 19.92 kB / 1.182 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/2.089, allocations: 4 kB / 1.182 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/2.089, allocations: 0 / 1.182 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/2.089, allocations: 4 kB / 1.182 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/2.089, allocations: 3.938 kB / 1.182 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000479/2.089, allocations: 326 kB / 1.182 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-05/2.089, allocations: 140.8 kB / 1.182 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/2.089, allocations: 7.984 kB / 1.182 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/2.09, allocations: 8 kB / 1.182 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/2.09, allocations: 4 kB / 1.182 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/2.09, allocations: 7.984 kB / 1.182 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001268/2.09, allocations: 179.1 kB / 1.182 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001958/2.092, allocations: 435.3 kB / 1.183 GB, free: 117.5 MB / 0.5105 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.002069/2.094, allocations: 0.8565 MB / 1.183 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002839/2.094, allocations: 169.8 kB / 1.184 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/2.094, allocations: 4.125 kB / 1.184 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-05/2.094, allocations: 23.92 kB / 1.184 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/2.094, allocations: 16.98 kB / 1.184 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5581/2.652, allocations: 208.1 MB / 1.387 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/2.653, allocations: 0.7865 MB / 1.388 GB, free: 162 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/2.653, allocations: 3.609 kB / 1.388 GB, free: 162 MB / 0.5105 GB Notification: Performance of Templates: time 0.02001/2.673, allocations: 12.04 MB / 1.399 GB, free: 150.4 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches