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.001888/0.001888, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002348/0.002348, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.457/1.457, allocations: 230.3 MB / 258 MB, free: 8.262 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.001937/0.001937, allocations: 67.88 kB / 378.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2196, allocations: 53.36 MB / 432.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006166/0.2258, allocations: 4.995 MB / 437.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.2278, allocations: 1.322 MB / 438.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.228, allocations: 15.88 kB / 438.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.2284, allocations: 166.5 kB / 438.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005539/0.2289, allocations: 329.3 kB / 438.9 MB, free: 252 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.2293, allocations: 219.6 kB / 439.2 MB, free: 32 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.2305, allocations: 1.16 MB / 440.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.2309, allocations: 230.6 kB / 440.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004676/0.2314, allocations: 454.5 kB / 441 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005904/0.2319, allocations: 0.498 MB / 441.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.2321, allocations: 104 kB / 441.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.2323, allocations: 104 kB / 441.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.2325, allocations: 227.2 kB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005061/0.233, allocations: 0.5095 MB / 442.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.2342, allocations: 1.179 MB / 443.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2342, allocations: 7.938 kB / 443.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2342, allocations: 0 / 443.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.2342, allocations: 0 / 443.6 MB, free: 11.55 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.002373/0.2366, allocations: 1.269 MB / 444.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2366, allocations: 12.03 kB / 444.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.2368, allocations: 112.3 kB / 445 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008248/0.2376, allocations: 495.3 kB / 445.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.2378, allocations: 151 kB / 445.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.882e-05/0.2379, allocations: 56.38 kB / 445.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.2394, allocations: 0.8362 MB / 446.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.2394, allocations: 0 / 446.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.809e-05/0.2395, allocations: 28 kB / 446.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.2395, allocations: 16 kB / 446.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.2408, allocations: 0.5594 MB / 447.1 MB, free: 7.84 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.003452/0.2442, allocations: 2.062 MB / 449.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.246, allocations: 0.6914 MB / 449.9 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007208/0.2467, allocations: 342.4 kB / 450.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.035e-05/0.2468, allocations: 12.72 kB / 450.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.2468, allocations: 55.16 kB / 450.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.753e-06/0.2468, allocations: 0 / 450.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004925/0.2517, allocations: 1.441 MB / 451.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004511/0.2522, allocations: 0.8272 MB / 452.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007921/0.253, allocations: 0.6332 MB / 453.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.919e-05/0.253, allocations: 45.7 kB / 453.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.2533, allocations: 333.5 kB / 453.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/0.2536, allocations: 265.6 kB / 453.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.2538, allocations: 150.6 kB / 454 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.254, allocations: 386.7 kB / 454.3 MB, free: 272 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005648/0.2546, allocations: 249.9 kB / 454.6 MB, free: 20 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008862/0.2555, allocations: 0.5352 MB / 455.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.2567, allocations: 0.631 MB / 455.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2567, allocations: 4 kB / 455.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002506/0.2592, allocations: 1.044 MB / 456.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.625e-05/0.2593, allocations: 85.11 kB / 456.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.2593, allocations: 0 / 456.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007058/0.26, allocations: 231.3 kB / 457.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/0.2605, allocations: 135.8 kB / 457.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008263/0.2688, allocations: 6.518 MB / 463.7 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/0.2695, allocations: 95.52 kB / 463.8 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.2696, allocations: 24 kB / 463.9 MB, free: 6.07 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.0003397/0.2699, allocations: 221.6 kB / 464.1 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.2701, allocations: 95.44 kB / 464.2 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.2703, allocations: 87.34 kB / 464.3 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.2703, allocations: 11.94 kB / 464.3 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2703, allocations: 192 / 464.3 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002492/0.2728, allocations: 1.182 MB / 465.5 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003752/0.2765, allocations: 1.827 MB / 467.3 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2765, allocations: 4 kB / 467.3 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/0.2773, allocations: 123.9 kB / 467.4 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005763/0.2779, allocations: 202.5 kB / 467.6 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.278, allocations: 16 kB / 467.6 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006649/0.2846, allocations: 5.017 MB / 472.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.2846, allocations: 3.938 kB / 472.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003052/0.2877, allocations: 1.305 MB / 473.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003426/0.288, allocations: 167.2 kB / 474.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.2881, allocations: 20 kB / 474.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006158/0.2887, allocations: 43.95 kB / 474.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.2889, allocations: 64.48 kB / 474.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.2889, allocations: 16 kB / 474.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005853/0.2895, allocations: 463 kB / 474.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2895, allocations: 0 / 474.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008401/0.2904, allocations: 283.8 kB / 475 MB, free: 10.38 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.000186/0.2905, allocations: 123.4 kB / 475.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.2927, allocations: 1.258 MB / 476.4 MB, free: 8.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.2927, allocations: 4 kB / 476.4 MB, free: 8.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.2937, allocations: 0.6676 MB / 477 MB, free: 8.191 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009808/0.2947, allocations: 233.5 kB / 477.3 MB, free: 7.965 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.2976, allocations: 1.623 MB / 478.9 MB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.2982, allocations: 0.9362 MB / 479.8 MB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004114/0.2986, allocations: 98.44 kB / 479.9 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.2988, allocations: 71.42 kB / 480 MB, free: 5.168 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2988, allocations: 0 / 480 MB, free: 5.168 MB / 382.1 MB Notification: Performance of Templates: time 0.0328/0.3316, allocations: 18.69 MB / 498.7 MB, free: 2.73 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/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: 5.226303449831903]