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.0009252/0.000925, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.00143, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002982/0.0002981, allocations: 8 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1289, allocations: 63.55 MB / 483.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01838/0.1473, allocations: 14.24 MB / 497.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2597/0.407, allocations: 27.82 MB / 0.5128 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.4073, allocations: 2.125 kB / 0.5128 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.4077, allocations: 84.75 kB / 0.5129 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02199/0.4297, allocations: 6.84 MB / 0.5196 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007757/0.4305, allocations: 322.7 kB / 0.5199 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003744/0.4342, allocations: 2.03 MB / 0.5219 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.58e-05/0.4343, allocations: 22.41 kB / 0.5219 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004448/0.4348, allocations: 252.3 kB / 0.5221 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005775/0.4405, allocations: 3.27 MB / 0.5253 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.041e-05/0.4406, allocations: 7.625 kB / 0.5253 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02656/0.4672, allocations: 11.51 MB / 0.5366 GB, free: 6.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.4675, allocations: 44.05 kB / 0.5366 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004324/0.4679, allocations: 158.4 kB / 0.5368 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02389/0.4918, allocations: 6.767 MB / 0.5434 GB, free: 2.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.4919, allocations: 0 / 0.5434 GB, free: 2.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4919, allocations: 0 / 0.5434 GB, free: 2.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.4919, allocations: 4 kB / 0.5434 GB, free: 2.703 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.004667/0.4966, allocations: 1.546 MB / 0.5449 GB, free: 1.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4966, allocations: 12.86 kB / 0.5449 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.498, allocations: 192.5 kB / 0.5451 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.4983, allocations: 267.9 kB / 0.5453 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.4983, allocations: 21.59 kB / 0.5454 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.4984, allocations: 40.3 kB / 0.5454 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.5002, allocations: 0.7562 MB / 0.5461 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.5002, allocations: 4 kB / 0.5461 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.5003, allocations: 13.22 kB / 0.5462 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.5003, allocations: 8 kB / 0.5462 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.5024, allocations: 0.8254 MB / 0.547 GB, free: 15.14 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.003375/0.5058, allocations: 2.712 MB / 0.5496 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.507, allocations: 350.3 kB / 0.55 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.5071, allocations: 72.83 kB / 0.55 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3793/0.8864, allocations: 147.4 MB / 0.6939 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/0.8879, allocations: 446.7 kB / 0.6944 GB, free: 11.78 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.254e-06/0.8879, allocations: 3.938 kB / 0.6944 GB, free: 11.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.003906/0.8918, allocations: 1.111 MB / 0.6954 GB, free: 10.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001971/0.892, allocations: 384 kB / 0.6958 GB, free: 10.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.8922, allocations: 174.3 kB / 0.696 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.8923, allocations: 41.2 kB / 0.696 GB, free: 9.973 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.8924, allocations: 191.5 kB / 0.6962 GB, free: 9.781 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.8925, allocations: 113 kB / 0.6963 GB, free: 9.676 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.189e-05/0.8926, allocations: 45.69 kB / 0.6963 GB, free: 9.625 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8927, allocations: 334.8 kB / 0.6967 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.8929, allocations: 73.06 kB / 0.6967 GB, free: 9.215 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.8933, allocations: 355.5 kB / 0.6971 GB, free: 8.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/0.8938, allocations: 481.8 kB / 0.6975 GB, free: 8.145 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.8938, allocations: 0 / 0.6975 GB, free: 8.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000782/0.8946, allocations: 473.4 kB / 0.698 GB, free: 7.676 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.8946, allocations: 14.59 kB / 0.698 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.8947, allocations: 8 kB / 0.698 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/0.8947, allocations: 19.94 kB / 0.698 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.8963, allocations: 203.7 kB / 0.6982 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005765/0.8969, allocations: 1.193 MB / 0.6994 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.8972, allocations: 23.94 kB / 0.6994 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/0.8973, allocations: 43.97 kB / 0.6995 GB, free: 6.137 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.0002004/0.8975, allocations: 162.4 kB / 0.6996 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.902e-05/0.8976, allocations: 31.8 kB / 0.6996 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/0.9005, allocations: 2.836 MB / 0.7024 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.817e-05/0.9006, allocations: 23.97 kB / 0.7024 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.9006, allocations: 384 / 0.7024 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.9006, allocations: 8 kB / 0.7024 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009939/0.9016, allocations: 0.9738 MB / 0.7034 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.9016, allocations: 4 kB / 0.7034 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005602/0.9022, allocations: 100.2 kB / 0.7035 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002384/0.9024, allocations: 162.8 kB / 0.7036 GB, free: 1.781 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.9025, allocations: 12.81 kB / 0.7037 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003773/0.9029, allocations: 0.646 MB / 0.7043 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.9029, allocations: 3.938 kB / 0.7043 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.904, allocations: 0.9792 MB / 0.7052 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2716/1.176, allocations: 344 kB / 0.7056 GB, free: 208.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/1.176, allocations: 10.47 kB / 0.7056 GB, free: 208.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/1.176, allocations: 19.61 kB / 0.7056 GB, free: 208.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/1.176, allocations: 31.34 kB / 0.7056 GB, free: 208.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/1.176, allocations: 17.17 kB / 0.7056 GB, free: 208.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006636/1.177, allocations: 470.4 kB / 0.7061 GB, free: 208.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/1.177, allocations: 2.062 kB / 0.7061 GB, free: 208.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00568/1.183, allocations: 1.613 MB / 0.7077 GB, free: 208.5 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.009346/1.192, allocations: 1.883 MB / 0.7095 GB, free: 208.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001863/1.194, allocations: 0.5362 MB / 0.71 GB, free: 208.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/1.194, allocations: 0 / 0.71 GB, free: 208.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005115/1.194, allocations: 366.6 kB / 0.7104 GB, free: 208.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/1.196, allocations: 123.3 kB / 0.7105 GB, free: 208.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6383/1.834, allocations: 348.5 MB / 1.051 GB, free: 71.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/1.834, allocations: 0.9859 MB / 1.052 GB, free: 70.37 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008009/1.835, allocations: 0.5112 MB / 1.052 GB, free: 69.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/1.835, allocations: 55.41 kB / 1.052 GB, free: 69.82 MB / 0.545 GB Notification: Performance of SimCode: time 1.472e-06/1.835, allocations: 1.641 kB / 1.052 GB, free: 69.82 MB / 0.545 GB Notification: Performance of Templates: time 0.3634/2.199, allocations: 58.38 MB / 1.109 GB, free: 199.5 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