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.001229/0.001229, allocations: 114 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0015/0.0015, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.4 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.12 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 80.61 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1266, allocations: 62.44 MB / 479.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01765/0.1443, allocations: 14.05 MB / 493.5 MB, free: 7.492 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2826/0.427, allocations: 26.67 MB / 0.508 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004147/0.4274, allocations: 1.844 kB / 0.508 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006297/0.4281, allocations: 81.58 kB / 0.5081 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04156/0.4697, allocations: 7.548 MB / 0.5155 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.4716, allocations: 319.6 kB / 0.5158 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006989/0.4786, allocations: 2.002 MB / 0.5177 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.4787, allocations: 21.73 kB / 0.5177 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009366/0.4797, allocations: 264 kB / 0.518 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01174/0.4914, allocations: 3.265 MB / 0.5212 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.4916, allocations: 10.25 kB / 0.5212 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04052/0.5322, allocations: 11.46 MB / 0.5324 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.5324, allocations: 53.61 kB / 0.5324 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005673/0.533, allocations: 139 kB / 0.5326 GB, free: 6.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02795/0.561, allocations: 6.797 MB / 0.5392 GB, free: 2.316 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.561, allocations: 0 / 0.5392 GB, free: 2.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.561, allocations: 4 kB / 0.5392 GB, free: 2.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.5611, allocations: 4 kB / 0.5392 GB, free: 2.309 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.008/0.5691, allocations: 1.621 MB / 0.5408 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.5691, allocations: 12.03 kB / 0.5408 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002694/0.5719, allocations: 188.5 kB / 0.541 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/0.5724, allocations: 267.9 kB / 0.5412 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.5725, allocations: 25.03 kB / 0.5413 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.5726, allocations: 28.38 kB / 0.5413 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003756/0.5763, allocations: 0.7602 MB / 0.542 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-05/0.5764, allocations: 3.938 kB / 0.542 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.512e-05/0.5765, allocations: 20 kB / 0.5421 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.5765, allocations: 8 kB / 0.5421 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003587/0.5801, allocations: 0.8215 MB / 0.5429 GB, free: 14.44 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.004989/0.5851, allocations: 2.696 MB / 0.5455 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.5871, allocations: 358.2 kB / 0.5458 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.5873, allocations: 72.83 kB / 0.5459 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4173/1.005, allocations: 146.1 MB / 0.6886 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/1.006, allocations: 438.6 kB / 0.689 GB, free: 12.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 4.649e-06/1.006, allocations: 5.078 kB / 0.689 GB, free: 12.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.004182/1.01, allocations: 1.128 MB / 0.6901 GB, free: 11.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/1.011, allocations: 369.3 kB / 0.6904 GB, free: 10.78 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/1.011, allocations: 186.2 kB / 0.6906 GB, free: 10.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/1.011, allocations: 29.7 kB / 0.6906 GB, free: 10.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/1.011, allocations: 186.2 kB / 0.6908 GB, free: 10.37 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/1.011, allocations: 117.8 kB / 0.6909 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/1.011, allocations: 122.1 kB / 0.6911 GB, free: 10.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.011, allocations: 330.8 kB / 0.6914 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/1.012, allocations: 77.06 kB / 0.6914 GB, free: 9.719 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/1.012, allocations: 353.3 kB / 0.6918 GB, free: 9.246 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000675/1.013, allocations: 490.6 kB / 0.6922 GB, free: 8.645 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/1.013, allocations: 0 / 0.6922 GB, free: 8.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009625/1.014, allocations: 473.4 kB / 0.6927 GB, free: 8.176 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/1.014, allocations: 11.94 kB / 0.6927 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/1.014, allocations: 12.16 kB / 0.6927 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/1.014, allocations: 16 kB / 0.6927 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/1.015, allocations: 211.6 kB / 0.6929 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007693/1.016, allocations: 1.176 MB / 0.6941 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/1.017, allocations: 32.03 kB / 0.6941 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.439e-05/1.017, allocations: 43.97 kB / 0.6942 GB, free: 6.633 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.0002105/1.017, allocations: 164.3 kB / 0.6943 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/1.017, allocations: 27.8 kB / 0.6943 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003092/1.02, allocations: 2.845 MB / 0.6971 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.71e-05/1.02, allocations: 23.97 kB / 0.6971 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/1.02, allocations: 0 / 0.6971 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/1.02, allocations: 4 kB / 0.6971 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/1.021, allocations: 0.9687 MB / 0.6981 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/1.021, allocations: 5.375 kB / 0.6981 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005869/1.022, allocations: 100.6 kB / 0.6982 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000215/1.022, allocations: 154.8 kB / 0.6983 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/1.022, allocations: 12 kB / 0.6984 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004381/1.023, allocations: 0.6497 MB / 0.699 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/1.023, allocations: 4 kB / 0.699 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/1.024, allocations: 0.9716 MB / 0.6999 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/1.024, allocations: 138.4 kB / 0.7001 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/1.024, allocations: 90.81 kB / 0.7002 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/1.025, allocations: 23.98 kB / 0.7002 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/1.025, allocations: 31.84 kB / 0.7002 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/1.025, allocations: 12.5 kB / 0.7002 GB, free: 256 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005794/1.025, allocations: 475.8 kB / 0.7007 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.025, allocations: 0 / 0.7007 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005571/1.031, allocations: 1.616 MB / 0.7023 GB, free: 14.16 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.009938/1.041, allocations: 1.882 MB / 0.7041 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001985/1.043, allocations: 0.5506 MB / 0.7046 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/1.043, allocations: 0 / 0.7046 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005469/1.044, allocations: 370.9 kB / 0.705 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/1.045, allocations: 135.6 kB / 0.7051 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.921/1.966, allocations: 348.8 MB / 1.046 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/1.966, allocations: 0.9802 MB / 1.047 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000778/1.967, allocations: 0.5051 MB / 1.047 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/1.967, allocations: 59.41 kB / 1.047 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.523e-06/1.967, allocations: 4 kB / 1.047 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.06785/2.035, allocations: 58.82 MB / 1.105 GB, free: 45.41 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/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