Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 47.91 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2401, allocations: 52.14 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006393/0.2465, allocations: 4.978 MB / 425.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.2488, allocations: 1.293 MB / 427.1 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002649/0.2491, allocations: 11.94 kB / 427.1 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000428/0.2495, allocations: 166.6 kB / 427.3 MB, free: 8.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006157/0.2501, allocations: 329.2 kB / 427.6 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.2506, allocations: 219.6 kB / 427.8 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.2519, allocations: 1.163 MB / 429 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003749/0.2523, allocations: 231.7 kB / 429.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004895/0.2527, allocations: 442.5 kB / 429.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000601/0.2533, allocations: 0.4979 MB / 430.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.2535, allocations: 104 kB / 430.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.2537, allocations: 104 kB / 430.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.2539, allocations: 223.2 kB / 430.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004923/0.2544, allocations: 0.5094 MB / 431.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.2556, allocations: 1.183 MB / 432.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2556, allocations: 8 kB / 432.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2556, allocations: 4 kB / 432.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.2556, allocations: 0 / 432.3 MB, free: 3.594 MB / 334.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.002378/0.258, allocations: 1.328 MB / 433.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.258, allocations: 19.89 kB / 433.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.2582, allocations: 112.3 kB / 433.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008745/0.2591, allocations: 0.5518 MB / 434.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.2593, allocations: 143 kB / 434.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.2594, allocations: 64.33 kB / 434.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.2608, allocations: 0.8472 MB / 435.3 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.2608, allocations: 4 kB / 435.4 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/0.2609, allocations: 28 kB / 435.4 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.2609, allocations: 12 kB / 435.4 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.2622, allocations: 0.5596 MB / 436 MB, free: 15.7 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.003539/0.2657, allocations: 2.104 MB / 438.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.2676, allocations: 0.9173 MB / 439 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007073/0.2683, allocations: 346.4 kB / 439.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.768e-05/0.2683, allocations: 8.656 kB / 439.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.2684, allocations: 47.22 kB / 439.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.314e-06/0.2684, allocations: 0 / 439.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004921/0.2733, allocations: 1.734 MB / 441.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000428/0.2737, allocations: 0.825 MB / 441.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008349/0.2746, allocations: 0.6449 MB / 442.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-05/0.2746, allocations: 41.7 kB / 442.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.2749, allocations: 345.5 kB / 442.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.2752, allocations: 265.7 kB / 443.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.2754, allocations: 142.7 kB / 443.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.2756, allocations: 390.7 kB / 443.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005634/0.2762, allocations: 245.9 kB / 444 MB, free: 7.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008563/0.277, allocations: 0.5312 MB / 444.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.2783, allocations: 0.6349 MB / 445.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2783, allocations: 0 / 445.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002583/0.2808, allocations: 1.048 MB / 446.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.53e-05/0.2809, allocations: 89.11 kB / 446.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2809, allocations: 4 kB / 446.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007182/0.2816, allocations: 231.3 kB / 446.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.2822, allocations: 131.7 kB / 446.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008557/0.2908, allocations: 6.924 MB / 453.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008689/0.2917, allocations: 95.52 kB / 453.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/0.2917, allocations: 24 kB / 453.7 MB, free: 12.73 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.00037/0.2921, allocations: 213.7 kB / 453.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.2923, allocations: 87.72 kB / 454 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.2924, allocations: 103.3 kB / 454.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.2925, allocations: 15.92 kB / 454.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2925, allocations: 0 / 454.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002353/0.2948, allocations: 1.171 MB / 455.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003792/0.2986, allocations: 1.867 MB / 457.1 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2986, allocations: 192 / 457.1 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006611/0.2993, allocations: 131.9 kB / 457.2 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005659/0.2998, allocations: 202.4 kB / 457.4 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.2999, allocations: 16 kB / 457.5 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006582/0.3065, allocations: 5.315 MB / 462.8 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3065, allocations: 3.938 kB / 462.8 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003048/0.3095, allocations: 1.309 MB / 464.1 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003937/0.3099, allocations: 244.4 kB / 464.3 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.31, allocations: 20 kB / 464.3 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005723/0.3106, allocations: 35.97 kB / 464.4 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.3108, allocations: 60.56 kB / 464.4 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.3108, allocations: 24 kB / 464.5 MB, free: 1.246 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006298/0.3114, allocations: 463 kB / 464.9 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3114, allocations: 0 / 464.9 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008632/0.3123, allocations: 275.8 kB / 465.2 MB, free: 0.5312 MB / 366.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.000187/0.3125, allocations: 123.7 kB / 465.3 MB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.3145, allocations: 1.262 MB / 466.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.3145, allocations: 4 kB / 466.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009715/0.3155, allocations: 0.6794 MB / 467.3 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000911/0.3164, allocations: 241.3 kB / 467.5 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.3193, allocations: 1.621 MB / 469.1 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006116/0.3199, allocations: 0.94 MB / 470 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003864/0.3203, allocations: 106.4 kB / 470.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.3205, allocations: 67.42 kB / 470.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3205, allocations: 0 / 470.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of Templates: time 0.03035/0.3508, allocations: 18.51 MB / 488.7 MB, free: 9.051 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.024696919135749]