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.001475/0.001475, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002063/0.002063, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2387/0.2387, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 73.2 kB / 416.8 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1174, allocations: 62.45 MB / 479.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01893/0.1363, allocations: 14.74 MB / 494 MB, free: 6.895 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2894/0.4258, allocations: 28.31 MB / 0.5101 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.4262, allocations: 1.156 kB / 0.5101 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.4267, allocations: 87.91 kB / 0.5102 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02097/0.4476, allocations: 6.832 MB / 0.5169 GB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.4488, allocations: 320.5 kB / 0.5172 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005276/0.4541, allocations: 2.032 MB / 0.5192 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.089e-05/0.4542, allocations: 19.38 kB / 0.5192 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005652/0.4548, allocations: 262.8 kB / 0.5194 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008352/0.4631, allocations: 3.265 MB / 0.5226 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.4633, allocations: 7.781 kB / 0.5226 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02898/0.4923, allocations: 11.51 MB / 0.5339 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.4924, allocations: 47.22 kB / 0.5339 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.4927, allocations: 136.5 kB / 0.534 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01622/0.509, allocations: 6.794 MB / 0.5407 GB, free: 2.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.509, allocations: 7.938 kB / 0.5407 GB, free: 2.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.509, allocations: 0 / 0.5407 GB, free: 2.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.509, allocations: 4 kB / 0.5407 GB, free: 2.98 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.004543/0.5136, allocations: 1.614 MB / 0.5423 GB, free: 1.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5136, allocations: 12.88 kB / 0.5423 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.5152, allocations: 188.5 kB / 0.5425 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.5154, allocations: 271.9 kB / 0.5427 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.5155, allocations: 21.03 kB / 0.5427 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.5155, allocations: 28.38 kB / 0.5428 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.5174, allocations: 0.7564 MB / 0.5435 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.5175, allocations: 3.938 kB / 0.5435 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.5175, allocations: 16 kB / 0.5435 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.5175, allocations: 8 kB / 0.5435 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.5197, allocations: 0.8215 MB / 0.5443 GB, free: 15.33 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.003547/0.5233, allocations: 2.708 MB / 0.547 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.5245, allocations: 353.8 kB / 0.5473 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.5246, allocations: 68.83 kB / 0.5474 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3556/0.8803, allocations: 146.1 MB / 0.69 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/0.8817, allocations: 446.6 kB / 0.6905 GB, free: 13.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.865e-06/0.8817, allocations: 0 / 0.6905 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.003933/0.8856, allocations: 1.119 MB / 0.6915 GB, free: 12.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.8858, allocations: 373.1 kB / 0.6919 GB, free: 11.69 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.8859, allocations: 178.3 kB / 0.6921 GB, free: 11.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.886, allocations: 33.7 kB / 0.6921 GB, free: 11.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.8861, allocations: 195.1 kB / 0.6923 GB, free: 11.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.18e-05/0.8862, allocations: 109.5 kB / 0.6924 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.8864, allocations: 127.9 kB / 0.6925 GB, free: 11.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.8865, allocations: 330.8 kB / 0.6928 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.8867, allocations: 73.06 kB / 0.6929 GB, free: 10.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.8871, allocations: 353.3 kB / 0.6932 GB, free: 10.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006485/0.8877, allocations: 477.6 kB / 0.6937 GB, free: 9.566 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.8877, allocations: 8 kB / 0.6937 GB, free: 9.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008579/0.8886, allocations: 472.2 kB / 0.6942 GB, free: 9.094 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.8886, allocations: 11.94 kB / 0.6942 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.8887, allocations: 11.98 kB / 0.6942 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.8887, allocations: 20.03 kB / 0.6942 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.8903, allocations: 203.7 kB / 0.6944 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006698/0.891, allocations: 1.186 MB / 0.6955 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.8914, allocations: 32.03 kB / 0.6956 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/0.8914, allocations: 45.72 kB / 0.6956 GB, free: 7.547 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.0001893/0.8916, allocations: 165.5 kB / 0.6958 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.8917, allocations: 23.81 kB / 0.6958 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/0.8948, allocations: 2.836 MB / 0.6986 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.8948, allocations: 23.97 kB / 0.6986 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.8948, allocations: 4 kB / 0.6986 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.8948, allocations: 7.828 kB / 0.6986 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009464/0.8958, allocations: 0.9688 MB / 0.6995 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.8958, allocations: 4 kB / 0.6996 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005753/0.8964, allocations: 96.27 kB / 0.6996 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002645/0.8966, allocations: 167 kB / 0.6998 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.8967, allocations: 15.98 kB / 0.6998 GB, free: 3.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003986/0.8971, allocations: 0.6467 MB / 0.7005 GB, free: 2.516 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8971, allocations: 4 kB / 0.7005 GB, free: 2.512 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.8984, allocations: 0.9799 MB / 0.7014 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.8985, allocations: 125.3 kB / 0.7015 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.8986, allocations: 90.72 kB / 0.7016 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.8989, allocations: 23.92 kB / 0.7016 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.899, allocations: 31.91 kB / 0.7017 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.899, allocations: 26.23 kB / 0.7017 GB, free: 1.164 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005687/0.8996, allocations: 471 kB / 0.7021 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8996, allocations: 0 / 0.7021 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.2419/1.141, allocations: 1.613 MB / 0.7037 GB, free: 210.2 MB / 0.545 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.0124/1.154, allocations: 1.873 MB / 0.7055 GB, free: 210.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002035/1.156, allocations: 0.5344 MB / 0.7061 GB, free: 210.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.156, allocations: 2.062 kB / 0.7061 GB, free: 210.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005047/1.157, allocations: 363.9 kB / 0.7064 GB, free: 210.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009248/1.157, allocations: 131 kB / 0.7065 GB, free: 210 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.667/1.825, allocations: 348.8 MB / 1.047 GB, free: 73.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/1.825, allocations: 0.9845 MB / 1.048 GB, free: 72.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000823/1.826, allocations: 0.5076 MB / 1.049 GB, free: 71.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/1.826, allocations: 55.41 kB / 1.049 GB, free: 71.66 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/1.826, allocations: 4 kB / 1.049 GB, free: 71.65 MB / 0.545 GB Notification: Performance of Templates: time 0.3096/2.136, allocations: 58.45 MB / 1.106 GB, free: 201.7 MB / 0.545 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