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.0007725/0.0007725, allocations: 95.34 kB / 17.35 MB, free: 6.375 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.00078/0.00078, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.374/1.374, allocations: 223.3 MB / 242.3 MB, free: 216 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.2053/0.2053, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003492, allocations: 15.98 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1441, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01803/0.1621, allocations: 14.11 MB / 486.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03439/0.1966, allocations: 27.84 MB / 0.5022 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004192/0.197, allocations: 0 / 0.5022 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.1976, allocations: 79.58 kB / 0.5022 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2854/0.483, allocations: 6.823 MB / 0.5089 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.4841, allocations: 317.1 kB / 0.5092 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004509/0.4886, allocations: 2.033 MB / 0.5112 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.467e-05/0.4887, allocations: 16.66 kB / 0.5112 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006842/0.4894, allocations: 257.7 kB / 0.5115 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006582/0.496, allocations: 3.262 MB / 0.5146 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.719e-05/0.4961, allocations: 8 kB / 0.5146 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02733/0.5235, allocations: 11.51 MB / 0.5259 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.5237, allocations: 53.94 kB / 0.5259 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005417/0.5243, allocations: 164.5 kB / 0.5261 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01974/0.544, allocations: 6.739 MB / 0.5327 GB, free: 8.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5441, allocations: 0 / 0.5327 GB, free: 8.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5441, allocations: 0 / 0.5327 GB, free: 8.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.5441, allocations: 0 / 0.5327 GB, free: 8.559 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.005016/0.5491, allocations: 1.55 MB / 0.5342 GB, free: 7.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.5492, allocations: 6.969 kB / 0.5342 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.5507, allocations: 198.1 kB / 0.5344 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.551, allocations: 258.9 kB / 0.5346 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.5511, allocations: 24.91 kB / 0.5346 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.5511, allocations: 28.56 kB / 0.5347 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.553, allocations: 0.7675 MB / 0.5354 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.553, allocations: 3.125 kB / 0.5354 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.5531, allocations: 15.89 kB / 0.5354 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.5531, allocations: 9.312 kB / 0.5355 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.555, allocations: 0.8188 MB / 0.5363 GB, free: 6.695 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.002853/0.5579, allocations: 2.713 MB / 0.5389 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.559, allocations: 353.6 kB / 0.5392 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.5592, allocations: 71.42 kB / 0.5393 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3944/0.9536, allocations: 142.3 MB / 0.6783 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002071/0.9558, allocations: 449.3 kB / 0.6787 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 5.431e-06/0.9558, allocations: 0 / 0.6787 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.006239/0.962, allocations: 1.12 MB / 0.6798 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000231/0.9623, allocations: 382.9 kB / 0.6801 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.9626, allocations: 179.7 kB / 0.6803 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.953e-05/0.9627, allocations: 33.7 kB / 0.6804 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.9629, allocations: 188.4 kB / 0.6805 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.9631, allocations: 114.3 kB / 0.6806 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.9632, allocations: 49.69 kB / 0.6807 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.9634, allocations: 333.7 kB / 0.681 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.9637, allocations: 81.06 kB / 0.6811 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.9643, allocations: 344.6 kB / 0.6814 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009354/0.9652, allocations: 485.2 kB / 0.6819 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.9653, allocations: 5.094 kB / 0.6819 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001349/0.9666, allocations: 473.4 kB / 0.6823 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.9667, allocations: 15.78 kB / 0.6823 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.9667, allocations: 12 kB / 0.6824 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.9667, allocations: 14.41 kB / 0.6824 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/0.9692, allocations: 204.5 kB / 0.6826 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008932/0.9701, allocations: 1.192 MB / 0.6837 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.9707, allocations: 20 kB / 0.6838 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.777e-05/0.9708, allocations: 47.97 kB / 0.6838 GB, free: 5.441 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.000323/0.9711, allocations: 159.2 kB / 0.6839 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.9712, allocations: 31.7 kB / 0.684 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004745/0.976, allocations: 2.834 MB / 0.6867 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.269e-05/0.9761, allocations: 26.88 kB / 0.6868 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.9761, allocations: 4.875 kB / 0.6868 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/0.9761, allocations: 4.375 kB / 0.6868 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.9778, allocations: 0.9784 MB / 0.6877 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.9778, allocations: 4 kB / 0.6877 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008573/0.9787, allocations: 95.33 kB / 0.6878 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003806/0.9791, allocations: 162.8 kB / 0.688 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.215e-05/0.9791, allocations: 15.12 kB / 0.688 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005665/0.9797, allocations: 0.6468 MB / 0.6886 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.9797, allocations: 7.094 kB / 0.6886 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.9815, allocations: 0.9694 MB / 0.6896 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004898/0.982, allocations: 354.8 kB / 0.6899 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.9821, allocations: 14.52 kB / 0.6899 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005213/0.9827, allocations: 19.98 kB / 0.69 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.034e-05/0.9827, allocations: 30.62 kB / 0.69 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/0.9828, allocations: 19.98 kB / 0.69 GB, free: 14.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008679/0.9837, allocations: 471 kB / 0.6905 GB, free: 14.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9837, allocations: 0 / 0.6905 GB, free: 14.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00758/0.9913, allocations: 1.609 MB / 0.692 GB, free: 12.92 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.01282/1.004, allocations: 1.857 MB / 0.6938 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002609/1.007, allocations: 0.5292 MB / 0.6944 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/1.007, allocations: 5.875 kB / 0.6944 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000805/1.008, allocations: 364.3 kB / 0.6947 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/1.01, allocations: 139.2 kB / 0.6948 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.097/2.107, allocations: 347.8 MB / 1.034 GB, free: 88.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/2.107, allocations: 0.9859 MB / 1.035 GB, free: 87.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008124/2.108, allocations: 0.5007 MB / 1.036 GB, free: 86.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/2.108, allocations: 55.41 kB / 1.036 GB, free: 86.73 MB / 0.545 GB Notification: Performance of SimCode: time 1.413e-06/2.108, allocations: 0 / 1.036 GB, free: 86.73 MB / 0.545 GB Notification: Performance of Templates: time 0.063/2.171, allocations: 58.32 MB / 1.093 GB, free: 28.54 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