Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 117 kB / 19.13 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 214.6 kB / 22.08 MB, free: 0.9727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 252.3 MB, free: 276 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.18 MB / 351.8 MB, free: 14.33 MB / 286.1 MB " [Timeout remaining time 180] 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.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 86.34 kB / 490.9 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1355, allocations: 62.44 MB / 0.5404 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.04993/0.1855, allocations: 39.19 MB / 0.5786 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02785/0.2134, allocations: 20.17 MB / 0.5983 GB, free: 8.707 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.2145, allocations: 23.81 kB / 0.5983 GB, free: 8.684 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.2163, allocations: 453.3 kB / 0.5988 GB, free: 8.238 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01603/0.2324, allocations: 5.119 MB / 0.6038 GB, free: 3.121 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007893/0.2403, allocations: 2.566 MB / 0.6063 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.3075/0.5478, allocations: 1.977 MB / 0.6082 GB, free: 7.711 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009972/0.5488, allocations: 489.3 kB / 0.6087 GB, free: 7.684 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0115/0.5603, allocations: 4.158 MB / 0.6127 GB, free: 6.77 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01333/0.5737, allocations: 5.445 MB / 0.6181 GB, free: 5.336 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003749/0.5741, allocations: 71.25 kB / 0.6181 GB, free: 5.336 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01648/0.5906, allocations: 7.385 MB / 0.6253 GB, free: 5.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006862/0.5913, allocations: 287 kB / 0.6256 GB, free: 5.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009499/0.5923, allocations: 453.2 kB / 0.626 GB, free: 5.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.6059, allocations: 5.13 MB / 0.6311 GB, free: 5.035 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.606, allocations: 0 / 0.6311 GB, free: 5.035 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.606, allocations: 0 / 0.6311 GB, free: 5.035 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.606, allocations: 0 / 0.6311 GB, free: 5.035 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005737/0.6117, allocations: 1.732 MB / 0.6327 GB, free: 20.12 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.6118, allocations: 9.75 kB / 0.6328 GB, free: 20.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/0.6141, allocations: 311.6 kB / 0.6331 GB, free: 20.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.6152, allocations: 0.5862 MB / 0.6336 GB, free: 19.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.6154, allocations: 115.2 kB / 0.6337 GB, free: 19.73 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.444e-05/0.6155, allocations: 63.98 kB / 0.6338 GB, free: 19.73 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.6179, allocations: 1.201 MB / 0.635 GB, free: 19.44 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.618, allocations: 6.5 kB / 0.635 GB, free: 19.44 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.104e-05/0.6181, allocations: 28.5 kB / 0.635 GB, free: 19.44 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.913e-05/0.6181, allocations: 46.84 kB / 0.635 GB, free: 19.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.6206, allocations: 1.022 MB / 0.636 GB, free: 19.43 MB / 478.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.00626/0.6268, allocations: 5.619 MB / 0.6415 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/0.629, allocations: 0.7576 MB / 0.6423 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005426/0.6296, allocations: 286.9 kB / 0.6425 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03365/0.6632, allocations: 17.36 MB / 0.6595 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.6633, allocations: 44.56 kB / 0.6595 GB, free: 1.246 MB / 478.1 MB Notification: Performance of pre-optimization done (n=45): time 2.064e-06/0.6633, allocations: 0 / 0.6595 GB, free: 1.246 MB / 478.1 MB Notification: Performance of matching and sorting (n=49): time 0.006962/0.6703, allocations: 2.286 MB / 0.6618 GB, free: 300 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.6705, allocations: 169.9 kB / 0.6619 GB, free: 96 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000792/0.6713, allocations: 0.6127 MB / 0.6625 GB, free: 15.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.6713, allocations: 37.52 kB / 0.6626 GB, free: 15.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.6716, allocations: 398.3 kB / 0.6629 GB, free: 15.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.6718, allocations: 186.8 kB / 0.6631 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/0.672, allocations: 157.2 kB / 0.6633 GB, free: 15.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.6722, allocations: 381.4 kB / 0.6636 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/0.6728, allocations: 277.2 kB / 0.6639 GB, free: 14.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008652/0.6737, allocations: 0.6043 MB / 0.6645 GB, free: 13.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.6752, allocations: 0.9016 MB / 0.6654 GB, free: 13.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.6752, allocations: 11.94 kB / 0.6654 GB, free: 13.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001988/0.6772, allocations: 0.9594 MB / 0.6663 GB, free: 12.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.6772, allocations: 8 kB / 0.6663 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.6772, allocations: 15.98 kB / 0.6663 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.6776, allocations: 63.39 kB / 0.6664 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.6789, allocations: 297 kB / 0.6667 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.6807, allocations: 2.076 MB / 0.6687 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00094/0.6817, allocations: 52.19 kB / 0.6688 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.981e-05/0.6818, allocations: 39.98 kB / 0.6688 GB, free: 9.488 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0005705/0.6824, allocations: 278.3 kB / 0.6691 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.6826, allocations: 79.17 kB / 0.6691 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/0.6862, allocations: 2.546 MB / 0.6716 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.809e-05/0.6863, allocations: 35.95 kB / 0.6717 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6863, allocations: 0 / 0.6717 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-06/0.6863, allocations: 3.984 kB / 0.6717 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005044/0.6914, allocations: 3.77 MB / 0.6754 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.6914, allocations: 3.375 kB / 0.6754 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.6926, allocations: 230.8 kB / 0.6756 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003633/0.6929, allocations: 80.78 kB / 0.6757 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.693, allocations: 12 kB / 0.6757 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.6947, allocations: 2.093 MB / 0.6777 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6947, allocations: 0 / 0.6777 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003345/0.698, allocations: 2.354 MB / 0.68 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004867/0.6985, allocations: 259.9 kB / 0.6803 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.6987, allocations: 31.78 kB / 0.6803 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/0.6992, allocations: 36.03 kB / 0.6803 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.6993, allocations: 48.5 kB / 0.6804 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.6993, allocations: 20.98 kB / 0.6804 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000751/0.7001, allocations: 0.5615 MB / 0.6809 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7001, allocations: 0 / 0.6809 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004198/0.7043, allocations: 1.1 MB / 0.682 GB, free: 11.73 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.00562/0.71, allocations: 1.23 MB / 0.6832 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002719/0.7127, allocations: 1.098 MB / 0.6843 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.7127, allocations: 0 / 0.6843 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.7143, allocations: 0.8078 MB / 0.6851 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.7166, allocations: 419.2 kB / 0.6855 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.7206, allocations: 2.553 MB / 0.688 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007902/0.7214, allocations: 1.154 MB / 0.6891 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.7216, allocations: 75.42 kB / 0.6892 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.7217, allocations: 0 / 0.6892 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of Templates: time 0.05926/0.7809, allocations: 39.72 MB / 0.7279 GB, free: 12.93 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,volume.medium.h,volume.medium.p Variables in the result:time,volume.medium.h,volume.medium.p [Calling sys.exit(0), Time elapsed: 12.799519247026183]