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.001287/0.001287, allocations: 107.6 kB / 21.19 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.001457/0.001457, allocations: 215.5 kB / 24.48 MB, free: 3.957 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.514/1.514, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001468/0.001468, allocations: 43.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2643, allocations: 53.37 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.00672/0.271, allocations: 4.987 MB / 437.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002979/0.274, allocations: 1.41 MB / 438.7 MB, free: 332 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003949/0.2744, allocations: 19.88 kB / 438.7 MB, free: 312 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004865/0.2749, allocations: 190.3 kB / 438.9 MB, free: 120 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008159/0.2757, allocations: 392.7 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.2762, allocations: 263.6 kB / 439.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.2778, allocations: 1.369 MB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004511/0.2782, allocations: 267.8 kB / 441.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006219/0.2789, allocations: 0.5255 MB / 441.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007265/0.2796, allocations: 0.5797 MB / 442.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.2797, allocations: 120 kB / 442.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.2799, allocations: 120 kB / 442.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.2802, allocations: 259.1 kB / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000558/0.2807, allocations: 0.5174 MB / 443.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.2822, allocations: 1.423 MB / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2822, allocations: 0 / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2822, allocations: 0 / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.297e-05/0.2822, 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.002812/0.2851, allocations: 1.44 MB / 446.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2851, allocations: 8.031 kB / 446.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.2854, allocations: 136.2 kB / 446.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.2865, allocations: 0.5707 MB / 446.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003111/0.2868, allocations: 309.9 kB / 447.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.2869, allocations: 72.31 kB / 447.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.289, allocations: 1.853 MB / 449.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.289, allocations: 0 / 449.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-05/0.2891, allocations: 36 kB / 449.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.2891, allocations: 16 kB / 449.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.2905, allocations: 0.6168 MB / 449.8 MB, free: 4.75 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.004218/0.2947, allocations: 1.859 MB / 451.6 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/0.2974, allocations: 0.7467 MB / 452.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007356/0.2982, allocations: 319.4 kB / 452.7 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.047e-05/0.2982, allocations: 12.66 kB / 452.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/0.2983, allocations: 51.2 kB / 452.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.975e-06/0.2983, allocations: 0 / 452.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002737/0.301, allocations: 1.021 MB / 453.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000555/0.3016, allocations: 0.9489 MB / 454.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009851/0.3026, allocations: 0.7116 MB / 455.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.245e-05/0.3027, allocations: 45.7 kB / 455.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.303, allocations: 436.5 kB / 455.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.3033, allocations: 257.8 kB / 456.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/0.3036, allocations: 158.6 kB / 456.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3037, allocations: 334 kB / 456.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006278/0.3044, allocations: 339 kB / 457 MB, free: 13.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.3058, allocations: 1.546 MB / 458.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.3071, allocations: 0.6678 MB / 459.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3071, allocations: 3.938 kB / 459.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001957/0.3091, allocations: 1.028 MB / 460.2 MB, free: 9.508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.171e-05/0.3091, allocations: 85.11 kB / 460.3 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3092, allocations: 0 / 460.3 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003711/0.3095, allocations: 128.2 kB / 460.4 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/0.3103, allocations: 151.8 kB / 460.6 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006148/0.3164, allocations: 6.687 MB / 467.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.3175, allocations: 87.53 kB / 467.4 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.61e-05/0.3176, allocations: 28 kB / 467.4 MB, free: 1.801 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.000443/0.3181, allocations: 248 kB / 467.6 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.3182, allocations: 95.44 kB / 467.7 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.3184, allocations: 92.02 kB / 467.8 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.3184, allocations: 11.98 kB / 467.8 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.3184, allocations: 3.938 kB / 467.8 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001473/0.3199, allocations: 0.9622 MB / 468.8 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.3227, allocations: 1.468 MB / 470.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3227, allocations: 0 / 470.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008243/0.3235, allocations: 159.8 kB / 470.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.3237, allocations: 24.84 kB / 470.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.3237, allocations: 12 kB / 470.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.3248, allocations: 1.296 MB / 471.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3248, allocations: 0 / 471.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.3269, allocations: 1.07 MB / 472.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/0.3274, allocations: 175.2 kB / 473 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.3275, allocations: 20 kB / 473 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006731/0.3282, allocations: 43.95 kB / 473 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3283, allocations: 44.58 kB / 473.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/0.3283, allocations: 19.98 kB / 473.1 MB, free: 11.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007211/0.3291, allocations: 0.4912 MB / 473.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3291, allocations: 0 / 473.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008616/0.3299, 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.0002011/0.3301, allocations: 127.1 kB / 474 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002365/0.3325, allocations: 1.438 MB / 475.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.3325, allocations: 7.859 kB / 475.5 MB, free: 9.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000755/0.3333, allocations: 406.5 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.001131/0.3344, allocations: 269.2 kB / 476.1 MB, free: 8.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.3376, allocations: 1.727 MB / 477.9 MB, free: 6.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.338, allocations: 393.1 kB / 478.2 MB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.3383, allocations: 79.42 kB / 478.3 MB, free: 6.359 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3383, allocations: 3.938 kB / 478.3 MB, free: 6.355 MB / 382.1 MB Notification: Performance of Templates: time 0.03287/0.3711, allocations: 24.51 MB / 0.491 GB, free: 13.95 MB / 414.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 -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: 9.51795870802016]