Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.001313/0.001313, allocations: 117.9 kB / 21.18 MB, free: 0.6289 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.00139/0.00139, allocations: 202.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.407/1.407, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/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(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2414, allocations: 53.33 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006784/0.2481, allocations: 4.991 MB / 437 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.2509, allocations: 1.312 MB / 438.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005708/0.2515, allocations: 11.94 kB / 438.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006024/0.2521, allocations: 166.5 kB / 438.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.2531, allocations: 333.2 kB / 438.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.2537, allocations: 227.6 kB / 439.1 MB, free: 324 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.2555, allocations: 1.157 MB / 440.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000465/0.256, allocations: 227.7 kB / 440.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007738/0.2567, allocations: 446.5 kB / 440.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007704/0.2575, allocations: 0.5019 MB / 441.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.2577, allocations: 100 kB / 441.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.2578, allocations: 104 kB / 441.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.258, allocations: 219.2 kB / 441.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005373/0.2586, allocations: 0.5172 MB / 442.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.26, allocations: 1.187 MB / 443.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.26, allocations: 0 / 443.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.26, allocations: 0 / 443.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.186e-05/0.26, allocations: 0 / 443.5 MB, free: 11.85 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002576/0.2626, allocations: 1.336 MB / 444.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2626, allocations: 8.031 kB / 444.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.2628, allocations: 112.3 kB / 445 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009578/0.2638, allocations: 0.5596 MB / 445.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/0.264, allocations: 147 kB / 445.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.2641, allocations: 60.38 kB / 445.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.2655, allocations: 0.8393 MB / 446.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.2655, allocations: 0 / 446.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-05/0.2656, allocations: 32 kB / 446.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.2656, allocations: 16 kB / 446.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.2669, allocations: 0.5594 MB / 447.2 MB, free: 7.953 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.00371/0.2706, allocations: 2.097 MB / 449.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.2725, allocations: 0.9138 MB / 450.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006965/0.2732, allocations: 334.6 kB / 450.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.845e-05/0.2732, allocations: 24.7 kB / 450.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.2733, allocations: 47.22 kB / 450.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.505e-06/0.2733, allocations: 0 / 450.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005077/0.2784, allocations: 1.735 MB / 452.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005003/0.2789, allocations: 0.8234 MB / 453.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009175/0.2798, allocations: 0.6411 MB / 453.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.2799, allocations: 41.7 kB / 453.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.2802, allocations: 329.4 kB / 454.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.2805, allocations: 277.6 kB / 454.4 MB, free: 232 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.2808, allocations: 150.6 kB / 454.6 MB, free: 76 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.281, allocations: 394.7 kB / 454.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005792/0.2816, allocations: 241.9 kB / 455.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008471/0.2824, allocations: 0.5278 MB / 455.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.2837, allocations: 0.6426 MB / 456.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2837, allocations: 0 / 456.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002683/0.2863, allocations: 1.04 MB / 457.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.772e-05/0.2864, allocations: 89.11 kB / 457.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2864, allocations: 0 / 457.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007571/0.2872, allocations: 235.2 kB / 457.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/0.2878, allocations: 127.8 kB / 457.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008787/0.2965, allocations: 6.937 MB / 464.8 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008795/0.2974, allocations: 91.56 kB / 464.9 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/0.2975, allocations: 24 kB / 464.9 MB, free: 4.98 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 (70): * Single equations (assignments): 63 * 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.0003711/0.2979, allocations: 217.7 kB / 465.1 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.298, allocations: 95.44 kB / 465.2 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.2982, allocations: 87.34 kB / 465.3 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.2982, allocations: 11.94 kB / 465.3 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2982, allocations: 0 / 465.3 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002386/0.3006, allocations: 1.182 MB / 466.5 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003959/0.3046, allocations: 1.855 MB / 468.3 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3046, allocations: 4 kB / 468.3 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006523/0.3052, allocations: 123.9 kB / 468.4 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000577/0.3058, allocations: 202.5 kB / 468.6 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/0.3059, allocations: 12 kB / 468.7 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007142/0.313, allocations: 5.327 MB / 474 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.313, allocations: 3.938 kB / 474 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/0.3163, allocations: 1.313 MB / 475.3 MB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005175/0.3168, allocations: 240.4 kB / 475.5 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.317, allocations: 20 kB / 475.6 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006856/0.3177, allocations: 39.95 kB / 475.6 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.3179, allocations: 60.58 kB / 475.7 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.3179, allocations: 20.12 kB / 475.7 MB, free: 9.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007532/0.3187, allocations: 463 kB / 476.1 MB, free: 9.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3187, allocations: 0 / 476.1 MB, free: 9.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001033/0.3197, allocations: 287.7 kB / 476.4 MB, free: 8.781 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (61): * Single equations (assignments): 58 * 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.0002163/0.3199, allocations: 127.3 kB / 476.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.3223, allocations: 1.258 MB / 477.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3223, allocations: 0 / 477.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.3234, allocations: 0.6757 MB / 478.5 MB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.3246, allocations: 238 kB / 478.7 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.328, allocations: 1.653 MB / 480.3 MB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/0.3287, allocations: 0.944 MB / 481.3 MB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.3289, allocations: 71.42 kB / 481.4 MB, free: 3.621 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3289, allocations: 0 / 481.4 MB, free: 3.621 MB / 382.1 MB Notification: Performance of Templates: time 0.03134/0.3603, allocations: 22.13 MB / 0.4917 GB, free: 13.56 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.782378317788243]