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.001624/0.001624, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.00213/0.00213, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 8 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.001647/0.001647, allocations: 47.92 kB / 378.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2945, allocations: 53.36 MB / 431.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007286/0.3017, allocations: 5.658 MB / 437.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.3047, allocations: 1.473 MB / 438.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003343/0.3051, allocations: 15.94 kB / 438.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004933/0.3056, allocations: 198.3 kB / 439 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007192/0.3063, allocations: 388.8 kB / 439.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.3068, allocations: 263.6 kB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.3083, allocations: 1.361 MB / 441 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004471/0.3087, allocations: 271.8 kB / 441.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005661/0.3093, allocations: 0.5255 MB / 441.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007619/0.3101, allocations: 0.5835 MB / 442.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.3102, allocations: 120 kB / 442.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.3104, allocations: 120 kB / 442.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.3107, allocations: 259.2 kB / 442.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006145/0.3113, allocations: 0.6144 MB / 443.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.3128, allocations: 1.408 MB / 444.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3128, allocations: 0 / 444.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.3128, allocations: 4 kB / 444.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3128, allocations: 0 / 444.9 MB, free: 9.602 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.002797/0.3156, allocations: 1.44 MB / 446.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3156, allocations: 8.031 kB / 446.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/0.3159, allocations: 132.2 kB / 446.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.317, allocations: 0.5862 MB / 447 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003246/0.3173, allocations: 301.9 kB / 447.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.3174, allocations: 76.36 kB / 447.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.319, allocations: 0.963 MB / 448.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.319, allocations: 0 / 448.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.25e-05/0.3191, allocations: 40 kB / 448.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.3191, allocations: 16 kB / 448.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.3205, allocations: 0.6245 MB / 449 MB, free: 5.172 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.004494/0.325, allocations: 2.575 MB / 451.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/0.3276, allocations: 0.7557 MB / 452.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007705/0.3284, allocations: 331.3 kB / 452.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-05/0.3284, allocations: 8.656 kB / 452.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.3285, allocations: 51.22 kB / 452.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.304e-06/0.3285, allocations: 0 / 452.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002618/0.3311, allocations: 1.032 MB / 453.8 MB, free: 252 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000577/0.3317, allocations: 0.9527 MB / 454.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.3328, allocations: 0.7903 MB / 455.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.578e-05/0.3328, allocations: 45.7 kB / 455.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/0.3332, allocations: 413.1 kB / 456 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.3335, allocations: 257.7 kB / 456.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.3338, allocations: 166.6 kB / 456.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3339, allocations: 330 kB / 456.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006167/0.3345, allocations: 261.8 kB / 457 MB, free: 12.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000977/0.3355, allocations: 0.5841 MB / 457.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.3368, allocations: 0.6638 MB / 458.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3368, allocations: 0 / 458.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001875/0.3387, allocations: 0.9513 MB / 459.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.111e-05/0.3387, allocations: 81.11 kB / 459.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3387, allocations: 12.11 kB / 459.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003561/0.3391, allocations: 124.2 kB / 459.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007208/0.3398, allocations: 143.8 kB / 459.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006453/0.3463, allocations: 6.828 MB / 466.3 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009443/0.3472, allocations: 99.41 kB / 466.4 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-05/0.3473, allocations: 28 kB / 466.5 MB, free: 2.484 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.0004249/0.3477, allocations: 242 kB / 466.7 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.3479, allocations: 107.3 kB / 466.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.3481, allocations: 108.9 kB / 466.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.3481, allocations: 8 kB / 466.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3481, allocations: 0 / 466.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00154/0.3496, allocations: 0.966 MB / 467.9 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.3526, allocations: 1.717 MB / 469.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3526, allocations: 3.938 kB / 469.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007918/0.3534, allocations: 155.8 kB / 469.8 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.652e-05/0.3535, allocations: 24.84 kB / 469.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.3535, allocations: 15.98 kB / 469.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.3546, allocations: 1.299 MB / 471.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3546, allocations: 0 / 471.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.3567, allocations: 1.082 MB / 472.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/0.3571, allocations: 191.2 kB / 472.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.3572, allocations: 23.92 kB / 472.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006492/0.3579, allocations: 39.97 kB / 472.4 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.358, allocations: 48.56 kB / 472.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/0.3581, allocations: 16 kB / 472.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007602/0.3588, allocations: 0.5537 MB / 473 MB, free: 11.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3588, allocations: 0 / 473 MB, free: 11.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008079/0.3596, allocations: 291.7 kB / 473.3 MB, free: 11.3 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.0001866/0.3598, allocations: 127.1 kB / 473.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002239/0.3621, allocations: 1.362 MB / 474.8 MB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.3621, allocations: 4 kB / 474.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007164/0.3628, allocations: 398.2 kB / 475.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.3639, allocations: 283.1 kB / 475.5 MB, free: 9.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.3669, allocations: 1.71 MB / 477.2 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.3676, allocations: 0.9757 MB / 478.2 MB, free: 6.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004645/0.3681, allocations: 127.5 kB / 478.3 MB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.3683, allocations: 83.42 kB / 478.4 MB, free: 6.066 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3683, allocations: 4 kB / 478.4 MB, free: 6.062 MB / 382.1 MB Notification: Performance of Templates: time 0.03336/0.4017, allocations: 18.39 MB / 496.8 MB, free: 4.008 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/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.4248704649508]