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.0009393/0.0009395, allocations: 97.31 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 200.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.2 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 45.92 MB / 344 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002814, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1521, allocations: 63.46 MB / 481.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01541/0.1676, allocations: 11.85 MB / 493.2 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02893/0.1966, allocations: 22.42 MB / 0.5036 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.1968, allocations: 8 kB / 0.5036 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.1972, allocations: 71.58 kB / 0.5036 GB, free: 2.969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.271/0.4682, allocations: 6.716 MB / 0.5102 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009071/0.4692, allocations: 307.5 kB / 0.5105 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006469/0.4756, allocations: 3.045 MB / 0.5135 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.948e-05/0.4758, allocations: 20.5 kB / 0.5135 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006353/0.4764, allocations: 278.1 kB / 0.5138 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009747/0.4862, allocations: 5.568 MB / 0.5192 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.552e-05/0.4863, allocations: 8.625 kB / 0.5192 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02496/0.5113, allocations: 11.47 MB / 0.5304 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.5115, allocations: 44.58 kB / 0.5304 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.5118, allocations: 75.17 kB / 0.5305 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.5247, allocations: 4.512 MB / 0.5349 GB, free: 7.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5248, allocations: 0 / 0.5349 GB, free: 7.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5248, allocations: 0 / 0.5349 GB, free: 7.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.5248, allocations: 0 / 0.5349 GB, free: 7.707 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.005731/0.5305, allocations: 1.554 MB / 0.5364 GB, free: 6.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.5306, allocations: 12.03 kB / 0.5364 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.532, allocations: 184.6 kB / 0.5366 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.5324, allocations: 268 kB / 0.5369 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.5324, allocations: 29.34 kB / 0.5369 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.5325, allocations: 26.44 kB / 0.5369 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.5343, allocations: 0.75 MB / 0.5377 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5343, allocations: 7.656 kB / 0.5377 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.5344, allocations: 17.7 kB / 0.5377 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.5344, allocations: 8 kB / 0.5377 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.5362, allocations: 0.8128 MB / 0.5385 GB, free: 4.418 MB / 382.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.002739/0.5389, allocations: 2.711 MB / 0.5411 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.54, allocations: 346.6 kB / 0.5415 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4225/0.9626, allocations: 147.4 MB / 0.6854 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002053/0.9647, allocations: 437.7 kB / 0.6858 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 3.807e-06/0.9647, allocations: 1.078 kB / 0.6858 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.006151/0.9708, allocations: 1.116 MB / 0.6869 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/0.9711, allocations: 375.5 kB / 0.6873 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.9713, allocations: 183.4 kB / 0.6875 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.9714, allocations: 36.83 kB / 0.6875 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.9715, allocations: 187 kB / 0.6877 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.9716, allocations: 115.6 kB / 0.6878 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.9717, allocations: 6 kB / 0.6878 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.9718, allocations: 335.7 kB / 0.6881 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.9721, allocations: 81.56 kB / 0.6882 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004474/0.9725, allocations: 342.6 kB / 0.6885 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.9729, allocations: 133.2 kB / 0.6886 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.9729, allocations: 4 kB / 0.6886 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001224/0.9741, allocations: 466 kB / 0.6891 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.9742, allocations: 17.94 kB / 0.6891 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.9742, allocations: 8 kB / 0.6891 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.424e-05/0.9742, allocations: 12 kB / 0.6891 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002352/0.9766, allocations: 211.2 kB / 0.6893 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00078/0.9774, allocations: 1.186 MB / 0.6905 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.9779, allocations: 27.28 kB / 0.6905 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.502e-05/0.978, allocations: 45.28 kB / 0.6906 GB, free: 304 kB / 0.5294 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002735/0.9783, allocations: 166.3 kB / 0.6907 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.9784, allocations: 27.28 kB / 0.6907 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004209/0.9826, allocations: 2.882 MB / 0.6936 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.519e-05/0.9827, allocations: 22.11 kB / 0.6936 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.9827, allocations: 7.984 kB / 0.6936 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.9827, allocations: 4 kB / 0.6936 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.9842, allocations: 0.9711 MB / 0.6945 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.9842, allocations: 4 kB / 0.6945 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007943/0.985, allocations: 102.6 kB / 0.6946 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000359/0.9854, allocations: 166.5 kB / 0.6948 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.9855, allocations: 14.75 kB / 0.6948 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005493/0.986, allocations: 0.6321 MB / 0.6954 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.9861, allocations: 11.8 kB / 0.6954 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.9872, allocations: 1.105 MB / 0.6965 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003333/0.9875, allocations: 349.8 kB / 0.6968 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.479e-05/0.9876, allocations: 12.42 kB / 0.6969 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/0.988, allocations: 21.03 kB / 0.6969 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.988, allocations: 37.12 kB / 0.6969 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.9881, allocations: 18.34 kB / 0.6969 GB, free: 11.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005068/0.9886, allocations: 468.8 kB / 0.6974 GB, free: 10.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9886, allocations: 0 / 0.6974 GB, free: 10.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005227/0.9938, allocations: 1.628 MB / 0.699 GB, free: 9.355 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007754/1.002, allocations: 1.863 MB / 0.7008 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001657/1.003, allocations: 0.5342 MB / 0.7013 GB, free: 7.199 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/1.003, allocations: 4.312 kB / 0.7013 GB, free: 7.195 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004134/1.004, allocations: 364.1 kB / 0.7017 GB, free: 6.848 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006914/1.004, allocations: 119.2 kB / 0.7018 GB, free: 6.734 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/1.007, allocations: 2.587 MB / 0.7043 GB, free: 4.348 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/1.008, allocations: 1.002 MB / 0.7053 GB, free: 3.324 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007775/1.009, allocations: 0.5066 MB / 0.7058 GB, free: 2.832 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/1.009, allocations: 59.41 kB / 0.7058 GB, free: 2.773 MB / 0.545 GB Notification: Performance of SimCode: time 7.42e-07/1.009, allocations: 0 / 0.7058 GB, free: 2.773 MB / 0.545 GB Notification: Performance of Templates: time 0.3197/1.328, allocations: 59.15 MB / 0.7636 GB, free: 169.4 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","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches