Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001604/0.001604, allocations: 106.2 kB / 17.03 MB, free: 5.703 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.001771/0.001771, allocations: 194.9 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2357/0.2357, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 74.83 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09555/0.09702, allocations: 57.78 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01441/0.1115, allocations: 13.81 MB / 455.8 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0295/0.141, allocations: 26.59 MB / 482.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.1413, allocations: 0 / 482.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.1418, allocations: 91.39 kB / 482.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02253/0.1643, allocations: 8.525 MB / 491 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009848/0.1653, allocations: 342.8 kB / 491.3 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004753/0.1701, allocations: 1.994 MB / 493.3 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7e-05/0.1702, allocations: 24.41 kB / 493.3 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004675/0.1706, allocations: 266.8 kB / 493.6 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006817/0.1775, allocations: 3.264 MB / 496.9 MB, free: 15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.562e-05/0.1775, allocations: 8 kB / 496.9 MB, free: 14.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02262/0.2002, allocations: 11.58 MB / 0.4965 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.2003, allocations: 55.75 kB / 0.4966 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.2005, allocations: 139.3 kB / 0.4967 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01827/0.2188, allocations: 6.726 MB / 0.5033 GB, free: 12.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.2189, allocations: 4 kB / 0.5033 GB, free: 12.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.2189, allocations: 0 / 0.5033 GB, free: 12.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.2189, allocations: 0 / 0.5033 GB, free: 12.46 MB / 398.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.005282/0.2242, allocations: 1.619 MB / 0.5049 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2243, allocations: 11.89 kB / 0.5049 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.2258, allocations: 192.5 kB / 0.5051 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.2262, allocations: 260 kB / 0.5053 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.2263, allocations: 25.03 kB / 0.5053 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.2263, allocations: 32.12 kB / 0.5054 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.2284, allocations: 0.7642 MB / 0.5061 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2285, allocations: 0 / 0.5061 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.2285, allocations: 12 kB / 0.5061 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.2285, allocations: 11.94 kB / 0.5061 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.2307, allocations: 0.8176 MB / 0.5069 GB, free: 8.586 MB / 398.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.003495/0.2342, allocations: 2.707 MB / 0.5096 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.2354, allocations: 346 kB / 0.5099 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.2355, allocations: 72.83 kB / 0.51 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.545/0.7805, allocations: 142.9 MB / 0.6495 GB, free: 6.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001433/0.782, allocations: 451.5 kB / 0.6499 GB, free: 5.535 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.435e-06/0.782, allocations: 1.172 kB / 0.6499 GB, free: 5.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.00385/0.7859, allocations: 1.117 MB / 0.651 GB, free: 4.449 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002103/0.7861, allocations: 386.1 kB / 0.6514 GB, free: 3.992 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.7863, allocations: 186.5 kB / 0.6516 GB, free: 3.801 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.7864, allocations: 29.7 kB / 0.6516 GB, free: 3.766 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.7865, allocations: 191.6 kB / 0.6518 GB, free: 3.574 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.049e-05/0.7866, allocations: 107 kB / 0.6519 GB, free: 3.473 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.7868, allocations: 126.1 kB / 0.652 GB, free: 3.344 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.7869, allocations: 334.8 kB / 0.6523 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.7871, allocations: 85.06 kB / 0.6524 GB, free: 2.922 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.7875, allocations: 341.5 kB / 0.6527 GB, free: 2.465 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006155/0.7881, allocations: 483.7 kB / 0.6532 GB, free: 1.887 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.7882, allocations: 4 kB / 0.6532 GB, free: 1.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008533/0.789, allocations: 472.9 kB / 0.6537 GB, free: 1.418 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.7891, allocations: 8 kB / 0.6537 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.7891, allocations: 8 kB / 0.6537 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.7891, allocations: 16 kB / 0.6537 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.7907, allocations: 207.6 kB / 0.6539 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006104/0.7913, allocations: 1.192 MB / 0.655 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.7916, allocations: 27.84 kB / 0.6551 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/0.7916, allocations: 39.98 kB / 0.6551 GB, free: 15.88 MB / 462.1 MB 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.0001775/0.7918, allocations: 165.6 kB / 0.6553 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-05/0.7919, allocations: 23.75 kB / 0.6553 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/0.7947, allocations: 2.835 MB / 0.6581 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/0.7948, allocations: 19.97 kB / 0.6581 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.7948, allocations: 4 kB / 0.6581 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.7948, allocations: 8.672 kB / 0.6581 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009896/0.7958, allocations: 0.9653 MB / 0.659 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.7958, allocations: 0 / 0.659 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.7964, allocations: 104.2 kB / 0.6591 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/0.7966, allocations: 155.9 kB / 0.6593 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.7966, allocations: 21.55 kB / 0.6593 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003642/0.797, allocations: 0.6488 MB / 0.6599 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.797, allocations: 0 / 0.6599 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.7982, allocations: 0.9781 MB / 0.6609 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/0.7983, allocations: 132.3 kB / 0.661 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.7984, allocations: 86.81 kB / 0.6611 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/0.7987, allocations: 15.98 kB / 0.6611 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.7988, allocations: 27.91 kB / 0.6611 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.7988, allocations: 23.92 kB / 0.6612 GB, free: 9.527 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005232/0.7994, allocations: 479 kB / 0.6616 GB, free: 9.059 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7994, allocations: 0 / 0.6616 GB, free: 9.059 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004576/0.804, allocations: 1.605 MB / 0.6632 GB, free: 7.594 MB / 462.1 MB 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.007305/0.8113, allocations: 1.851 MB / 0.665 GB, free: 5.906 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.8131, allocations: 0.5434 MB / 0.6655 GB, free: 5.363 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.8131, allocations: 0 / 0.6655 GB, free: 5.363 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.8135, allocations: 366.4 kB / 0.6659 GB, free: 5.008 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000819/0.8144, allocations: 128.8 kB / 0.666 GB, free: 4.891 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.806/1.62, allocations: 347.6 MB / 1.005 GB, free: 93.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/1.621, allocations: 0.982 MB / 1.006 GB, free: 92.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006266/1.621, allocations: 0.5125 MB / 1.007 GB, free: 92.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/1.621, allocations: 55.41 kB / 1.007 GB, free: 92.05 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/1.621, allocations: 0 / 1.007 GB, free: 92.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.06018/1.682, allocations: 58.4 MB / 1.064 GB, free: 33.71 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches