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.00109/0.00109, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001021/0.001021, allocations: 194 kB / 18.12 MB, free: 5.363 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.342/1.342, allocations: 222.9 MB / 241.8 MB, free: 15.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.283/0.283, allocations: 44.17 MB / 336.1 MB, free: 3.047 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 74.7 kB / 407.7 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1143, allocations: 60.81 MB / 468.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01676/0.1312, allocations: 14.63 MB / 483.1 MB, free: 196 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0299/0.1611, allocations: 28.31 MB / 0.4995 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002589/0.1614, allocations: 3.938 kB / 0.4995 GB, free: 3.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004649/0.1619, allocations: 79.58 kB / 0.4996 GB, free: 3.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2746/0.4365, allocations: 6.824 MB / 0.5062 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009102/0.4375, allocations: 323.4 kB / 0.5065 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004954/0.4424, allocations: 2.027 MB / 0.5085 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.4425, allocations: 23 kB / 0.5085 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000567/0.4431, allocations: 264.2 kB / 0.5088 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00825/0.4513, allocations: 3.259 MB / 0.512 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.4515, allocations: 8.125 kB / 0.512 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0252/0.4767, allocations: 11.5 MB / 0.5232 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.477, allocations: 41.88 kB / 0.5232 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004492/0.4774, allocations: 140.5 kB / 0.5234 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02211/0.4995, allocations: 6.777 MB / 0.53 GB, free: 9.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.4996, allocations: 0 / 0.53 GB, free: 9.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4996, allocations: 0 / 0.53 GB, free: 9.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.4996, allocations: 0 / 0.53 GB, free: 9.344 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.006314/0.506, allocations: 1.623 MB / 0.5316 GB, free: 8.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.506, allocations: 9.188 kB / 0.5316 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.5075, allocations: 191.1 kB / 0.5318 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.5078, allocations: 261 kB / 0.532 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.5079, allocations: 22.91 kB / 0.532 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.5079, allocations: 30.67 kB / 0.5321 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.5099, allocations: 0.7711 MB / 0.5328 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.51, allocations: 2.5 kB / 0.5328 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.51, allocations: 13.5 kB / 0.5328 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.51, allocations: 6.656 kB / 0.5328 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.512, allocations: 0.8188 MB / 0.5336 GB, free: 7.152 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.002888/0.5149, allocations: 2.71 MB / 0.5363 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.5161, allocations: 348.4 kB / 0.5366 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.5162, allocations: 76.47 kB / 0.5367 GB, free: 4.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3676/0.8838, allocations: 141 MB / 0.6744 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.8853, allocations: 445 kB / 0.6748 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/0.8853, allocations: 1.531 kB / 0.6748 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.004158/0.8895, allocations: 1.126 MB / 0.6759 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000196/0.8897, allocations: 370.9 kB / 0.6763 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.8899, allocations: 191.6 kB / 0.6765 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.8899, allocations: 29.7 kB / 0.6765 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.8901, allocations: 185.1 kB / 0.6767 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.8902, allocations: 113.7 kB / 0.6768 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.8904, allocations: 126.1 kB / 0.6769 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.8905, allocations: 326.8 kB / 0.6772 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.8907, allocations: 82.16 kB / 0.6773 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/0.8911, allocations: 344.5 kB / 0.6776 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/0.8917, allocations: 484.6 kB / 0.6781 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.8918, allocations: 4 kB / 0.6781 GB, free: 9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000883/0.8927, allocations: 467.7 kB / 0.6785 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.8927, allocations: 15.75 kB / 0.6785 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.8927, allocations: 12.09 kB / 0.6786 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.8927, allocations: 16 kB / 0.6786 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.8944, allocations: 215.6 kB / 0.6788 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000672/0.8951, allocations: 1.182 MB / 0.6799 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.8954, allocations: 24.19 kB / 0.68 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.8955, allocations: 47.97 kB / 0.68 GB, free: 7.07 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001926/0.8957, allocations: 160.9 kB / 0.6802 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.8958, allocations: 31.7 kB / 0.6802 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/0.8989, allocations: 2.84 MB / 0.683 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/0.8989, allocations: 19.97 kB / 0.683 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.8989, allocations: 4 kB / 0.683 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.8989, allocations: 5.766 kB / 0.683 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.9, allocations: 0.9709 MB / 0.6839 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.9, allocations: 4 kB / 0.6839 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005921/0.9006, allocations: 103.3 kB / 0.684 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002591/0.9009, allocations: 169.4 kB / 0.6842 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.901, allocations: 15.84 kB / 0.6842 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004023/0.9014, allocations: 0.6447 MB / 0.6848 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.9014, allocations: 4 kB / 0.6848 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.9026, allocations: 0.9741 MB / 0.6858 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.9028, allocations: 125.7 kB / 0.6859 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.9029, allocations: 106.6 kB / 0.686 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.9033, allocations: 16 kB / 0.686 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.9033, allocations: 35.27 kB / 0.6861 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.9034, allocations: 16 kB / 0.6861 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006761/0.9041, allocations: 471 kB / 0.6865 GB, free: 300 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9041, allocations: 0 / 0.6865 GB, free: 300 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00545/0.9095, allocations: 1.609 MB / 0.6881 GB, free: 14.68 MB / 0.545 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009156/0.9187, allocations: 1.868 MB / 0.6899 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.9206, allocations: 0.529 MB / 0.6904 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.9206, allocations: 0 / 0.6904 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006446/0.9212, allocations: 370.9 kB / 0.6908 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.9225, allocations: 132.7 kB / 0.6909 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9696/1.892, allocations: 348.1 MB / 1.031 GB, free: 90.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/1.892, allocations: 0.9897 MB / 1.032 GB, free: 89.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007678/1.893, allocations: 0.4995 MB / 1.032 GB, free: 88.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/1.893, allocations: 55.41 kB / 1.032 GB, free: 88.55 MB / 0.545 GB Notification: Performance of SimCode: time 8.01e-07/1.893, allocations: 0 / 1.032 GB, free: 88.55 MB / 0.545 GB Notification: Performance of Templates: time 0.05938/1.953, allocations: 58.39 MB / 1.089 GB, free: 30.3 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