Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002234/0.002234, allocations: 209.2 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 55.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2139, allocations: 53.36 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006267/0.2201, allocations: 4.665 MB / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.2222, allocations: 1.324 MB / 438.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.2224, allocations: 11.94 kB / 438.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.2228, allocations: 162.5 kB / 438.5 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000636/0.2234, allocations: 361.1 kB / 438.8 MB, free: 208 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.2239, allocations: 235.6 kB / 439.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.2251, allocations: 1.227 MB / 440.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003708/0.2255, allocations: 230.7 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004801/0.226, allocations: 490.3 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005932/0.2265, allocations: 0.5252 MB / 441.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.2267, allocations: 108 kB / 441.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.2269, allocations: 108 kB / 441.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.2271, allocations: 243.2 kB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004543/0.2276, allocations: 470 kB / 442.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.2288, allocations: 1.268 MB / 443.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2288, allocations: 0 / 443.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2288, allocations: 0 / 443.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.2288, allocations: 0 / 443.7 MB, free: 11.31 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.0026/0.2314, allocations: 1.339 MB / 445 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2314, allocations: 12.03 kB / 445 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.2316, allocations: 120.3 kB / 445.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009963/0.2326, allocations: 0.5312 MB / 445.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.2329, allocations: 305.2 kB / 446 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.233, allocations: 64.3 kB / 446.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.235, allocations: 1.648 MB / 447.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.235, allocations: 0 / 447.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.597e-05/0.2351, allocations: 28 kB / 447.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.2351, allocations: 16 kB / 447.7 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.2366, allocations: 0.6219 MB / 448.4 MB, free: 6.219 MB / 350.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.003259/0.2399, allocations: 1.62 MB / 450 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.2416, allocations: 0.7299 MB / 450.7 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008428/0.2424, allocations: 379.2 kB / 451.1 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-05/0.2425, allocations: 8.656 kB / 451.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.2425, allocations: 55.2 kB / 451.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.094e-06/0.2425, allocations: 0 / 451.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005289/0.2478, allocations: 1.515 MB / 452.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004322/0.2482, allocations: 0.8234 MB / 453.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007554/0.249, allocations: 0.6213 MB / 454.1 MB, free: 208 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.225e-05/0.2491, allocations: 45.7 kB / 454.2 MB, free: 156 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.2494, allocations: 349.2 kB / 454.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.2496, allocations: 285.6 kB / 454.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/0.2499, allocations: 150.6 kB / 454.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.2501, allocations: 386.8 kB / 455.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000756/0.2508, allocations: 358.9 kB / 455.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.2523, allocations: 1.406 MB / 457.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.2538, allocations: 0.709 MB / 457.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2538, allocations: 3.938 kB / 457.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002916/0.2567, allocations: 1.197 MB / 459 MB, free: 10.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.952e-05/0.2568, allocations: 81.11 kB / 459 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2568, allocations: 4 kB / 459.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007198/0.2575, allocations: 231.3 kB / 459.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007156/0.2582, allocations: 151.8 kB / 459.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008402/0.2666, allocations: 6.395 MB / 465.8 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/0.2674, allocations: 95.73 kB / 465.9 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.2674, allocations: 27.98 kB / 465.9 MB, free: 3.496 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003499/0.2678, allocations: 221.7 kB / 466.2 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.2679, allocations: 87.48 kB / 466.2 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.2681, allocations: 92.08 kB / 466.3 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2681, allocations: 8 kB / 466.3 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2681, allocations: 7.938 kB / 466.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002682/0.2708, allocations: 1.249 MB / 467.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/0.2747, allocations: 1.721 MB / 469.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2747, allocations: 4 kB / 469.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007711/0.2755, allocations: 155.8 kB / 469.5 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000561/0.276, allocations: 190.5 kB / 469.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.2761, allocations: 16 kB / 469.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006931/0.283, allocations: 4.951 MB / 474.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.283, allocations: 0 / 474.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00349/0.2865, allocations: 1.427 MB / 476.1 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.2869, allocations: 171.3 kB / 476.2 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.287, allocations: 19.94 kB / 476.2 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006917/0.2877, allocations: 51.95 kB / 476.3 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.2878, allocations: 72.47 kB / 476.4 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-05/0.2879, allocations: 27.92 kB / 476.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005561/0.2884, allocations: 443.1 kB / 476.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2884, allocations: 0 / 476.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008702/0.2893, allocations: 291.7 kB / 477.1 MB, free: 7.812 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001658/0.2895, allocations: 123.2 kB / 477.2 MB, free: 7.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002398/0.2919, allocations: 1.423 MB / 478.7 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.2919, allocations: 8.125 kB / 478.7 MB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.2933, allocations: 0.7456 MB / 479.4 MB, free: 5.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009541/0.2943, allocations: 233.6 kB / 479.6 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.2972, allocations: 1.69 MB / 481.3 MB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.2976, allocations: 354.7 kB / 481.7 MB, free: 3.043 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003866/0.298, allocations: 106.3 kB / 481.8 MB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.2982, allocations: 59.44 kB / 481.8 MB, free: 2.879 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2982, allocations: 0 / 481.8 MB, free: 2.879 MB / 382.1 MB Notification: Performance of Templates: time 0.03205/0.3302, allocations: 20.7 MB / 0.4908 GB, free: 14.56 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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: 5.315962131993729]