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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 95.11 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 189.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.3 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2184/0.2184, allocations: 44.25 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 10.09 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1405, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01817/0.1587, allocations: 12.79 MB / 484.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03113/0.1899, allocations: 24.61 MB / 0.4971 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003456/0.1903, allocations: 4 kB / 0.4971 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004377/0.1908, allocations: 67.59 kB / 0.4971 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02393/0.2147, allocations: 6.575 MB / 0.5036 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009602/0.2157, allocations: 302.5 kB / 0.5038 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2651/0.4809, allocations: 3.188 MB / 0.507 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.481, allocations: 19.89 kB / 0.507 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007193/0.4817, allocations: 247.6 kB / 0.5072 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01067/0.4924, allocations: 5.67 MB / 0.5128 GB, free: 16.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.4926, allocations: 7.719 kB / 0.5128 GB, free: 16.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02308/0.5157, allocations: 11.1 MB / 0.5236 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.5158, allocations: 44.64 kB / 0.5236 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.5161, allocations: 77.92 kB / 0.5237 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.5263, allocations: 4.512 MB / 0.5281 GB, free: 15.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5263, allocations: 0 / 0.5281 GB, free: 15.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5263, allocations: 1.312 kB / 0.5281 GB, free: 15.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.5263, allocations: 0 / 0.5281 GB, free: 15.25 MB / 382.1 MB 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.005871/0.5322, allocations: 1.551 MB / 0.5296 GB, free: 14.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5322, allocations: 9.312 kB / 0.5296 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.5338, allocations: 186.3 kB / 0.5298 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.5342, allocations: 268.4 kB / 0.5301 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.5342, allocations: 26.62 kB / 0.5301 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.629e-05/0.5343, allocations: 32.75 kB / 0.5301 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.5363, allocations: 0.7518 MB / 0.5309 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.5364, allocations: 7.781 kB / 0.5309 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.5364, allocations: 15.11 kB / 0.5309 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.5364, allocations: 7.531 kB / 0.5309 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.5384, allocations: 0.8154 MB / 0.5317 GB, free: 13.39 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.003176/0.5416, allocations: 2.714 MB / 0.5343 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.5428, allocations: 352.6 kB / 0.5347 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.5429, allocations: 68.08 kB / 0.5347 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3314/0.8743, allocations: 142.3 MB / 0.6737 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/0.8757, allocations: 447.1 kB / 0.6741 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 3.547e-06/0.8757, allocations: 0 / 0.6741 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.004041/0.8798, allocations: 1.116 MB / 0.6752 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002048/0.88, allocations: 371 kB / 0.6756 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.8803, allocations: 184.8 kB / 0.6758 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.081e-05/0.8803, allocations: 28.77 kB / 0.6758 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.8805, allocations: 188.7 kB / 0.676 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.8807, allocations: 111.3 kB / 0.6761 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.8807, allocations: 20.16 kB / 0.6761 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.8809, allocations: 325.3 kB / 0.6764 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.8811, allocations: 80.62 kB / 0.6765 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.8815, allocations: 341.4 kB / 0.6768 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.8818, allocations: 127 kB / 0.6769 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.8818, allocations: 5.422 kB / 0.6769 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000972/0.8828, allocations: 470.5 kB / 0.6774 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.8829, allocations: 12 kB / 0.6774 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.713e-05/0.8829, allocations: 8 kB / 0.6774 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.122e-05/0.883, allocations: 23.94 kB / 0.6774 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.8844, allocations: 205.8 kB / 0.6776 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006971/0.8851, allocations: 1.184 MB / 0.6788 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.8854, allocations: 23.97 kB / 0.6788 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.665e-05/0.8855, allocations: 50.33 kB / 0.6788 GB, free: 15.33 MB / 0.5294 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * 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.0001985/0.8857, allocations: 166 kB / 0.679 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.8858, allocations: 27.8 kB / 0.679 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003301/0.8891, allocations: 2.879 MB / 0.6818 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.412e-05/0.8891, allocations: 22.59 kB / 0.6819 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.8892, allocations: 4 kB / 0.6819 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.8892, allocations: 6.453 kB / 0.6819 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.8903, allocations: 0.963 MB / 0.6828 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.8903, allocations: 7.953 kB / 0.6828 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000519/0.8908, allocations: 104.5 kB / 0.6829 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002515/0.8911, allocations: 167.8 kB / 0.6831 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/0.8912, allocations: 14.25 kB / 0.6831 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004026/0.8916, allocations: 0.6388 MB / 0.6837 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.8916, allocations: 7.844 kB / 0.6837 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.8927, allocations: 0.963 MB / 0.6847 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/0.893, allocations: 352.9 kB / 0.685 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.8931, allocations: 15.23 kB / 0.685 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/0.8934, allocations: 22.28 kB / 0.685 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.8935, allocations: 28.44 kB / 0.6851 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.8935, allocations: 18.61 kB / 0.6851 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005394/0.8941, allocations: 474 kB / 0.6855 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8941, allocations: 0 / 0.6855 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004977/0.8991, allocations: 1.626 MB / 0.6871 GB, free: 8.594 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.00926/0.9083, allocations: 1.858 MB / 0.6889 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001576/0.9099, allocations: 0.5302 MB / 0.6895 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.91, allocations: 1.75 kB / 0.6895 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004856/0.9105, allocations: 363.5 kB / 0.6898 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009415/0.9114, allocations: 130.2 kB / 0.6899 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9579/1.869, allocations: 347.8 MB / 1.03 GB, free: 106.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/1.87, allocations: 0.9784 MB / 1.031 GB, free: 105.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008556/1.871, allocations: 0.5132 MB / 1.031 GB, free: 104.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/1.871, allocations: 55.41 kB / 1.031 GB, free: 104.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.273e-06/1.871, allocations: 0 / 1.031 GB, free: 104.6 MB / 0.545 GB Notification: Performance of Templates: time 0.07367/1.945, allocations: 59.09 MB / 1.089 GB, free: 45.58 MB / 0.545 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches