Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,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_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,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_ph") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 175 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.7 MB / 243.9 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008926/0.0008926, allocations: 84.78 kB / 295 MB, free: 9.715 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3547/0.3547, allocations: 44.33 MB / 390.5 MB, free: 38.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 11.98 kB / 463.2 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3838, allocations: 61.89 MB / 0.5127 GB, free: 38.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01386/0.3977, allocations: 16.38 MB / 0.5287 GB, free: 25.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02917/0.427, allocations: 39.78 MB / 0.5676 GB, free: 7.238 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003564/0.4274, allocations: 3.938 kB / 0.5676 GB, free: 7.234 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.4278, allocations: 83.22 kB / 0.5677 GB, free: 7.199 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02928/0.4571, allocations: 6.822 MB / 0.5743 GB, free: 4.039 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.4588, allocations: 314.5 kB / 0.5746 GB, free: 3.871 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006166/0.465, allocations: 2.035 MB / 0.5766 GB, free: 2.941 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.556e-05/0.4651, allocations: 16.17 kB / 0.5766 GB, free: 2.941 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000671/0.4658, allocations: 273.3 kB / 0.5769 GB, free: 2.824 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007985/0.4738, allocations: 3.27 MB / 0.5801 GB, free: 1.324 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.42e-05/0.4739, allocations: 8.188 kB / 0.5801 GB, free: 1.324 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02561/0.4995, allocations: 10.35 MB / 0.5902 GB, free: 10.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.4997, allocations: 47.77 kB / 0.5902 GB, free: 10.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003682/0.5001, allocations: 165.1 kB / 0.5904 GB, free: 10.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02171/0.5218, allocations: 6.312 MB / 0.5966 GB, free: 4.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5219, allocations: 4 kB / 0.5966 GB, free: 4.117 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5219, allocations: 0 / 0.5966 GB, free: 4.117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.5219, allocations: 0 / 0.5966 GB, free: 4.117 MB / 410.7 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.005759/0.5277, allocations: 1.498 MB / 0.598 GB, free: 2.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.5277, allocations: 8.031 kB / 0.598 GB, free: 2.562 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.5294, allocations: 224.4 kB / 0.5983 GB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.5298, allocations: 280 kB / 0.5985 GB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.5298, allocations: 25.03 kB / 0.5985 GB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.5299, allocations: 36.06 kB / 0.5986 GB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.5321, allocations: 0.8211 MB / 0.5994 GB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5322, allocations: 0 / 0.5994 GB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/0.5322, allocations: 16 kB / 0.5994 GB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.5322, allocations: 12 kB / 0.5994 GB, free: 1.082 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/0.5345, allocations: 0.9426 MB / 0.6003 GB, free: 140 kB / 410.7 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.003202/0.5378, allocations: 2.593 MB / 0.6029 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.539, allocations: 374.7 kB / 0.6032 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.5392, allocations: 76.84 kB / 0.6033 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7819/1.321, allocations: 227.1 MB / 0.8251 GB, free: 33.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/1.323, allocations: 472.6 kB / 0.8255 GB, free: 32.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 4.038e-06/1.323, allocations: 4 kB / 0.8255 GB, free: 32.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.0028/1.325, allocations: 0.7807 MB / 0.8263 GB, free: 32.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.074e-05/1.325, allocations: 372 kB / 0.8267 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/1.326, allocations: 183.8 kB / 0.8268 GB, free: 31.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/1.326, allocations: 29.7 kB / 0.8269 GB, free: 31.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/1.326, allocations: 189.8 kB / 0.827 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.256e-05/1.326, allocations: 110.1 kB / 0.8272 GB, free: 31.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/1.326, allocations: 12 kB / 0.8272 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.281e-05/1.326, allocations: 331.6 kB / 0.8275 GB, free: 30.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/1.326, allocations: 85.06 kB / 0.8276 GB, free: 30.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/1.326, allocations: 340 kB / 0.8279 GB, free: 30.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/1.327, allocations: 485.6 kB / 0.8283 GB, free: 29.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.327, allocations: 4 kB / 0.8284 GB, free: 29.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007717/1.328, allocations: 475.8 kB / 0.8288 GB, free: 29.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.328, allocations: 11.91 kB / 0.8288 GB, free: 29.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.328, allocations: 12 kB / 0.8288 GB, free: 29.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/1.328, allocations: 15.84 kB / 0.8288 GB, free: 29.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/1.328, allocations: 139.8 kB / 0.829 GB, free: 29.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/1.328, allocations: 19.92 kB / 0.829 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/1.329, allocations: 51.47 kB / 0.829 GB, free: 29.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/1.329, allocations: 44.23 kB / 0.8291 GB, free: 28.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001525/1.329, allocations: 168.4 kB / 0.8292 GB, free: 28.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.313e-05/1.329, allocations: 23.81 kB / 0.8293 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/1.331, allocations: 2.608 MB / 0.8318 GB, free: 26.19 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/1.331, allocations: 15.98 kB / 0.8318 GB, free: 26.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/1.331, allocations: 4 kB / 0.8318 GB, free: 26.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/1.331, allocations: 11.92 kB / 0.8318 GB, free: 26.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008588/1.332, allocations: 0.9289 MB / 0.8328 GB, free: 25.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/1.332, allocations: 4.375 kB / 0.8328 GB, free: 25.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/1.332, allocations: 75.86 kB / 0.8328 GB, free: 25.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.332, allocations: 8 kB / 0.8328 GB, free: 25.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/1.332, allocations: 8 kB / 0.8328 GB, free: 25.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/1.333, allocations: 7.984 kB / 0.8329 GB, free: 25.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.333, allocations: 4 kB / 0.8329 GB, free: 25.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007539/1.333, allocations: 0.6888 MB / 0.8335 GB, free: 24.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/1.334, allocations: 382.7 kB / 0.8339 GB, free: 23.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.825e-05/1.334, allocations: 12.5 kB / 0.8339 GB, free: 23.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/1.334, allocations: 15.98 kB / 0.8339 GB, free: 23.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/1.334, allocations: 43.83 kB / 0.834 GB, free: 23.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/1.334, allocations: 17.38 kB / 0.834 GB, free: 23.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004938/1.335, allocations: 0.4962 MB / 0.8345 GB, free: 23.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.335, allocations: 3.938 kB / 0.8345 GB, free: 23.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0045/1.339, allocations: 1.507 MB / 0.8359 GB, free: 21.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008648/1.348, allocations: 1.721 MB / 0.8376 GB, free: 20.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008853/1.349, allocations: 412.9 kB / 0.838 GB, free: 19.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.349, allocations: 0 / 0.838 GB, free: 19.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003652/1.349, allocations: 278.1 kB / 0.8383 GB, free: 19.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/1.35, allocations: 136.6 kB / 0.8384 GB, free: 19.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.566/2.916, allocations: 0.6 GB / 1.438 GB, free: 39.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/2.916, allocations: 0.9817 MB / 1.439 GB, free: 38.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007486/2.917, allocations: 0.5192 MB / 1.44 GB, free: 38.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/2.917, allocations: 63.41 kB / 1.44 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/2.917, allocations: 1.75 kB / 1.44 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of Templates: time 0.2743/3.192, allocations: 55.48 MB / 1.494 GB, free: 169.5 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches