Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009559/0.0009558, allocations: 170.4 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.6 MB / 222.4 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007295/0.0007295, allocations: 87.16 kB / 270.8 MB, free: 8.129 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3905/0.3905, allocations: 43.67 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002974, allocations: 12 kB / 432.3 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1175, allocations: 58.84 MB / 491.2 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.2283/0.3458, allocations: 16.38 MB / 0.4956 GB, free: 34.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02951/0.3754, allocations: 39.77 MB / 0.5345 GB, free: 20.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003856/0.3758, allocations: 3.25 kB / 0.5345 GB, free: 20.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.3762, allocations: 89.61 kB / 0.5346 GB, free: 20.14 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02614/0.4023, allocations: 6.822 MB / 0.5412 GB, free: 16.98 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009899/0.4034, allocations: 316.6 kB / 0.5415 GB, free: 16.81 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003982/0.4073, allocations: 2.028 MB / 0.5435 GB, free: 15.89 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.351e-05/0.4074, allocations: 21.28 kB / 0.5435 GB, free: 15.88 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000443/0.4079, allocations: 276.2 kB / 0.5438 GB, free: 15.77 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006477/0.4144, allocations: 3.27 MB / 0.547 GB, free: 14.27 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.184e-05/0.4145, allocations: 6.469 kB / 0.547 GB, free: 14.27 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02511/0.4396, allocations: 10.34 MB / 0.5571 GB, free: 11.84 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.4398, allocations: 45.81 kB / 0.5571 GB, free: 11.82 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003452/0.4401, allocations: 167.1 kB / 0.5573 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02217/0.4623, allocations: 6.299 MB / 0.5635 GB, free: 7.961 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4624, allocations: 0 / 0.5635 GB, free: 7.961 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4624, allocations: 0 / 0.5635 GB, free: 7.961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4624, allocations: 1.125 kB / 0.5635 GB, free: 7.961 MB / 394.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.00639/0.4688, allocations: 1.491 MB / 0.5649 GB, free: 6.918 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4688, allocations: 9.188 kB / 0.5649 GB, free: 6.918 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.4705, allocations: 230.4 kB / 0.5651 GB, free: 6.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.4709, allocations: 270.1 kB / 0.5654 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.471, allocations: 25.22 kB / 0.5654 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.471, allocations: 28.09 kB / 0.5654 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.4734, allocations: 0.8425 MB / 0.5663 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4734, allocations: 0 / 0.5663 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.4735, allocations: 24.7 kB / 0.5663 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.4735, allocations: 8.312 kB / 0.5663 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.4759, allocations: 0.9432 MB / 0.5672 GB, free: 5.523 MB / 394.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.003579/0.4795, allocations: 2.575 MB / 0.5697 GB, free: 3.152 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.4808, allocations: 377.5 kB / 0.5701 GB, free: 2.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.481, allocations: 80.64 kB / 0.5702 GB, free: 2.914 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7383/1.219, allocations: 227.1 MB / 0.7919 GB, free: 71.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001286/1.221, allocations: 470.5 kB / 0.7924 GB, free: 71.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 2.224e-06/1.221, allocations: 0 / 0.7924 GB, free: 71.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.002617/1.223, allocations: 0.78 MB / 0.7931 GB, free: 70.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/1.223, allocations: 370.5 kB / 0.7935 GB, free: 70.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/1.224, allocations: 190.2 kB / 0.7937 GB, free: 70.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/1.224, allocations: 33.7 kB / 0.7937 GB, free: 69.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/1.224, allocations: 191.1 kB / 0.7939 GB, free: 69.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/1.224, allocations: 113.1 kB / 0.794 GB, free: 69.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/1.224, allocations: 4 kB / 0.794 GB, free: 69.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.998e-05/1.224, allocations: 340.5 kB / 0.7943 GB, free: 69.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/1.224, allocations: 73.06 kB / 0.7944 GB, free: 69.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/1.224, allocations: 343.6 kB / 0.7947 GB, free: 68.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005641/1.225, allocations: 475.8 kB / 0.7952 GB, free: 68.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.225, allocations: 0 / 0.7952 GB, free: 68.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007617/1.226, allocations: 470.7 kB / 0.7956 GB, free: 67.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/1.226, allocations: 11.84 kB / 0.7956 GB, free: 67.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.226, allocations: 16.06 kB / 0.7957 GB, free: 67.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/1.226, allocations: 12 kB / 0.7957 GB, free: 67.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/1.226, allocations: 139.8 kB / 0.7958 GB, free: 67.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/1.226, allocations: 15.94 kB / 0.7958 GB, free: 67.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/1.227, allocations: 52.06 kB / 0.7959 GB, free: 67.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/1.227, allocations: 47.97 kB / 0.7959 GB, free: 67.48 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.0001749/1.227, allocations: 157.6 kB / 0.7961 GB, free: 67.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/1.227, allocations: 31.8 kB / 0.7961 GB, free: 67.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/1.23, allocations: 2.604 MB / 0.7986 GB, free: 64.69 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/1.23, allocations: 19.97 kB / 0.7987 GB, free: 64.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/1.23, allocations: 4 kB / 0.7987 GB, free: 64.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.23, allocations: 4.875 kB / 0.7987 GB, free: 64.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/1.231, allocations: 0.9297 MB / 0.7996 GB, free: 63.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.231, allocations: 4 kB / 0.7996 GB, free: 63.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/1.231, allocations: 79.86 kB / 0.7997 GB, free: 63.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/1.231, allocations: 4 kB / 0.7997 GB, free: 63.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/1.231, allocations: 12.09 kB / 0.7997 GB, free: 63.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/1.231, allocations: 15.56 kB / 0.7997 GB, free: 63.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.231, allocations: 7.938 kB / 0.7997 GB, free: 63.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008642/1.232, allocations: 0.6887 MB / 0.8004 GB, free: 62.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/1.233, allocations: 382.7 kB / 0.8007 GB, free: 62.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.05e-05/1.233, allocations: 19.94 kB / 0.8007 GB, free: 62.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/1.233, allocations: 19.98 kB / 0.8008 GB, free: 62.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/1.233, allocations: 23.97 kB / 0.8008 GB, free: 62.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/1.233, allocations: 19.98 kB / 0.8008 GB, free: 62.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005039/1.234, allocations: 0.4962 MB / 0.8013 GB, free: 61.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.234, allocations: 3.938 kB / 0.8013 GB, free: 61.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006446/1.24, allocations: 1.509 MB / 0.8028 GB, free: 60.43 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.00986/1.25, allocations: 1.72 MB / 0.8044 GB, free: 58.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008948/1.251, allocations: 404.7 kB / 0.8048 GB, free: 58.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/1.251, allocations: 4.125 kB / 0.8048 GB, free: 58.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002935/1.251, allocations: 273.3 kB / 0.8051 GB, free: 58.19 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/1.252, allocations: 129.8 kB / 0.8052 GB, free: 58.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.637/2.89, allocations: 0.5995 GB / 1.405 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/2.89, allocations: 0.9841 MB / 1.406 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001074/2.892, allocations: 0.5258 MB / 1.406 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/2.892, allocations: 55.83 kB / 1.406 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/2.892, allocations: 0 / 1.406 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.07239/2.964, allocations: 55.44 MB / 1.46 GB, free: 134.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches