Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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_pT,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_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,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_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001187/0.001187, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2001/0.2001, allocations: 46.1 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 74.67 kB / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1015, allocations: 62.45 MB / 481.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.0153/0.1168, allocations: 13.92 MB / 495.4 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.218/0.3348, allocations: 26.59 MB / 0.5097 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.335, allocations: 1.406 kB / 0.5097 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.3354, allocations: 88.88 kB / 0.5098 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02096/0.3564, allocations: 8.546 MB / 0.5182 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.3574, allocations: 356.7 kB / 0.5185 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004477/0.3619, allocations: 1.999 MB / 0.5205 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.7e-05/0.362, allocations: 15.41 kB / 0.5205 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004587/0.3625, allocations: 267.5 kB / 0.5207 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006798/0.3693, allocations: 3.257 MB / 0.5239 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.332e-05/0.3693, allocations: 11.61 kB / 0.5239 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02185/0.3912, allocations: 11.63 MB / 0.5353 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.3913, allocations: 47.89 kB / 0.5353 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.3916, allocations: 135.3 kB / 0.5355 GB, free: 5.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01409/0.4057, allocations: 6.764 MB / 0.5421 GB, free: 1.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4057, allocations: 0 / 0.5421 GB, free: 1.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4057, allocations: 0 / 0.5421 GB, free: 1.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.4058, allocations: 0 / 0.5421 GB, free: 1.125 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.004132/0.4099, allocations: 1.614 MB / 0.5436 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.41, allocations: 8.031 kB / 0.5436 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.4114, allocations: 184.5 kB / 0.5438 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.4118, allocations: 279.9 kB / 0.5441 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.4119, allocations: 21.03 kB / 0.5441 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.4119, allocations: 32.38 kB / 0.5441 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.4139, allocations: 0.7641 MB / 0.5449 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.4139, allocations: 0 / 0.5449 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.414, allocations: 16 kB / 0.5449 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.414, allocations: 8 kB / 0.5449 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.416, allocations: 0.8176 MB / 0.5457 GB, free: 13.26 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.002951/0.4189, allocations: 2.702 MB / 0.5483 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.4201, allocations: 347.1 kB / 0.5487 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.4202, allocations: 76.28 kB / 0.5487 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3619/0.7821, allocations: 147.8 MB / 0.6931 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002108/0.7843, allocations: 445.7 kB / 0.6935 GB, free: 9.441 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 3.206e-06/0.7843, allocations: 0 / 0.6935 GB, free: 9.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.006185/0.7905, allocations: 1.119 MB / 0.6946 GB, free: 8.316 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002095/0.7908, allocations: 384 kB / 0.695 GB, free: 7.855 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.791, allocations: 182.7 kB / 0.6952 GB, free: 7.668 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.7911, allocations: 33.7 kB / 0.6952 GB, free: 7.629 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.7912, allocations: 183.6 kB / 0.6954 GB, free: 7.445 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.7914, allocations: 114.7 kB / 0.6955 GB, free: 7.336 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.7916, allocations: 118.1 kB / 0.6956 GB, free: 7.211 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7917, allocations: 334.8 kB / 0.6959 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.792, allocations: 81.06 kB / 0.696 GB, free: 6.797 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.7925, allocations: 345.4 kB / 0.6963 GB, free: 6.332 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008734/0.7934, allocations: 488.9 kB / 0.6968 GB, free: 5.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.7934, allocations: 7.938 kB / 0.6968 GB, free: 5.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001297/0.7947, allocations: 465.3 kB / 0.6972 GB, free: 5.262 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.7947, allocations: 15.94 kB / 0.6973 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.7948, allocations: 8 kB / 0.6973 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/0.7948, allocations: 12 kB / 0.6973 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/0.7973, allocations: 215.6 kB / 0.6975 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000816/0.7981, allocations: 1.189 MB / 0.6986 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.7986, allocations: 30.16 kB / 0.6987 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.75e-05/0.7987, allocations: 43.98 kB / 0.6987 GB, free: 3.711 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002506/0.799, allocations: 157.6 kB / 0.6989 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.7991, allocations: 23.81 kB / 0.6989 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004324/0.8035, allocations: 2.828 MB / 0.7016 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.984e-05/0.8035, allocations: 19.97 kB / 0.7017 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.8035, allocations: 4 kB / 0.7017 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.8035, allocations: 4 kB / 0.7017 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.805, allocations: 0.9637 MB / 0.7026 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.805, allocations: 4 kB / 0.7026 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008571/0.8059, allocations: 100.3 kB / 0.7027 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002772/0.8062, allocations: 163.8 kB / 0.7029 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.8062, allocations: 11.98 kB / 0.7029 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005615/0.8068, allocations: 0.648 MB / 0.7035 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.8068, allocations: 4 kB / 0.7035 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.8087, allocations: 0.9792 MB / 0.7045 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.8089, allocations: 140.2 kB / 0.7046 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.8091, allocations: 90.72 kB / 0.7047 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004917/0.8096, allocations: 15.98 kB / 0.7047 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.8096, allocations: 31.84 kB / 0.7047 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.8097, allocations: 20 kB / 0.7048 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008525/0.8106, allocations: 471 kB / 0.7052 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8106, allocations: 0 / 0.7052 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006029/0.8166, allocations: 1.616 MB / 0.7068 GB, free: 11.27 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: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01034/0.827, allocations: 1.868 MB / 0.7086 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00246/0.8295, allocations: 0.5431 MB / 0.7091 GB, free: 9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.8295, allocations: 0 / 0.7091 GB, free: 9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006845/0.8302, allocations: 370.3 kB / 0.7095 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.8315, allocations: 131.9 kB / 0.7096 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7237/1.555, allocations: 348.4 MB / 1.05 GB, free: 103 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/1.556, allocations: 0.982 MB / 1.051 GB, free: 102 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006368/1.556, allocations: 0.4968 MB / 1.051 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/1.556, allocations: 63.39 kB / 1.051 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.292e-06/1.556, allocations: 0 / 1.051 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.2319/1.788, allocations: 58.55 MB / 1.109 GB, free: 220.1 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches