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.001656/0.001656, allocations: 115.1 kB / 18.45 MB, free: 4.566 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.002053/0.002053, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.637/1.637, allocations: 230.6 MB / 254.8 MB, free: 15.04 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.001485/0.001485, allocations: 48.06 kB / 374.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1106, allocations: 53.33 MB / 427.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.2096/0.3203, allocations: 5.641 MB / 433.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.3229, allocations: 1.459 MB / 434.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004498/0.3233, allocations: 20.88 kB / 434.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004572/0.3238, allocations: 195.1 kB / 434.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007396/0.3245, allocations: 403.2 kB / 435.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.325, allocations: 257.9 kB / 435.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.3263, allocations: 1.355 MB / 436.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004121/0.3267, allocations: 275.1 kB / 437.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006206/0.3273, allocations: 0.5212 MB / 437.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000654/0.328, allocations: 0.5886 MB / 438.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.3281, allocations: 119.3 kB / 438.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.3283, allocations: 124.9 kB / 438.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.3285, allocations: 258.6 kB / 438.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005176/0.329, allocations: 0.6098 MB / 439.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.3306, allocations: 1.403 MB / 440.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3306, allocations: 4.875 kB / 440.7 MB, free: 5.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3306, allocations: 0 / 440.7 MB, free: 5.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.986e-05/0.3306, allocations: 0 / 440.7 MB, free: 5.805 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.002649/0.3333, allocations: 1.512 MB / 442.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3333, allocations: 8.906 kB / 442.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.3336, allocations: 132.8 kB / 442.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009778/0.3345, allocations: 0.6474 MB / 443 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.3347, allocations: 151.1 kB / 443.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.3348, allocations: 74.91 kB / 443.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.3364, allocations: 0.9682 MB / 444.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.3364, allocations: 1 kB / 444.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.149e-05/0.3365, allocations: 34.83 kB / 444.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.3365, allocations: 15.25 kB / 444.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.3378, allocations: 0.616 MB / 444.8 MB, free: 3.234 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.004094/0.3419, allocations: 2.635 MB / 447.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.3445, allocations: 0.8172 MB / 448.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006814/0.3452, allocations: 316.7 kB / 448.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.06e-05/0.3452, allocations: 20.52 kB / 448.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.3453, allocations: 47.16 kB / 448.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.865e-06/0.3453, allocations: 4 kB / 448.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002572/0.3478, allocations: 1.402 MB / 450.1 MB, free: 200 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004757/0.3483, allocations: 0.9532 MB / 451 MB, free: 15.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.3495, allocations: 0.7856 MB / 451.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.3496, allocations: 50.33 kB / 451.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/0.35, allocations: 416.4 kB / 452.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.3503, allocations: 264.6 kB / 452.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.3506, allocations: 164.6 kB / 452.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3508, allocations: 332.3 kB / 453 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/0.3514, allocations: 256.9 kB / 453.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009582/0.3523, allocations: 0.5873 MB / 453.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.3536, allocations: 0.6656 MB / 454.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3536, allocations: 0 / 454.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002005/0.3556, allocations: 0.9527 MB / 455.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.852e-05/0.3557, allocations: 89.81 kB / 455.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3557, allocations: 1.219 kB / 455.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/0.3561, allocations: 126.6 kB / 455.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/0.3568, allocations: 153.4 kB / 455.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006916/0.3637, allocations: 7.328 MB / 463.1 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.3652, allocations: 109.2 kB / 463.3 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.3653, allocations: 24.86 kB / 463.3 MB, free: 4.777 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.0006583/0.366, allocations: 236.5 kB / 463.5 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/0.3664, allocations: 105.3 kB / 463.6 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.3666, allocations: 99.78 kB / 463.7 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.3666, allocations: 10.09 kB / 463.7 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/0.3666, allocations: 4.938 kB / 463.7 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001597/0.3682, allocations: 0.9708 MB / 464.7 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/0.3718, allocations: 1.748 MB / 466.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3718, allocations: 0 / 466.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007889/0.3726, allocations: 151.5 kB / 466.6 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/0.3727, allocations: 28.91 kB / 466.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.3727, allocations: 20.33 kB / 466.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.3739, allocations: 1.402 MB / 468 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3739, allocations: 0.625 kB / 468 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/0.3762, allocations: 1.082 MB / 469.1 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006727/0.3769, allocations: 260.8 kB / 469.4 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003069/0.3772, allocations: 19.06 kB / 469.4 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000913/0.3781, allocations: 39.44 kB / 469.4 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.3783, allocations: 45.78 kB / 469.5 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/0.3783, allocations: 21.52 kB / 469.5 MB, free: 256 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009876/0.3793, allocations: 0.55 MB / 470.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3793, allocations: 0 / 470.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001253/0.3805, allocations: 300.6 kB / 470.3 MB, free: 15.89 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.0002375/0.3808, allocations: 124.7 kB / 470.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002658/0.3834, allocations: 1.356 MB / 471.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.3835, allocations: 6.141 kB / 471.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008054/0.3843, allocations: 412.2 kB / 472.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.3859, allocations: 276.6 kB / 472.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.3897, allocations: 1.738 MB / 474.2 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007594/0.3904, allocations: 0.9776 MB / 475.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/0.3908, allocations: 84.02 kB / 475.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3908, allocations: 0 / 475.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of Templates: time 0.03565/0.4265, allocations: 24.43 MB / 499.7 MB, free: 6.289 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 -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: 10.184184587007621]