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.001357/0.001357, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001111/0.001111, allocations: 187 kB / 19.34 MB, free: 3.641 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.393/1.393, allocations: 222.9 MB / 243 MB, free: 15.09 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.2057/0.2057, allocations: 44.18 MB / 337.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.53 kB / 409.9 MB, free: 26.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.123, allocations: 60.83 MB / 470.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01657/0.1396, allocations: 13.81 MB / 484.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02954/0.1692, allocations: 26.6 MB / 0.4991 GB, free: 5.129 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.1694, allocations: 0 / 0.4991 GB, free: 5.129 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.1699, allocations: 95.39 kB / 0.4992 GB, free: 5.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2781/0.4481, allocations: 8.517 MB / 0.5076 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009921/0.4491, allocations: 350 kB / 0.5079 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00466/0.4537, allocations: 2 MB / 0.5098 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.286e-05/0.4538, allocations: 22.55 kB / 0.5099 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005596/0.4544, allocations: 268.3 kB / 0.5101 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007164/0.4616, allocations: 3.266 MB / 0.5133 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.94e-05/0.4617, allocations: 10.88 kB / 0.5133 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02477/0.4864, allocations: 10.82 MB / 0.5239 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.4866, allocations: 55.06 kB / 0.5239 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003273/0.4869, allocations: 132.5 kB / 0.5241 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02072/0.5077, allocations: 6.313 MB / 0.5302 GB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.5077, allocations: 4 kB / 0.5302 GB, free: 9.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.5078, allocations: 3.984 kB / 0.5302 GB, free: 9.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.5078, allocations: 3.938 kB / 0.5302 GB, free: 9.918 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.0054/0.5132, allocations: 1.555 MB / 0.5318 GB, free: 8.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.5132, allocations: 9 kB / 0.5318 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.5149, allocations: 214.5 kB / 0.532 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.5153, allocations: 279.6 kB / 0.5322 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.5153, allocations: 26.5 kB / 0.5323 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.5153, allocations: 29.59 kB / 0.5323 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.5173, allocations: 0.8273 MB / 0.5331 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.5174, allocations: 3.188 kB / 0.5331 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.5174, allocations: 17.91 kB / 0.5331 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.5174, allocations: 8 kB / 0.5331 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002856/0.5203, allocations: 0.9326 MB / 0.534 GB, free: 7.512 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.003494/0.5238, allocations: 2.575 MB / 0.5365 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.5258, allocations: 376.1 kB / 0.5369 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.526, allocations: 80.47 kB / 0.537 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8451/1.371, allocations: 227.4 MB / 0.7591 GB, free: 173.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001398/1.373, allocations: 480.1 kB / 0.7595 GB, free: 173.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.344e-06/1.373, allocations: 0 / 0.7595 GB, free: 173.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002813/1.375, allocations: 0.7766 MB / 0.7603 GB, free: 172.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/1.375, allocations: 367.8 kB / 0.7606 GB, free: 172 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/1.376, allocations: 187.9 kB / 0.7608 GB, free: 171.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/1.376, allocations: 37.7 kB / 0.7608 GB, free: 171.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/1.376, allocations: 186.6 kB / 0.761 GB, free: 171.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.22e-05/1.376, allocations: 113.8 kB / 0.7611 GB, free: 171.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/1.376, allocations: 128.7 kB / 0.7613 GB, free: 171.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.487e-05/1.376, allocations: 330.8 kB / 0.7616 GB, free: 171.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/1.376, allocations: 85 kB / 0.7616 GB, free: 171 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/1.376, allocations: 341.7 kB / 0.762 GB, free: 170.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004989/1.377, allocations: 486.8 kB / 0.7624 GB, free: 169.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.377, allocations: 0 / 0.7624 GB, free: 169.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007894/1.378, allocations: 483.1 kB / 0.7629 GB, free: 169.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.378, allocations: 8 kB / 0.7629 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.378, allocations: 8.062 kB / 0.7629 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.378, allocations: 16 kB / 0.7629 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/1.378, allocations: 146 kB / 0.7631 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/1.378, allocations: 15.94 kB / 0.7631 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/1.379, allocations: 47.53 kB / 0.7631 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/1.379, allocations: 43.97 kB / 0.7632 GB, free: 169.2 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.0001284/1.379, allocations: 162.6 kB / 0.7633 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.783e-05/1.379, allocations: 36.58 kB / 0.7634 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/1.381, allocations: 2.583 MB / 0.7659 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/1.381, allocations: 19.97 kB / 0.7659 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.381, allocations: 6.297 kB / 0.7659 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.381, allocations: 4 kB / 0.7659 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/1.382, allocations: 0.9373 MB / 0.7668 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.382, allocations: 0 / 0.7668 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/1.382, allocations: 77.98 kB / 0.7669 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.382, allocations: 8 kB / 0.7669 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/1.382, allocations: 15.84 kB / 0.7669 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/1.382, allocations: 7.938 kB / 0.7669 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.382, allocations: 7.984 kB / 0.7669 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007602/1.383, allocations: 0.7004 MB / 0.7676 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/1.383, allocations: 124.5 kB / 0.7677 GB, free: 164.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.383, allocations: 110.5 kB / 0.7678 GB, free: 164.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/1.383, allocations: 16 kB / 0.7679 GB, free: 164.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/1.383, allocations: 35.83 kB / 0.7679 GB, free: 164.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/1.383, allocations: 12 kB / 0.7679 GB, free: 164.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000501/1.384, allocations: 0.5079 MB / 0.7684 GB, free: 163.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.062e-06/1.384, allocations: 0 / 0.7684 GB, free: 163.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006389/1.39, allocations: 1.51 MB / 0.7699 GB, free: 162.3 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.01269/1.403, allocations: 1.716 MB / 0.7716 GB, free: 160.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001265/1.404, allocations: 420.7 kB / 0.772 GB, free: 160.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/1.404, allocations: 4 kB / 0.772 GB, free: 160.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004499/1.405, allocations: 274.4 kB / 0.7722 GB, free: 160.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/1.406, allocations: 135.4 kB / 0.7724 GB, free: 160 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.43/2.836, allocations: 0.6004 GB / 1.373 GB, free: 128.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/2.837, allocations: 0.9895 MB / 1.374 GB, free: 127.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007137/2.837, allocations: 0.5165 MB / 1.374 GB, free: 126.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/2.838, allocations: 71.33 kB / 1.374 GB, free: 126.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.352e-06/2.838, allocations: 0 / 1.374 GB, free: 126.5 MB / 0.545 GB Notification: Performance of Templates: time 0.05767/2.895, allocations: 55.62 MB / 1.429 GB, free: 70.96 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 cvode -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