Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.0008113/0.0008113, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003637/0.003637, allocations: 158.7 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8376/0.8376, allocations: 177 MB / 204.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.2228/0.2228, allocations: 34.24 MB / 295.6 MB, free: 0.7148 MB / 266.7 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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.855e-05, allocations: 6.219 kB / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.1611/0.1611, allocations: 35.64 MB / 479.1 MB, free: 21.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.1724, allocations: 18.03 MB / 497.1 MB, free: 9.695 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003456/0.1727, allocations: 27.97 kB / 497.1 MB, free: 9.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007331/0.1735, allocations: 415.4 kB / 497.5 MB, free: 9.469 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008466/0.1819, allocations: 5.209 MB / 0.491 GB, free: 7.211 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004333/0.1863, allocations: 2.593 MB / 0.4935 GB, free: 5.871 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001665/0.1879, allocations: 2.039 MB / 0.4955 GB, free: 4.918 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004755/0.1884, allocations: 432.7 kB / 0.4959 GB, free: 4.719 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004882/0.1933, allocations: 4.436 MB / 0.5002 GB, free: 2.711 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005424/0.1987, allocations: 5.442 MB / 0.5055 GB, free: 320 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.1988, allocations: 71.78 kB / 0.5056 GB, free: 320 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009808/0.2086, allocations: 7.067 MB / 0.5125 GB, free: 13.11 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003004/0.2089, allocations: 304.3 kB / 0.5128 GB, free: 12.9 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003971/0.2093, allocations: 330.7 kB / 0.5131 GB, free: 12.75 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007937/0.2173, allocations: 6.285 MB / 0.5193 GB, free: 8.133 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2173, allocations: 0 / 0.5193 GB, free: 8.133 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2173, allocations: 0 / 0.5193 GB, free: 8.133 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.2173, allocations: 4 kB / 0.5193 GB, free: 8.129 MB / 426.7 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.002565/0.2198, allocations: 1.62 MB / 0.5208 GB, free: 6.473 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2199, allocations: 12.03 kB / 0.5209 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.221, allocations: 304.1 kB / 0.5211 GB, free: 6.164 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006098/0.2216, allocations: 0.5213 MB / 0.5217 GB, free: 5.617 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.2217, allocations: 164.7 kB / 0.5218 GB, free: 5.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.748e-05/0.2218, allocations: 60.33 kB / 0.5219 GB, free: 5.371 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.2232, allocations: 1.493 MB / 0.5233 GB, free: 3.707 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.2232, allocations: 3.938 kB / 0.5233 GB, free: 3.703 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.363e-05/0.2233, allocations: 27.98 kB / 0.5234 GB, free: 3.676 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.2233, allocations: 49.23 kB / 0.5234 GB, free: 3.625 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000969/0.2243, allocations: 0.8401 MB / 0.5242 GB, free: 2.785 MB / 426.7 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.003328/0.2276, allocations: 4.319 MB / 0.5284 GB, free: 14.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000704/0.2283, allocations: 0.5714 MB / 0.529 GB, free: 13.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.2285, allocations: 209.6 kB / 0.5292 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0419/0.2704, allocations: 26.04 MB / 0.5546 GB, free: 3.441 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.2704, allocations: 41.25 kB / 0.5547 GB, free: 3.395 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 1.833e-06/0.2704, allocations: 0 / 0.5547 GB, free: 3.395 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.003092/0.2735, allocations: 1.863 MB / 0.5565 GB, free: 1.488 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.2736, allocations: 166.2 kB / 0.5567 GB, free: 1.289 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/0.274, allocations: 0.5495 MB / 0.5572 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.2741, allocations: 37.7 kB / 0.5572 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.2742, allocations: 404 kB / 0.5576 GB, free: 296 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.2743, allocations: 174.5 kB / 0.5578 GB, free: 120 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.2745, allocations: 154.6 kB / 0.5579 GB, free: 15.96 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2746, allocations: 374.7 kB / 0.5583 GB, free: 15.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.2748, allocations: 225.9 kB / 0.5585 GB, free: 15.36 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.2752, allocations: 0.6473 MB / 0.5591 GB, free: 14.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008894/0.2761, allocations: 0.8417 MB / 0.5599 GB, free: 13.54 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2761, allocations: 0 / 0.5599 GB, free: 13.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008189/0.2769, allocations: 0.8647 MB / 0.5608 GB, free: 12.67 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2769, allocations: 16.88 kB / 0.5608 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2769, allocations: 8 kB / 0.5608 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.2771, allocations: 72.75 kB / 0.5609 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.2777, allocations: 279.6 kB / 0.5612 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009595/0.2787, allocations: 1.948 MB / 0.5631 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.2789, allocations: 31.98 kB / 0.5631 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.279, allocations: 36 kB / 0.5631 GB, free: 10.16 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.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.0002504/0.2792, allocations: 278.7 kB / 0.5634 GB, free: 9.879 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.2793, allocations: 63.62 kB / 0.5634 GB, free: 9.816 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.2808, allocations: 2.312 MB / 0.5657 GB, free: 7.492 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.2808, allocations: 31.95 kB / 0.5657 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.2808, allocations: 0 / 0.5657 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.2808, allocations: 8.016 kB / 0.5657 GB, free: 7.453 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.2832, allocations: 3.104 MB / 0.5688 GB, free: 4.305 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2832, allocations: 4 kB / 0.5688 GB, free: 4.301 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.2836, allocations: 187.8 kB / 0.569 GB, free: 4.117 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001832/0.2838, allocations: 88.73 kB / 0.569 GB, free: 4.027 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.2838, allocations: 15.98 kB / 0.5691 GB, free: 4.012 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008275/0.2847, allocations: 1.973 MB / 0.571 GB, free: 1.918 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.2847, allocations: 0 / 0.571 GB, free: 1.918 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.286, allocations: 2.036 MB / 0.573 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.2862, allocations: 159.1 kB / 0.5731 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.2862, allocations: 31.78 kB / 0.5732 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.2865, allocations: 27.97 kB / 0.5732 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.2865, allocations: 44.36 kB / 0.5732 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.2866, allocations: 20.8 kB / 0.5732 GB, free: 15.58 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005747/0.2871, allocations: 467 kB / 0.5737 GB, free: 15.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2871, allocations: 0 / 0.5737 GB, free: 15.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002681/0.2898, allocations: 1.092 MB / 0.5748 GB, free: 14.03 MB / 490.7 MB 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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.002706/0.2925, allocations: 1.363 MB / 0.5761 GB, free: 12.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.2936, allocations: 0.9131 MB / 0.577 GB, free: 11.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2936, allocations: 4.062 kB / 0.577 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006114/0.2942, allocations: 0.6094 MB / 0.5776 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009011/0.2951, allocations: 333.9 kB / 0.5779 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.2971, allocations: 2.223 MB / 0.5801 GB, free: 8.574 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/0.2977, allocations: 0.5208 MB / 0.5806 GB, free: 8.023 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.2978, allocations: 68.48 kB / 0.5806 GB, free: 7.957 MB / 490.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2978, allocations: 0 / 0.5806 GB, free: 7.957 MB / 490.7 MB Notification: Performance of Templates: time 0.03139/0.3292, allocations: 37.96 MB / 0.6177 GB, free: 2.02 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.465540031902492]