Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001649/0.001649, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.36/1.36, allocations: 222.9 MB / 243 MB, free: 15.14 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.2113/0.2113, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001225, allocations: 64.69 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1194, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01584/0.1353, allocations: 13.81 MB / 484.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02814/0.1635, allocations: 26.59 MB / 0.4991 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.1637, allocations: 3.938 kB / 0.4991 GB, free: 5.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.164, allocations: 99.44 kB / 0.4992 GB, free: 4.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2471/0.4111, allocations: 8.52 MB / 0.5075 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009407/0.4121, allocations: 348 kB / 0.5079 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004553/0.4167, allocations: 2.005 MB / 0.5098 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.75e-05/0.4167, allocations: 22.53 kB / 0.5099 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/0.4173, allocations: 266.3 kB / 0.5101 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007017/0.4243, allocations: 3.265 MB / 0.5133 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.192e-05/0.4244, allocations: 10.88 kB / 0.5133 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02223/0.4467, allocations: 10.81 MB / 0.5239 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.4468, allocations: 55.7 kB / 0.5239 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.4471, allocations: 137.8 kB / 0.5241 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01509/0.4622, allocations: 6.312 MB / 0.5302 GB, free: 9.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4623, allocations: 0 / 0.5302 GB, free: 9.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4623, allocations: 0 / 0.5302 GB, free: 9.844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.4623, allocations: 4 kB / 0.5302 GB, free: 9.84 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.005059/0.4674, allocations: 1.552 MB / 0.5317 GB, free: 8.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4674, allocations: 13.06 kB / 0.5318 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.4692, allocations: 218.3 kB / 0.532 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.4695, allocations: 278.9 kB / 0.5322 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.4696, allocations: 26.09 kB / 0.5323 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.4696, allocations: 27.09 kB / 0.5323 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.4717, allocations: 0.8273 MB / 0.5331 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.4718, allocations: 3.75 kB / 0.5331 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.4718, allocations: 18.88 kB / 0.5331 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.4718, allocations: 9 kB / 0.5331 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.474, allocations: 0.9268 MB / 0.534 GB, free: 7.43 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.002534/0.4765, allocations: 2.58 MB / 0.5365 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.4778, allocations: 376.7 kB / 0.5369 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.478, allocations: 77.7 kB / 0.537 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8011/1.279, allocations: 227.4 MB / 0.7591 GB, free: 173.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/1.281, allocations: 473.6 kB / 0.7595 GB, free: 173 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/1.281, allocations: 0 / 0.7595 GB, free: 173 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002861/1.283, allocations: 0.7809 MB / 0.7603 GB, free: 172.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/1.283, allocations: 376.3 kB / 0.7606 GB, free: 171.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/1.284, allocations: 187.6 kB / 0.7608 GB, free: 171.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/1.284, allocations: 29.7 kB / 0.7608 GB, free: 171.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/1.284, allocations: 188 kB / 0.761 GB, free: 171.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/1.284, allocations: 110.3 kB / 0.7611 GB, free: 171.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/1.284, allocations: 126.1 kB / 0.7612 GB, free: 171.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.243e-05/1.284, allocations: 330.8 kB / 0.7616 GB, free: 170.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/1.284, allocations: 81.06 kB / 0.7616 GB, free: 170.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/1.284, allocations: 345.5 kB / 0.762 GB, free: 170.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/1.285, allocations: 494.3 kB / 0.7624 GB, free: 169.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.285, allocations: 4 kB / 0.7624 GB, free: 169.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007758/1.286, allocations: 472.5 kB / 0.7629 GB, free: 169.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.286, allocations: 16.16 kB / 0.7629 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.286, allocations: 9.953 kB / 0.7629 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/1.286, allocations: 16 kB / 0.7629 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/1.286, allocations: 139.8 kB / 0.7631 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/1.286, allocations: 15.94 kB / 0.7631 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/1.287, allocations: 51.52 kB / 0.7631 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/1.287, allocations: 46.72 kB / 0.7632 GB, free: 169 MB / 0.545 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.000128/1.287, allocations: 161.6 kB / 0.7633 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.543e-05/1.287, allocations: 31.72 kB / 0.7634 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/1.289, allocations: 2.587 MB / 0.7659 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.289, allocations: 19.97 kB / 0.7659 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/1.289, allocations: 4 kB / 0.7659 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/1.289, allocations: 4 kB / 0.7659 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006466/1.29, allocations: 0.9299 MB / 0.7668 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.29, allocations: 6.25 kB / 0.7668 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/1.29, allocations: 79.8 kB / 0.7669 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/1.29, allocations: 8 kB / 0.7669 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/1.29, allocations: 12 kB / 0.7669 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.29, allocations: 4 kB / 0.7669 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.29, allocations: 4 kB / 0.7669 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007542/1.291, allocations: 0.7028 MB / 0.7676 GB, free: 164.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.681e-05/1.291, allocations: 128.4 kB / 0.7677 GB, free: 164.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/1.291, allocations: 106.5 kB / 0.7678 GB, free: 164.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/1.291, allocations: 18.84 kB / 0.7679 GB, free: 164.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/1.291, allocations: 35.84 kB / 0.7679 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/1.291, allocations: 20 kB / 0.7679 GB, free: 164 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004516/1.292, allocations: 0.5001 MB / 0.7684 GB, free: 163.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.292, allocations: 0 / 0.7684 GB, free: 163.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003854/1.296, allocations: 1.504 MB / 0.7699 GB, free: 162.1 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: 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.005555/1.301, allocations: 1.714 MB / 0.7715 GB, free: 160.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007082/1.302, allocations: 424.2 kB / 0.7719 GB, free: 160.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.302, allocations: 0 / 0.7719 GB, free: 160.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/1.302, allocations: 276.4 kB / 0.7722 GB, free: 159.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/1.303, allocations: 135.6 kB / 0.7723 GB, free: 159.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.38/2.683, allocations: 0.6004 GB / 1.373 GB, free: 127.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/2.684, allocations: 0.9856 MB / 1.374 GB, free: 126.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006454/2.684, allocations: 0.5264 MB / 1.374 GB, free: 126.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/2.684, allocations: 59.41 kB / 1.374 GB, free: 126.4 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/2.684, allocations: 4 kB / 1.374 GB, free: 126.4 MB / 0.545 GB Notification: Performance of Templates: time 0.05602/2.74, allocations: 55.62 MB / 1.429 GB, free: 70.78 MB / 0.545 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches