Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.WaterIF97_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 221.5 MB / 230.7 MB, free: 7.531 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.001092/0.001092, allocations: 88.3 kB / 281.6 MB, free: 5.27 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.2016/0.2016, allocations: 44.14 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.385e-05/2.386e-05, allocations: 8.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1804, allocations: 61.9 MB / 0.4947 GB, free: 1.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.69/7.87, allocations: 2.755 GB / 3.249 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/7.87, allocations: 83.22 kB / 3.25 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8891/8.759, allocations: 214 MB / 3.458 GB, free: 87.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.623e-06/8.759, allocations: 0 / 3.458 GB, free: 87.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.503e-05/8.759, allocations: 3.75 kB / 3.458 GB, free: 87.41 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.008975/8.768, allocations: 1.739 MB / 3.46 GB, free: 86.47 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/8.769, allocations: 14.5 kB / 3.46 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/8.77, allocations: 185.6 kB / 3.46 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/8.77, allocations: 273.3 kB / 3.461 GB, free: 86.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/8.77, allocations: 9.594 kB / 3.461 GB, free: 86.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/8.77, allocations: 25.81 kB / 3.461 GB, free: 86.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006034/8.771, allocations: 471.2 kB / 3.461 GB, free: 86.24 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/8.772, allocations: 383 kB / 3.461 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/8.772, allocations: 0 / 3.461 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/8.772, allocations: 3.25 kB / 3.461 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/8.772, allocations: 10.94 kB / 3.461 GB, free: 86.09 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2865/9.058, allocations: 127.7 MB / 3.586 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/9.058, allocations: 79 kB / 3.586 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/9.058, allocations: 31.34 kB / 3.586 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4464/9.505, allocations: 46.16 MB / 3.631 GB, free: 86.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/9.505, allocations: 108.6 kB / 3.631 GB, free: 86.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.144e-06/9.505, allocations: 0 / 3.631 GB, free: 86.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.002641/9.508, allocations: 0.5941 MB / 3.632 GB, free: 86.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/9.508, allocations: 80.8 kB / 3.632 GB, free: 86.76 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/9.508, allocations: 226 kB / 3.632 GB, free: 86.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/9.508, allocations: 29.22 kB / 3.632 GB, free: 86.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/9.508, allocations: 251.1 kB / 3.633 GB, free: 86.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/9.508, allocations: 46.03 kB / 3.633 GB, free: 86.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/9.508, allocations: 0 / 3.633 GB, free: 86.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.093e-05/9.508, allocations: 331.9 kB / 3.633 GB, free: 86.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.731e-05/9.508, allocations: 67.92 kB / 3.633 GB, free: 86.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/9.509, allocations: 328.5 kB / 3.633 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/9.51, allocations: 204.2 kB / 3.634 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/9.51, allocations: 3.344 kB / 3.634 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001462/9.511, allocations: 494.6 kB / 3.634 GB, free: 85.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/9.511, allocations: 14.88 kB / 3.634 GB, free: 85.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/9.511, allocations: 7.688 kB / 3.634 GB, free: 85.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/9.511, allocations: 22.64 kB / 3.634 GB, free: 85.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/9.512, allocations: 216.9 kB / 3.634 GB, free: 85.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002963/9.513, allocations: 0.5954 MB / 3.635 GB, free: 85.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/9.513, allocations: 12.84 kB / 3.635 GB, free: 85.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/9.513, allocations: 45.73 kB / 3.635 GB, free: 85.17 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001112/9.513, allocations: 126 kB / 3.635 GB, free: 85.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/9.513, allocations: 37 kB / 3.635 GB, free: 85.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000821/9.514, allocations: 0.781 MB / 3.636 GB, free: 84.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/9.514, allocations: 14.77 kB / 3.636 GB, free: 84.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/9.514, allocations: 3.781 kB / 3.636 GB, free: 84.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/9.514, allocations: 1.125 kB / 3.636 GB, free: 84.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/9.515, allocations: 419.3 kB / 3.636 GB, free: 84.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/9.515, allocations: 0 / 3.636 GB, free: 84.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003612/9.515, allocations: 50.98 kB / 3.636 GB, free: 84.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002577/9.515, allocations: 231.7 kB / 3.637 GB, free: 84.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/9.515, allocations: 2.938 kB / 3.637 GB, free: 84.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003041/9.516, allocations: 0.6642 MB / 3.637 GB, free: 84.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/9.516, allocations: 0 / 3.637 GB, free: 84.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/9.516, allocations: 0.5759 MB / 3.638 GB, free: 84.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-05/9.516, allocations: 144.4 kB / 3.638 GB, free: 83.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/9.516, allocations: 3.094 kB / 3.638 GB, free: 83.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/9.517, allocations: 9.906 kB / 3.638 GB, free: 83.97 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/9.517, allocations: 16.66 kB / 3.638 GB, free: 83.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/9.517, allocations: 9.281 kB / 3.638 GB, free: 83.97 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001636/9.517, allocations: 220.6 kB / 3.638 GB, free: 83.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/9.517, allocations: 3.844 kB / 3.638 GB, free: 83.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007102/9.524, allocations: 1.597 MB / 3.64 GB, free: 83.86 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: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01191/9.536, allocations: 2.048 MB / 3.642 GB, free: 83.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007109/9.537, allocations: 303 kB / 3.642 GB, free: 83.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/9.537, allocations: 0 / 3.642 GB, free: 83.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/9.537, allocations: 164.1 kB / 3.642 GB, free: 83.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/9.537, allocations: 41.66 kB / 3.642 GB, free: 83.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007964/9.538, allocations: 472.2 kB / 3.643 GB, free: 83.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/9.538, allocations: 0.8075 MB / 3.643 GB, free: 82.69 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001487/9.54, allocations: 1.129 MB / 3.645 GB, free: 82.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/9.54, allocations: 49.36 kB / 3.645 GB, free: 82.63 MB / 0.5261 GB Notification: Performance of SimCode: time 3.21e-07/9.54, allocations: 0 / 3.645 GB, free: 82.63 MB / 0.5261 GB Notification: Performance of Templates: time 0.04631/9.586, allocations: 36.51 MB / 3.68 GB, free: 80.29 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches