Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001561/0.001561, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.00169/0.00169, allocations: 215.9 kB / 24.5 MB, free: 4.133 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.479/1.479, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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(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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 59.91 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2342, allocations: 53.42 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006525/0.2408, allocations: 4.986 MB / 437.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.2434, allocations: 1.324 MB / 438.8 MB, free: 416 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005009/0.2439, allocations: 11.94 kB / 438.8 MB, free: 404 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.2444, allocations: 166.5 kB / 438.9 MB, free: 236 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007863/0.2452, allocations: 325.2 kB / 439.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.2457, allocations: 235.6 kB / 439.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.2472, allocations: 1.157 MB / 440.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004096/0.2476, allocations: 232.1 kB / 440.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005404/0.2481, allocations: 458.4 kB / 441.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006499/0.2488, allocations: 0.498 MB / 441.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.2489, allocations: 104 kB / 441.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.2491, allocations: 104 kB / 442 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.2493, allocations: 219.2 kB / 442.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005281/0.2498, allocations: 0.5134 MB / 442.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.2511, allocations: 1.183 MB / 443.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2511, allocations: 7.938 kB / 443.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2511, allocations: 0 / 443.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.2511, allocations: 0 / 443.9 MB, free: 11.2 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.002443/0.2536, allocations: 1.265 MB / 445.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2536, allocations: 12.03 kB / 445.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.2538, allocations: 112.3 kB / 445.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000924/0.2547, allocations: 0.4914 MB / 445.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.255, allocations: 305.2 kB / 446.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.2551, allocations: 60.38 kB / 446.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.2566, allocations: 0.8355 MB / 447 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.2566, allocations: 0 / 447 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.896e-05/0.2567, allocations: 32 kB / 447 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.2567, allocations: 12 kB / 447 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.2579, allocations: 0.5595 MB / 447.6 MB, free: 7.293 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.003665/0.2616, allocations: 2.058 MB / 449.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.2633, allocations: 0.6914 MB / 450.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007033/0.264, allocations: 342.4 kB / 450.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.754e-05/0.2641, allocations: 16.7 kB / 450.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.2641, allocations: 51.22 kB / 450.7 MB, free: 4.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.755e-06/0.2641, allocations: 0 / 450.7 MB, free: 4.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004888/0.269, allocations: 1.433 MB / 452.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004786/0.2695, allocations: 0.8311 MB / 453 MB, free: 1.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008832/0.2704, allocations: 0.6371 MB / 453.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.2705, allocations: 41.7 kB / 453.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.2708, allocations: 333.5 kB / 454 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.271, allocations: 265.6 kB / 454.3 MB, free: 268 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/0.2713, allocations: 150.6 kB / 454.4 MB, free: 112 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.2715, allocations: 386.7 kB / 454.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005698/0.2721, allocations: 249.9 kB / 455 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008489/0.2729, allocations: 0.5312 MB / 455.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.2741, allocations: 0.6426 MB / 456.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2741, allocations: 0 / 456.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002592/0.2767, allocations: 1.04 MB / 457.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.329e-05/0.2768, allocations: 85.11 kB / 457.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.2768, allocations: 0 / 457.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007781/0.2776, allocations: 231.3 kB / 457.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.2782, allocations: 131.8 kB / 457.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008731/0.2869, allocations: 6.523 MB / 464.2 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009302/0.2879, allocations: 95.52 kB / 464.3 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-05/0.288, allocations: 27.98 kB / 464.3 MB, free: 5.523 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.0004268/0.2884, allocations: 213.7 kB / 464.5 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.2886, allocations: 95.44 kB / 464.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.2888, allocations: 91.34 kB / 464.7 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.2888, allocations: 7.938 kB / 464.7 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2888, allocations: 4 kB / 464.7 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002381/0.2912, allocations: 1.178 MB / 465.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004083/0.2953, allocations: 1.827 MB / 467.7 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2953, allocations: 4.062 kB / 467.8 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000651/0.2959, allocations: 123.9 kB / 467.9 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005913/0.2965, allocations: 206.6 kB / 468.1 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.493e-05/0.2966, allocations: 12 kB / 468.1 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006779/0.3034, allocations: 5.012 MB / 473.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.3034, allocations: 3.938 kB / 473.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003281/0.3066, allocations: 1.309 MB / 474.4 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/0.3072, allocations: 175.2 kB / 474.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.3073, allocations: 16 kB / 474.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006696/0.308, allocations: 43.91 kB / 474.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.3082, allocations: 60.73 kB / 474.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/0.3083, allocations: 23.98 kB / 474.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006862/0.3089, allocations: 459.1 kB / 475.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3089, allocations: 0 / 475.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009808/0.3099, allocations: 279.8 kB / 475.4 MB, free: 9.844 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.0002114/0.3101, allocations: 134.7 kB / 475.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.3124, allocations: 1.258 MB / 476.8 MB, free: 8.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3124, allocations: 4.125 kB / 476.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.3135, allocations: 0.6675 MB / 477.5 MB, free: 7.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.3146, allocations: 227.1 kB / 477.7 MB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.3181, allocations: 1.667 MB / 479.4 MB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006243/0.3187, allocations: 0.9362 MB / 480.3 MB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.319, allocations: 71.42 kB / 480.4 MB, free: 4.68 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.319, allocations: 0 / 480.4 MB, free: 4.68 MB / 382.1 MB Notification: Performance of Templates: time 0.03007/0.349, allocations: 22.15 MB / 0.4908 GB, free: 14.6 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 9.312684779055417]