Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001432, 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.001741/0.001742, 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.5/1.5, 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.2324/0.2324, allocations: 43.52 MB / 314.7 MB, free: 472 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.001499/0.001499, allocations: 77.61 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1325, allocations: 57.78 MB / 442 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01502/0.1475, allocations: 13.81 MB / 455.8 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03026/0.1778, allocations: 26.59 MB / 482.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.1781, allocations: 4 kB / 482.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.1786, allocations: 91.39 kB / 482.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02717/0.2058, allocations: 8.529 MB / 491 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.207, allocations: 338.9 kB / 491.3 MB, free: 4.605 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004744/0.2118, allocations: 2.006 MB / 493.3 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.572e-05/0.2119, allocations: 24.41 kB / 493.3 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004877/0.2124, allocations: 266.8 kB / 493.6 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006848/0.2192, allocations: 3.266 MB / 496.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.083e-05/0.2193, allocations: 12 kB / 496.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02382/0.2431, allocations: 10.78 MB / 0.4958 GB, free: 4.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.2433, allocations: 51.8 kB / 0.4958 GB, free: 4.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.2436, allocations: 143.3 kB / 0.496 GB, free: 3.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02205/0.2657, allocations: 6.3 MB / 0.5021 GB, free: 13.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.2657, allocations: 0 / 0.5021 GB, free: 13.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2658, allocations: 4 kB / 0.5021 GB, free: 13.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.2658, allocations: 3.984 kB / 0.5021 GB, free: 13.65 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.006116/0.2719, allocations: 1.548 MB / 0.5036 GB, free: 12.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.272, allocations: 15.88 kB / 0.5036 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.2737, allocations: 220.4 kB / 0.5039 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.2743, allocations: 275.9 kB / 0.5041 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.2744, allocations: 25.03 kB / 0.5041 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/0.2744, allocations: 32.12 kB / 0.5042 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.2767, allocations: 0.8172 MB / 0.505 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.2768, allocations: 4 kB / 0.505 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.2768, allocations: 19.94 kB / 0.505 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.2768, allocations: 8 kB / 0.505 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.2793, allocations: 0.9308 MB / 0.5059 GB, free: 9.629 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.003607/0.2829, allocations: 2.573 MB / 0.5084 GB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.2843, allocations: 377.8 kB / 0.5088 GB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.2845, allocations: 88.75 kB / 0.5089 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158/1.443, allocations: 227.4 MB / 0.7309 GB, free: 177.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001606/1.444, allocations: 474.3 kB / 0.7313 GB, free: 177.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 5.119e-06/1.444, allocations: 1.172 kB / 0.7313 GB, free: 177.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003311/1.448, allocations: 0.7803 MB / 0.7321 GB, free: 177.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.448, allocations: 374.1 kB / 0.7325 GB, free: 176.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/1.448, allocations: 183.5 kB / 0.7326 GB, free: 176.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/1.448, allocations: 33.3 kB / 0.7327 GB, free: 176.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/1.448, allocations: 180.7 kB / 0.7328 GB, free: 176.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.268e-05/1.448, allocations: 125.6 kB / 0.733 GB, free: 176.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/1.448, allocations: 120.9 kB / 0.7331 GB, free: 176.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.448, allocations: 330.6 kB / 0.7334 GB, free: 176.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/1.449, allocations: 77.28 kB / 0.7335 GB, free: 176.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/1.449, allocations: 350.2 kB / 0.7338 GB, free: 175.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000602/1.45, allocations: 476.8 kB / 0.7343 GB, free: 175.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.423e-06/1.45, allocations: 5.297 kB / 0.7343 GB, free: 175.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008389/1.45, allocations: 469.7 kB / 0.7347 GB, free: 175.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.451, allocations: 11.5 kB / 0.7347 GB, free: 175.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/1.451, allocations: 7.688 kB / 0.7347 GB, free: 175.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/1.451, allocations: 16.53 kB / 0.7347 GB, free: 175.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/1.451, allocations: 146.7 kB / 0.7349 GB, free: 175.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/1.451, allocations: 23.42 kB / 0.7349 GB, free: 175.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/1.451, allocations: 53.84 kB / 0.735 GB, free: 175.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/1.451, allocations: 45.94 kB / 0.735 GB, free: 175.1 MB / 0.4981 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.0001554/1.452, allocations: 159.4 kB / 0.7352 GB, free: 175 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.518e-05/1.452, allocations: 23.66 kB / 0.7352 GB, free: 175 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/1.454, allocations: 2.592 MB / 0.7377 GB, free: 174.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/1.454, allocations: 19.73 kB / 0.7377 GB, free: 174.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.454, allocations: 3.969 kB / 0.7377 GB, free: 174.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/1.454, allocations: 7.922 kB / 0.7377 GB, free: 174.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009729/1.455, allocations: 0.9324 MB / 0.7386 GB, free: 173.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.455, allocations: 10.08 kB / 0.7387 GB, free: 173.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/1.456, allocations: 70.12 kB / 0.7387 GB, free: 173.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/1.456, allocations: 3.844 kB / 0.7387 GB, free: 173.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/1.456, allocations: 15.77 kB / 0.7387 GB, free: 173.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/1.456, allocations: 12.47 kB / 0.7388 GB, free: 173.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.456, allocations: 7.875 kB / 0.7388 GB, free: 173.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008696/1.457, allocations: 0.6944 MB / 0.7394 GB, free: 173 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/1.457, allocations: 124.2 kB / 0.7396 GB, free: 172.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/1.457, allocations: 109.1 kB / 0.7397 GB, free: 172.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/1.457, allocations: 23.23 kB / 0.7397 GB, free: 172.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/1.457, allocations: 29.34 kB / 0.7397 GB, free: 172.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/1.457, allocations: 15.52 kB / 0.7397 GB, free: 172.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005117/1.458, allocations: 0.5002 MB / 0.7402 GB, free: 172.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.458, allocations: 0 / 0.7402 GB, free: 172.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005155/1.463, allocations: 1.507 MB / 0.7417 GB, free: 172.3 MB / 0.4981 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.006609/1.469, allocations: 1.716 MB / 0.7434 GB, free: 171.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000883/1.47, allocations: 419.9 kB / 0.7438 GB, free: 170.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.47, allocations: 0.75 kB / 0.7438 GB, free: 170.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002795/1.471, allocations: 289.8 kB / 0.744 GB, free: 170.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008386/1.472, allocations: 133.3 kB / 0.7442 GB, free: 170.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.496/2.968, allocations: 0.5999 GB / 1.344 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/2.968, allocations: 0.9817 MB / 1.345 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000673/2.969, allocations: 0.5228 MB / 1.346 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/2.969, allocations: 59.41 kB / 1.346 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.112e-06/2.969, allocations: 0 / 1.346 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.0576/3.026, allocations: 55.57 MB / 1.4 GB, free: 56.77 MB / 0.4981 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches