Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00179/0.00179, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002198/0.002198, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 247.5 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 46.12 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002307, allocations: 82.77 kB / 418.3 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1309, allocations: 62.45 MB / 480.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01852/0.1495, allocations: 13.93 MB / 494.7 MB, free: 7.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2542/0.4037, allocations: 26.58 MB / 0.5091 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002868/0.404, allocations: 1.625 kB / 0.5091 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004073/0.4045, allocations: 93.47 kB / 0.5092 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0228/0.4273, allocations: 8.543 MB / 0.5175 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.4284, allocations: 357.4 kB / 0.5178 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004641/0.433, allocations: 2.004 MB / 0.5198 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.751e-05/0.4331, allocations: 21.62 kB / 0.5198 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005342/0.4337, allocations: 267.4 kB / 0.5201 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00767/0.4414, allocations: 3.259 MB / 0.5233 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.552e-05/0.4415, allocations: 14.72 kB / 0.5233 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02283/0.4643, allocations: 10.57 MB / 0.5336 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.4645, allocations: 54.39 kB / 0.5336 GB, free: 5.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003184/0.4648, allocations: 135.9 kB / 0.5338 GB, free: 5.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01881/0.4836, allocations: 6.34 MB / 0.54 GB, free: 1.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.4837, allocations: 0 / 0.54 GB, free: 1.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4837, allocations: 2.938 kB / 0.54 GB, free: 1.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.4837, allocations: 0 / 0.54 GB, free: 1.66 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.005134/0.4889, allocations: 1.559 MB / 0.5415 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4889, allocations: 10.03 kB / 0.5415 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.4906, allocations: 223.4 kB / 0.5417 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.4909, allocations: 279.9 kB / 0.542 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.491, allocations: 21.03 kB / 0.542 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.491, allocations: 32.38 kB / 0.542 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.4936, allocations: 0.8202 MB / 0.5428 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.4936, allocations: 0 / 0.5428 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.4937, allocations: 27.27 kB / 0.5429 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.4937, allocations: 8.562 kB / 0.5429 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002651/0.4963, allocations: 0.9309 MB / 0.5438 GB, free: 14.19 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.003829/0.5002, allocations: 2.575 MB / 0.5463 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.5018, allocations: 382.2 kB / 0.5467 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.502, allocations: 72.83 kB / 0.5467 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8471/1.349, allocations: 238.7 MB / 0.7798 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001432/1.351, allocations: 466 kB / 0.7803 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 4.068e-06/1.351, allocations: 4 kB / 0.7803 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003037/1.354, allocations: 0.7841 MB / 0.7811 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/1.354, allocations: 375.9 kB / 0.7814 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/1.354, allocations: 189.1 kB / 0.7816 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/1.354, allocations: 29.7 kB / 0.7816 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/1.354, allocations: 189.1 kB / 0.7818 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.352e-05/1.354, allocations: 106.5 kB / 0.7819 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/1.354, allocations: 126.1 kB / 0.782 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.905e-05/1.354, allocations: 334.8 kB / 0.7823 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/1.355, allocations: 88.88 kB / 0.7824 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/1.355, allocations: 344.7 kB / 0.7828 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005861/1.355, allocations: 481.3 kB / 0.7832 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/1.356, allocations: 4 kB / 0.7832 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008843/1.356, allocations: 469.2 kB / 0.7837 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.356, allocations: 8 kB / 0.7837 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.356, allocations: 8 kB / 0.7837 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/1.356, allocations: 16 kB / 0.7837 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/1.357, allocations: 143.7 kB / 0.7838 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/1.357, allocations: 19.92 kB / 0.7839 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/1.357, allocations: 51.47 kB / 0.7839 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/1.357, allocations: 48.25 kB / 0.7839 GB, free: 168.5 MB / 0.5606 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.0001591/1.357, allocations: 162.4 kB / 0.7841 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/1.358, allocations: 27.72 kB / 0.7841 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/1.36, allocations: 2.612 MB / 0.7867 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/1.36, allocations: 15.98 kB / 0.7867 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/1.36, allocations: 4 kB / 0.7867 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/1.36, allocations: 7.984 kB / 0.7867 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000781/1.361, allocations: 0.9342 MB / 0.7876 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.361, allocations: 7.984 kB / 0.7876 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/1.361, allocations: 72.25 kB / 0.7877 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/1.361, allocations: 11.52 kB / 0.7877 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/1.361, allocations: 11.98 kB / 0.7877 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/1.361, allocations: 7.938 kB / 0.7877 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.361, allocations: 4 kB / 0.7877 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008397/1.362, allocations: 0.7043 MB / 0.7884 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/1.362, allocations: 120.5 kB / 0.7885 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/1.362, allocations: 102.6 kB / 0.7886 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/1.362, allocations: 19.98 kB / 0.7886 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/1.362, allocations: 35.84 kB / 0.7887 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/1.362, allocations: 19.98 kB / 0.7887 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005098/1.363, allocations: 0.4962 MB / 0.7892 GB, free: 163 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/1.363, allocations: 4 kB / 0.7892 GB, free: 163 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004481/1.367, allocations: 1.514 MB / 0.7907 GB, free: 161.6 MB / 0.5606 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.008305/1.376, allocations: 1.735 MB / 0.7924 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001052/1.377, allocations: 428.4 kB / 0.7928 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.377, allocations: 0 / 0.7928 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003705/1.377, allocations: 284.7 kB / 0.793 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009548/1.378, allocations: 135.5 kB / 0.7932 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.329/2.708, allocations: 0.6023 GB / 1.395 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/2.708, allocations: 0.9856 MB / 1.396 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/2.708, allocations: 59.41 kB / 1.396 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/2.708, allocations: 0 / 1.396 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.05688/2.765, allocations: 33.07 MB / 1.429 GB, free: 106.6 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches