Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001796/0.001796, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002065/0.002065, allocations: 211.4 kB / 24.48 MB, free: 3.941 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.866/1.866, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 43.94 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2925, allocations: 53.36 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.008317/0.3008, allocations: 4.983 MB / 437.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003571/0.3044, allocations: 1.413 MB / 438.7 MB, free: 336 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005619/0.3049, allocations: 19.88 kB / 438.7 MB, free: 316 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000631/0.3056, allocations: 190.3 kB / 438.9 MB, free: 124 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.3067, allocations: 396.7 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006765/0.3074, allocations: 259.5 kB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001939/0.3093, allocations: 1.365 MB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005587/0.3099, allocations: 271.8 kB / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000736/0.3106, allocations: 0.5216 MB / 441.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008614/0.3115, allocations: 0.5875 MB / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.3117, allocations: 127.9 kB / 442.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.3119, allocations: 120 kB / 442.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.3122, allocations: 255.1 kB / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006228/0.3128, allocations: 0.5096 MB / 443.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.3146, allocations: 1.423 MB / 444.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3146, allocations: 4 kB / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3146, allocations: 0 / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.3146, allocations: 0 / 444.7 MB, free: 10.27 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003328/0.3179, allocations: 1.436 MB / 446.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.318, allocations: 12.03 kB / 446.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.3183, allocations: 132.2 kB / 446.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.3196, allocations: 0.5746 MB / 446.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003937/0.32, allocations: 313.9 kB / 447.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.3202, allocations: 64.38 kB / 447.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.3227, allocations: 1.853 MB / 449.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.3227, allocations: 0 / 449.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.3228, allocations: 36 kB / 449.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.3228, allocations: 16 kB / 449.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.3247, allocations: 0.6168 MB / 449.8 MB, free: 4.762 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.005175/0.3298, allocations: 1.863 MB / 451.6 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/0.3333, allocations: 0.7444 MB / 452.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009442/0.3342, allocations: 319.4 kB / 452.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.384e-05/0.3343, allocations: 20.66 kB / 452.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.571e-05/0.3344, allocations: 47.22 kB / 452.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.226e-06/0.3344, allocations: 0 / 452.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.003351/0.3377, allocations: 1.021 MB / 453.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005974/0.3383, allocations: 0.9527 MB / 454.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.3395, allocations: 0.7134 MB / 455.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007368/0.3402, allocations: 45.7 kB / 455.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/0.3407, allocations: 436.5 kB / 455.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002961/0.341, allocations: 261.8 kB / 456.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003498/0.3413, allocations: 154.7 kB / 456.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3415, allocations: 334 kB / 456.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008083/0.3423, allocations: 335 kB / 457 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.3441, allocations: 1.546 MB / 458.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.3457, allocations: 0.6639 MB / 459.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3457, allocations: 0 / 459.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002407/0.3481, allocations: 1.034 MB / 460.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.673e-05/0.3482, allocations: 85.11 kB / 460.3 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3482, allocations: 0 / 460.3 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/0.3486, allocations: 120.2 kB / 460.4 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009664/0.3495, allocations: 155.9 kB / 460.6 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008043/0.3576, allocations: 6.683 MB / 467.3 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.3588, allocations: 87.53 kB / 467.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/0.3588, allocations: 36.03 kB / 467.4 MB, free: 1.805 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005026/0.3593, allocations: 241.6 kB / 467.6 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.3596, allocations: 99.42 kB / 467.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.3598, allocations: 92.02 kB / 467.8 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3598, allocations: 8 kB / 467.8 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.3598, allocations: 7.938 kB / 467.8 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001889/0.3617, allocations: 0.97 MB / 468.8 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00364/0.3653, allocations: 1.468 MB / 470.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3653, allocations: 0 / 470.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.3664, allocations: 151.8 kB / 470.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/0.3666, allocations: 28.83 kB / 470.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.3666, allocations: 12 kB / 470.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.3679, allocations: 1.292 MB / 471.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3679, allocations: 0 / 471.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.3705, allocations: 1.066 MB / 472.8 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005746/0.3711, allocations: 179.2 kB / 473 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.3713, allocations: 24.06 kB / 473 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008784/0.3722, allocations: 39.97 kB / 473 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.3723, allocations: 48.56 kB / 473.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.594e-05/0.3723, allocations: 19.98 kB / 473.1 MB, free: 11.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008225/0.3732, allocations: 0.4912 MB / 473.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3732, allocations: 0 / 473.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001085/0.3742, allocations: 303.6 kB / 473.9 MB, free: 10.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002064/0.3745, allocations: 127.1 kB / 474 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00309/0.3775, allocations: 1.445 MB / 475.5 MB, free: 9.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/0.3776, allocations: 7.859 kB / 475.5 MB, free: 9.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.3786, allocations: 398.2 kB / 475.9 MB, free: 8.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.3803, allocations: 265 kB / 476.1 MB, free: 8.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.3844, allocations: 1.699 MB / 477.8 MB, free: 6.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.3849, allocations: 393.1 kB / 478.2 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006924/0.3856, allocations: 119 kB / 478.3 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/0.3859, allocations: 71.42 kB / 478.4 MB, free: 6.281 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3859, allocations: 0 / 478.4 MB, free: 6.281 MB / 382.1 MB Notification: Performance of Templates: time 0.0447/0.4306, allocations: 20.3 MB / 498.7 MB, free: 2.441 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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: 7.356165540986694]