Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.001755/0.001755, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00133/0.00133, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.378/1.378, allocations: 230.6 MB / 258.3 MB, free: 7.969 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.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_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_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 48.02 kB / 379 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2351, allocations: 53.36 MB / 432.4 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006672/0.2418, allocations: 4.997 MB / 437.4 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.2442, allocations: 1.328 MB / 438.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003518/0.2446, allocations: 11.94 kB / 438.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000484/0.2451, allocations: 166.5 kB / 438.9 MB, free: 388 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006835/0.2458, allocations: 325.3 kB / 439.2 MB, free: 60 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.2462, allocations: 231.6 kB / 439.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.2475, allocations: 1.157 MB / 440.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003771/0.2479, allocations: 228.1 kB / 440.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004938/0.2484, allocations: 458.4 kB / 441.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006266/0.249, allocations: 0.5019 MB / 441.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.2492, allocations: 100 kB / 441.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.2493, allocations: 104 kB / 442 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.2495, allocations: 219.2 kB / 442.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004918/0.25, allocations: 0.5172 MB / 442.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.2512, allocations: 1.19 MB / 443.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2513, allocations: 4 kB / 443.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2513, allocations: 3.938 kB / 443.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.2513, allocations: 0 / 443.9 MB, free: 11.35 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.00231/0.2536, allocations: 1.261 MB / 445.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2536, allocations: 8.031 kB / 445.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.2538, allocations: 116.3 kB / 445.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008703/0.2547, allocations: 495.3 kB / 445.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.2549, allocations: 297.2 kB / 446 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.87e-05/0.255, allocations: 64.31 kB / 446.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.2563, allocations: 0.844 MB / 447 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.2564, allocations: 4 kB / 447 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.779e-05/0.2564, allocations: 28 kB / 447 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.2564, allocations: 12 kB / 447 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.2576, allocations: 0.5556 MB / 447.6 MB, free: 7.449 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.003386/0.261, allocations: 2.062 MB / 449.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.2627, allocations: 0.6816 MB / 450.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006619/0.2633, allocations: 350.3 kB / 450.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.01e-05/0.2634, allocations: 12.72 kB / 450.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.2634, allocations: 51.22 kB / 450.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.445e-06/0.2634, allocations: 112 / 450.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004574/0.268, allocations: 1.437 MB / 452.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004567/0.2684, allocations: 0.8195 MB / 453 MB, free: 1.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008132/0.2693, allocations: 0.641 MB / 453.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.001e-05/0.2694, allocations: 49.7 kB / 453.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.2696, allocations: 329.5 kB / 454 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.2699, allocations: 269.6 kB / 454.2 MB, free: 428 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.2701, allocations: 150.6 kB / 454.4 MB, free: 272 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.2703, allocations: 390.7 kB / 454.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005242/0.2708, allocations: 245.9 kB / 455 MB, free: 15.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007781/0.2716, allocations: 0.5234 MB / 455.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.2727, allocations: 0.6349 MB / 456.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2727, allocations: 0 / 456.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002371/0.2751, allocations: 1.048 MB / 457.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.102e-05/0.2752, allocations: 85.09 kB / 457.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2752, allocations: 0 / 457.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006801/0.2758, allocations: 243.2 kB / 457.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/0.2764, allocations: 123.9 kB / 457.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007822/0.2842, allocations: 6.524 MB / 464.2 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008113/0.285, allocations: 99.52 kB / 464.3 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.2851, allocations: 20 kB / 464.3 MB, free: 5.688 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.0003599/0.2855, allocations: 221.7 kB / 464.5 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.2856, allocations: 91.44 kB / 464.6 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.2858, allocations: 95.33 kB / 464.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2858, allocations: 15.94 kB / 464.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2858, allocations: 0 / 464.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002204/0.288, allocations: 1.171 MB / 465.9 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/0.2915, allocations: 1.827 MB / 467.7 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2915, allocations: 0 / 467.7 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/0.2922, allocations: 132 kB / 467.8 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005387/0.2927, allocations: 198.5 kB / 468 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.84e-05/0.2927, allocations: 23.92 kB / 468 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006156/0.2989, allocations: 5.005 MB / 473.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.2989, allocations: 16.08 kB / 473.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003019/0.3019, allocations: 1.305 MB / 474.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.3024, allocations: 171.2 kB / 474.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.3025, allocations: 20 kB / 474.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005586/0.303, allocations: 35.91 kB / 474.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.3032, allocations: 64.53 kB / 474.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.3032, allocations: 20 kB / 474.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006146/0.3039, allocations: 467 kB / 475.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3039, allocations: 0 / 475.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008777/0.3047, allocations: 275.8 kB / 475.4 MB, free: 10 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.000177/0.3049, allocations: 122.2 kB / 475.5 MB, free: 9.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.3069, allocations: 1.262 MB / 476.8 MB, free: 8.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.3069, allocations: 4 kB / 476.8 MB, free: 8.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009335/0.3079, allocations: 0.6678 MB / 477.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009127/0.3088, allocations: 230.9 kB / 477.7 MB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.3118, allocations: 1.66 MB / 479.3 MB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.3125, allocations: 0.9401 MB / 480.3 MB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.3127, allocations: 67.44 kB / 480.4 MB, free: 4.848 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3127, allocations: 0 / 480.4 MB, free: 4.848 MB / 382.1 MB Notification: Performance of Templates: time 0.02925/0.3419, allocations: 22.16 MB / 0.4907 GB, free: 14.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.826717738062143]