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.001558/0.001558, 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.001723/0.001723, allocations: 214.8 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.001557/0.001557, allocations: 51.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2116, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006462/0.2181, allocations: 4.994 MB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.2203, allocations: 1.402 MB / 438.7 MB, free: 292 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.2205, allocations: 19.88 kB / 438.7 MB, free: 272 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.2209, allocations: 194.3 kB / 438.9 MB, free: 76 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007188/0.2217, allocations: 392.7 kB / 439.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.2221, allocations: 263.6 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.2235, allocations: 1.358 MB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004292/0.224, allocations: 271.8 kB / 441.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005258/0.2245, allocations: 0.5255 MB / 441.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006875/0.2252, allocations: 0.5874 MB / 442.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.2254, allocations: 124 kB / 442.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.2256, allocations: 120 kB / 442.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.2258, allocations: 255.2 kB / 442.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005147/0.2263, allocations: 0.5096 MB / 443.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.2277, allocations: 1.424 MB / 444.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2277, allocations: 0 / 444.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2277, allocations: 0 / 444.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.2277, allocations: 0 / 444.7 MB, free: 10.23 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.002789/0.2305, allocations: 1.436 MB / 446.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2306, allocations: 12.03 kB / 446.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.2308, allocations: 136.2 kB / 446.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.2318, allocations: 0.5746 MB / 446.9 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.2322, allocations: 313.8 kB / 447.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.2323, allocations: 68.31 kB / 447.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.2344, allocations: 1.861 MB / 449.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.2344, allocations: 0 / 449.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.951e-05/0.2345, allocations: 32 kB / 449.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.2345, allocations: 16 kB / 449.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.2358, allocations: 0.6129 MB / 449.8 MB, free: 4.715 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.003883/0.2397, allocations: 1.856 MB / 451.6 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.2424, allocations: 0.7519 MB / 452.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007273/0.2431, allocations: 319.4 kB / 452.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.603e-05/0.2431, allocations: 16.64 kB / 452.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.2432, allocations: 47.22 kB / 452.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.024e-06/0.2432, allocations: 0 / 452.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002546/0.2457, allocations: 1.029 MB / 453.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005065/0.2462, allocations: 0.9527 MB / 454.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009073/0.2471, allocations: 0.7121 MB / 455.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.463e-05/0.2472, allocations: 45.7 kB / 455.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/0.2476, allocations: 432.6 kB / 455.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.2478, allocations: 253.8 kB / 456.2 MB, free: 14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.2481, allocations: 158.7 kB / 456.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2482, allocations: 337.9 kB / 456.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006368/0.2489, allocations: 339 kB / 457 MB, free: 13.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.2503, allocations: 1.546 MB / 458.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.2515, allocations: 0.66 MB / 459.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2515, allocations: 3.938 kB / 459.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001856/0.2534, allocations: 1.031 MB / 460.2 MB, free: 9.465 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.771e-05/0.2535, allocations: 89.09 kB / 460.3 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2535, allocations: 0 / 460.3 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.2538, allocations: 120.2 kB / 460.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.2546, allocations: 151.8 kB / 460.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00615/0.2607, allocations: 6.683 MB / 467.3 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007852/0.2615, allocations: 91.53 kB / 467.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.418e-05/0.2616, allocations: 31.97 kB / 467.4 MB, free: 1.758 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.0003656/0.2619, allocations: 237.7 kB / 467.6 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.2621, allocations: 99.44 kB / 467.7 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.2623, allocations: 96 kB / 467.8 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.2623, allocations: 8 kB / 467.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2623, allocations: 3.938 kB / 467.8 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001506/0.2638, allocations: 0.9661 MB / 468.8 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/0.2666, allocations: 1.46 MB / 470.2 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.2666, allocations: 4 kB / 470.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008396/0.2675, allocations: 159.8 kB / 470.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.991e-05/0.2676, allocations: 28.84 kB / 470.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.2676, allocations: 15.98 kB / 470.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.2686, allocations: 1.28 MB / 471.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2686, allocations: 3.984 kB / 471.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.2708, allocations: 1.078 MB / 472.8 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.2711, allocations: 175.2 kB / 473 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.2713, allocations: 16 kB / 473 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006551/0.2719, allocations: 43.97 kB / 473 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.272, allocations: 48.56 kB / 473.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.2721, allocations: 23.94 kB / 473.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006449/0.2727, allocations: 0.4912 MB / 473.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2727, allocations: 0 / 473.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007576/0.2735, allocations: 307.6 kB / 473.9 MB, free: 10.94 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.0001594/0.2736, allocations: 123.1 kB / 474 MB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002213/0.2759, allocations: 1.441 MB / 475.5 MB, free: 9.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.2759, allocations: 7.859 kB / 475.5 MB, free: 9.238 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007419/0.2766, allocations: 402.5 kB / 475.9 MB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.2777, allocations: 269.3 kB / 476.1 MB, free: 8.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.2806, allocations: 1.68 MB / 477.8 MB, free: 6.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.281, allocations: 389.2 kB / 478.2 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004723/0.2815, allocations: 126.9 kB / 478.3 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.2817, allocations: 75.42 kB / 478.4 MB, free: 6.242 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2817, allocations: 0 / 478.4 MB, free: 6.242 MB / 382.1 MB Notification: Performance of Templates: time 0.03274/0.3144, allocations: 20.31 MB / 498.7 MB, free: 2.395 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 gbode -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: 5.009825404995354]