Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001711/0.001711, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001489/0.001489, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 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.445/1.445, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 47.92 kB / 371.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.249, allocations: 52.18 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007102/0.2561, allocations: 5.667 MB / 429.5 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002795/0.2589, allocations: 1.425 MB / 431 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004298/0.2593, allocations: 15.94 kB / 431 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005091/0.2598, allocations: 202.3 kB / 431.2 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008015/0.2606, allocations: 400.6 kB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.2611, allocations: 255.7 kB / 431.8 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.2627, allocations: 1.362 MB / 433.2 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004503/0.2631, allocations: 271.8 kB / 433.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006261/0.2637, allocations: 0.5294 MB / 434 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007819/0.2645, allocations: 0.5835 MB / 434.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.2647, allocations: 120 kB / 434.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.2649, allocations: 124 kB / 434.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.2651, allocations: 259.1 kB / 435.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000616/0.2657, allocations: 0.6067 MB / 435.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.2672, allocations: 1.402 MB / 437.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2672, allocations: 11.86 kB / 437.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2672, allocations: 0 / 437.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.2672, allocations: 0 / 437.1 MB, free: 1.391 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.00275/0.27, allocations: 1.436 MB / 438.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.27, allocations: 16.91 kB / 438.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.2702, allocations: 132.2 kB / 438.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.2713, allocations: 0.5707 MB / 439.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/0.2717, allocations: 309.9 kB / 439.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.2718, allocations: 72.33 kB / 439.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.2734, allocations: 0.9709 MB / 440.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.2734, allocations: 0 / 440.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.786e-05/0.2735, allocations: 32 kB / 440.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.2735, allocations: 19.94 kB / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.2749, allocations: 0.6207 MB / 441.2 MB, free: 12.97 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.004434/0.2793, allocations: 2.582 MB / 443.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.2819, allocations: 0.7543 MB / 444.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007328/0.2826, allocations: 322.7 kB / 444.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-05/0.2827, allocations: 8.656 kB / 444.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.2827, allocations: 47.22 kB / 444.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.996e-06/0.2827, allocations: 4 kB / 445 MB, free: 9.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002591/0.2853, allocations: 1.032 MB / 446 MB, free: 8.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005662/0.2859, allocations: 0.9527 MB / 446.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.287, allocations: 0.7864 MB / 447.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.2871, allocations: 45.7 kB / 447.8 MB, free: 6.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.2875, allocations: 425.1 kB / 448.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/0.2878, allocations: 261.7 kB / 448.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/0.288, allocations: 158.6 kB / 448.6 MB, free: 5.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2882, allocations: 334 kB / 448.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005978/0.2888, allocations: 253.9 kB / 449.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009531/0.2898, allocations: 0.5841 MB / 449.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.291, allocations: 0.6639 MB / 450.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.291, allocations: 7.938 kB / 450.4 MB, free: 3.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001907/0.2929, allocations: 0.9474 MB / 451.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.751e-05/0.293, allocations: 89.09 kB / 451.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.293, allocations: 4 kB / 451.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/0.2934, allocations: 124.2 kB / 451.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.2941, allocations: 151.8 kB / 451.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006236/0.3004, allocations: 6.82 MB / 458.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.3014, allocations: 107.5 kB / 458.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/0.3015, allocations: 24 kB / 458.7 MB, free: 10.27 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.0004195/0.3019, allocations: 233.7 kB / 458.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.3021, allocations: 107.4 kB / 459 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.3023, allocations: 104.8 kB / 459.1 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.3023, allocations: 7.984 kB / 459.1 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3023, allocations: 0 / 459.1 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001476/0.3038, allocations: 0.97 MB / 460.1 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.3068, allocations: 1.716 MB / 461.8 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3068, allocations: 0 / 461.8 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007974/0.3076, allocations: 159.8 kB / 462 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.3077, allocations: 28.84 kB / 462 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/0.3077, allocations: 12 kB / 462 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.3088, allocations: 1.303 MB / 463.3 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3088, allocations: 3.984 kB / 463.3 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.3109, allocations: 1.078 MB / 464.4 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/0.3114, allocations: 195 kB / 464.6 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.3115, allocations: 20 kB / 464.6 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006584/0.3122, allocations: 43.83 kB / 464.6 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.3123, allocations: 44.56 kB / 464.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.3124, allocations: 20 kB / 464.7 MB, free: 3.922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007783/0.3132, allocations: 0.5459 MB / 465.3 MB, free: 3.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3132, allocations: 4 kB / 465.3 MB, free: 3.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008203/0.314, allocations: 291.8 kB / 465.5 MB, free: 3.094 MB / 366.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.0001831/0.3142, allocations: 127.1 kB / 465.7 MB, free: 2.961 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002284/0.3164, allocations: 1.374 MB / 467 MB, free: 1.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3164, allocations: 0 / 467 MB, free: 1.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007501/0.3172, allocations: 402.6 kB / 467.4 MB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.3184, allocations: 274 kB / 467.7 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/0.3216, allocations: 1.729 MB / 469.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.3223, allocations: 0.9757 MB / 470.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.3226, allocations: 83.42 kB / 470.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3226, allocations: 0 / 470.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of Templates: time 0.03147/0.354, allocations: 24.43 MB / 494.9 MB, free: 5.641 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.552716623991728]