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.001302/0.001302, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2363/0.2363, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 79.86 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1112, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01577/0.127, allocations: 13.92 MB / 495.4 MB, free: 6.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2683/0.3954, allocations: 26.58 MB / 0.5097 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002649/0.3957, allocations: 3.344 kB / 0.5097 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004318/0.3962, allocations: 97.61 kB / 0.5098 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03052/0.4267, allocations: 8.545 MB / 0.5182 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.4278, allocations: 347.2 kB / 0.5185 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00504/0.4329, allocations: 2.001 MB / 0.5205 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.76e-05/0.433, allocations: 19.59 kB / 0.5205 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006547/0.4336, allocations: 263.6 kB / 0.5207 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007271/0.4409, allocations: 3.263 MB / 0.5239 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.668e-05/0.441, allocations: 10.25 kB / 0.5239 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02786/0.4689, allocations: 11.63 MB / 0.5353 GB, free: 5.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.4691, allocations: 43.86 kB / 0.5353 GB, free: 5.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003756/0.4695, allocations: 143.3 kB / 0.5355 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0205/0.49, allocations: 6.758 MB / 0.5421 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.49, allocations: 3.938 kB / 0.5421 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.49, allocations: 0 / 0.5421 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.49, allocations: 0 / 0.5421 GB, free: 0.9453 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.005799/0.4959, allocations: 1.612 MB / 0.5436 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.4959, allocations: 12.02 kB / 0.5436 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.4974, allocations: 188.5 kB / 0.5438 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.4979, allocations: 274.1 kB / 0.5441 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.4979, allocations: 21.03 kB / 0.5441 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/0.498, allocations: 32.38 kB / 0.5441 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.5001, allocations: 0.7525 MB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.5002, allocations: 3.938 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.5002, allocations: 20 kB / 0.5449 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.5002, allocations: 8 kB / 0.5449 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.5023, allocations: 0.8215 MB / 0.5457 GB, free: 13.08 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.003702/0.506, allocations: 2.696 MB / 0.5483 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.5072, allocations: 349.6 kB / 0.5487 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.5073, allocations: 72.83 kB / 0.5487 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3543/0.8617, allocations: 147.8 MB / 0.6931 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/0.863, allocations: 442.3 kB / 0.6935 GB, free: 9.262 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/0.863, allocations: 0 / 0.6935 GB, free: 9.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.003683/0.8667, allocations: 1.12 MB / 0.6946 GB, free: 8.133 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.8669, allocations: 371.8 kB / 0.695 GB, free: 7.684 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.867, allocations: 182.8 kB / 0.6951 GB, free: 7.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.8671, allocations: 30.08 kB / 0.6952 GB, free: 7.461 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.455e-05/0.8672, allocations: 197.7 kB / 0.6954 GB, free: 7.266 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/0.8673, allocations: 121.2 kB / 0.6955 GB, free: 7.156 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.8674, allocations: 122.1 kB / 0.6956 GB, free: 7.027 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.8675, allocations: 330.8 kB / 0.6959 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.8677, allocations: 77.06 kB / 0.696 GB, free: 6.621 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.8681, allocations: 350.5 kB / 0.6963 GB, free: 6.152 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005657/0.8686, allocations: 482.3 kB / 0.6968 GB, free: 5.555 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.8686, allocations: 4 kB / 0.6968 GB, free: 5.551 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008036/0.8694, allocations: 468.7 kB / 0.6972 GB, free: 5.086 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.8695, allocations: 11.94 kB / 0.6972 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.8695, allocations: 8 kB / 0.6972 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.8695, allocations: 16.81 kB / 0.6973 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.871, allocations: 215.6 kB / 0.6975 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006036/0.8716, allocations: 1.18 MB / 0.6986 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.8719, allocations: 28.59 kB / 0.6986 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/0.872, allocations: 47.06 kB / 0.6987 GB, free: 3.543 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.0001597/0.8721, allocations: 165.8 kB / 0.6989 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.52e-05/0.8722, allocations: 19.81 kB / 0.6989 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.8748, allocations: 2.823 MB / 0.7016 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.8749, allocations: 22.22 kB / 0.7016 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.8749, allocations: 4 kB / 0.7017 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.8749, allocations: 7.984 kB / 0.7017 GB, free: 492 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009327/0.8758, allocations: 0.9746 MB / 0.7026 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.8758, allocations: 8 kB / 0.7026 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.8764, allocations: 92.28 kB / 0.7027 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001809/0.8765, allocations: 158.8 kB / 0.7029 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.8766, allocations: 12 kB / 0.7029 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004327/0.877, allocations: 0.6458 MB / 0.7035 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.381e-06/0.877, allocations: 11.92 kB / 0.7035 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.8782, allocations: 0.9726 MB / 0.7045 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.8783, allocations: 124.5 kB / 0.7046 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.8784, allocations: 94.7 kB / 0.7047 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.8787, allocations: 16 kB / 0.7047 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.8788, allocations: 35.91 kB / 0.7047 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.8788, allocations: 19.92 kB / 0.7047 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005083/0.8793, allocations: 471 kB / 0.7052 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8793, allocations: 0 / 0.7052 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00529/0.8846, allocations: 1.62 MB / 0.7068 GB, free: 11.09 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.007001/0.8916, allocations: 1.871 MB / 0.7086 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.8932, allocations: 0.5457 MB / 0.7091 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.8932, allocations: 4 kB / 0.7091 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004191/0.8937, allocations: 369.5 kB / 0.7095 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007654/0.8944, allocations: 131 kB / 0.7096 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7944/1.689, allocations: 348.4 MB / 1.05 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/1.689, allocations: 0.9859 MB / 1.051 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006296/1.69, allocations: 0.5096 MB / 1.051 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/1.69, allocations: 55.41 kB / 1.051 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/1.69, allocations: 0 / 1.051 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.2976/1.988, allocations: 58.55 MB / 1.109 GB, free: 219.5 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 cvode -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