Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001898/0.001898, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002115/0.002115, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.5 MB / 258.1 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 59.91 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2627, allocations: 53.42 MB / 432.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007827/0.2705, allocations: 5.664 MB / 438.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003519/0.274, allocations: 1.458 MB / 439.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005196/0.2745, allocations: 19.88 kB / 439.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000589/0.2751, allocations: 194.3 kB / 439.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009431/0.2761, allocations: 396.7 kB / 440.2 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/0.2767, allocations: 259.6 kB / 440.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0018/0.2785, allocations: 1.362 MB / 441.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004948/0.279, allocations: 271.8 kB / 442 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007245/0.2797, allocations: 0.5255 MB / 442.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000766/0.2805, allocations: 0.5836 MB / 443.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.2806, allocations: 123.9 kB / 443.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.2808, allocations: 120 kB / 443.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.2811, allocations: 255.1 kB / 443.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006374/0.2817, allocations: 0.6144 MB / 444.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.2833, allocations: 1.408 MB / 445.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.2833, allocations: 0 / 445.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2833, allocations: 0 / 445.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.2833, allocations: 7.875 kB / 445.7 MB, free: 9.449 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.002796/0.2861, allocations: 1.436 MB / 447.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.2862, allocations: 12.03 kB / 447.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.2864, allocations: 132.2 kB / 447.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.2875, allocations: 0.5785 MB / 447.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003241/0.2878, allocations: 313.9 kB / 448.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.288, allocations: 64.38 kB / 448.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.2896, allocations: 0.9785 MB / 449.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.2896, allocations: 0 / 449.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.364e-05/0.2897, allocations: 32 kB / 449.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.2897, allocations: 16 kB / 449.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.2911, allocations: 0.6207 MB / 449.8 MB, free: 5.023 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.0047/0.2958, allocations: 2.579 MB / 452.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.2984, allocations: 0.7538 MB / 453.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007549/0.2992, allocations: 315.4 kB / 453.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.984e-05/0.2992, allocations: 12.64 kB / 453.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.36e-05/0.2993, allocations: 63.14 kB / 453.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.715e-06/0.2993, allocations: 336 / 453.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002682/0.302, allocations: 1.025 MB / 454.6 MB, free: 108 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005601/0.3026, allocations: 0.9527 MB / 455.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3037, allocations: 0.7941 MB / 456.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.3038, allocations: 45.7 kB / 456.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.3042, allocations: 417.1 kB / 456.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/0.3045, allocations: 261.7 kB / 457 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.3048, allocations: 162.6 kB / 457.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3049, allocations: 330 kB / 457.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005921/0.3055, allocations: 257.9 kB / 457.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000941/0.3065, allocations: 0.585 MB / 458.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.3077, allocations: 0.6638 MB / 459 MB, free: 11.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3077, allocations: 0 / 459 MB, free: 11.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00195/0.3097, allocations: 0.9552 MB / 460 MB, free: 10.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.61e-05/0.3098, allocations: 81.11 kB / 460.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3098, allocations: 4 kB / 460.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004072/0.3102, allocations: 128.2 kB / 460.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007526/0.3109, allocations: 151.8 kB / 460.3 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006877/0.3178, allocations: 6.812 MB / 467.1 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.3189, allocations: 99.41 kB / 467.2 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.433e-05/0.319, allocations: 32.27 kB / 467.3 MB, free: 2.344 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.0005186/0.3195, allocations: 237.7 kB / 467.5 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.3198, allocations: 111.3 kB / 467.6 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.32, allocations: 105 kB / 467.7 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.32, allocations: 4 kB / 467.7 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.3201, allocations: 11.88 kB / 467.7 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00157/0.3216, allocations: 0.9661 MB / 468.7 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.3249, allocations: 1.713 MB / 470.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.3249, allocations: 4 kB / 470.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000813/0.3257, allocations: 155.8 kB / 470.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.3258, allocations: 28.78 kB / 470.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-05/0.3259, allocations: 19.98 kB / 470.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.327, allocations: 1.291 MB / 471.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.327, allocations: 3.938 kB / 471.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.3292, allocations: 1.082 MB / 473 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005184/0.3298, allocations: 191.2 kB / 473.2 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.33, allocations: 20 kB / 473.2 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007311/0.3307, allocations: 39.97 kB / 473.2 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.3308, allocations: 48.5 kB / 473.3 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.3309, allocations: 23.98 kB / 473.3 MB, free: 11.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009003/0.3318, allocations: 0.5459 MB / 473.8 MB, free: 11.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3318, allocations: 0 / 473.8 MB, free: 11.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001019/0.3328, allocations: 299.7 kB / 474.1 MB, free: 11.15 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.0002283/0.333, allocations: 114.8 kB / 474.3 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002514/0.3355, allocations: 1.37 MB / 475.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.3355, allocations: 0 / 475.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007713/0.3363, allocations: 410.5 kB / 476 MB, free: 9.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.3376, allocations: 278.8 kB / 476.3 MB, free: 8.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.3414, allocations: 1.731 MB / 478 MB, free: 7.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007758/0.3421, allocations: 0.9874 MB / 479 MB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.3424, allocations: 79.42 kB / 479.1 MB, free: 6.012 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3424, allocations: 4 kB / 479.1 MB, free: 6.008 MB / 382.1 MB Notification: Performance of Templates: time 0.03717/0.3796, allocations: 24.43 MB / 0.4917 GB, free: 13.67 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.660210773115978]