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.001356/0.001356, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001446/0.001446, allocations: 209.2 kB / 23.73 MB, free: 4.523 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001599/0.001599, allocations: 47.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2392, allocations: 53.36 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006787/0.246, allocations: 4.997 MB / 436.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.2487, allocations: 1.398 MB / 438 MB, free: 284 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002993/0.249, allocations: 19.88 kB / 438 MB, free: 264 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.2494, allocations: 190.3 kB / 438.2 MB, free: 72 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007346/0.2501, allocations: 396.8 kB / 438.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.2506, allocations: 267.6 kB / 438.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.2521, allocations: 1.361 MB / 440.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004293/0.2525, allocations: 267.8 kB / 440.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005655/0.2531, allocations: 0.5333 MB / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007204/0.2538, allocations: 0.5835 MB / 441.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.254, allocations: 120 kB / 441.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.2542, allocations: 120 kB / 441.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.2544, allocations: 251.2 kB / 442 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005754/0.255, allocations: 0.5173 MB / 442.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.2564, allocations: 1.416 MB / 444 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2565, allocations: 0 / 444 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2565, allocations: 0 / 444 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.2565, allocations: 0 / 444 MB, free: 10.23 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.002785/0.2593, allocations: 1.444 MB / 445.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.2593, allocations: 12.03 kB / 445.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.2595, allocations: 132.2 kB / 445.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.2606, allocations: 0.5785 MB / 446.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003113/0.2609, allocations: 309.9 kB / 446.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.261, allocations: 72.25 kB / 446.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.2632, allocations: 1.857 MB / 448.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.2632, allocations: 0 / 448.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.409e-05/0.2633, allocations: 32 kB / 448.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.2633, allocations: 16 kB / 448.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.2646, allocations: 0.6129 MB / 449 MB, free: 4.703 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.003818/0.2684, allocations: 1.856 MB / 450.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.271, allocations: 0.7481 MB / 451.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007637/0.2718, allocations: 326.9 kB / 451.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.724e-05/0.2719, allocations: 16.64 kB / 452 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.2719, allocations: 47.22 kB / 452 MB, free: 1.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.234e-06/0.2719, allocations: 0 / 452 MB, free: 1.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002536/0.2744, allocations: 1.017 MB / 453 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006951/0.2751, allocations: 0.9489 MB / 454 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009147/0.2761, allocations: 0.7116 MB / 454.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.562e-05/0.2761, allocations: 49.64 kB / 454.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/0.2765, allocations: 441 kB / 455.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.2768, allocations: 257.8 kB / 455.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/0.277, allocations: 158.7 kB / 455.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2772, allocations: 330 kB / 455.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/0.2778, allocations: 342.9 kB / 456.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.2793, allocations: 1.546 MB / 457.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.2805, allocations: 0.66 MB / 458.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2805, allocations: 3.938 kB / 458.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001851/0.2824, allocations: 1.034 MB / 459.5 MB, free: 9.453 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.676e-05/0.2825, allocations: 85.11 kB / 459.6 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2825, allocations: 0 / 459.6 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003388/0.2828, allocations: 124.2 kB / 459.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007582/0.2836, allocations: 155.9 kB / 459.8 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006108/0.2897, allocations: 6.678 MB / 466.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008346/0.2905, allocations: 95.75 kB / 466.6 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/0.2906, allocations: 23.98 kB / 466.6 MB, free: 1.75 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.0003919/0.291, allocations: 237.7 kB / 466.9 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.2911, allocations: 99.44 kB / 467 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.2913, allocations: 100 kB / 467.1 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.2913, allocations: 4 kB / 467.1 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.2913, allocations: 7.938 kB / 467.1 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001486/0.2928, allocations: 0.9622 MB / 468 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.2956, allocations: 1.471 MB / 469.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2956, allocations: 0 / 469.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008338/0.2964, allocations: 155.8 kB / 469.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.532e-05/0.2965, allocations: 29.08 kB / 469.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/0.2965, allocations: 15.98 kB / 469.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.2976, allocations: 1.288 MB / 471 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2976, allocations: 0 / 471 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.2997, allocations: 1.078 MB / 472.1 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/0.3, allocations: 167.2 kB / 472.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.3002, allocations: 23.98 kB / 472.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000652/0.3008, allocations: 39.97 kB / 472.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.751e-05/0.3009, allocations: 44.56 kB / 472.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.301, allocations: 24 kB / 472.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006466/0.3016, allocations: 0.4912 MB / 472.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3016, allocations: 0 / 472.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007669/0.3024, allocations: 307.6 kB / 473.1 MB, free: 10.93 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.0001819/0.3026, allocations: 131.1 kB / 473.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.3047, allocations: 1.434 MB / 474.7 MB, free: 9.238 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.3048, allocations: 7.859 kB / 474.7 MB, free: 9.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007009/0.3055, allocations: 402.2 kB / 475.1 MB, free: 8.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.3065, allocations: 269.7 kB / 475.4 MB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.3095, allocations: 1.694 MB / 477.1 MB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.3099, allocations: 389.2 kB / 477.4 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004551/0.3103, allocations: 126.9 kB / 477.6 MB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.3106, allocations: 71.42 kB / 477.6 MB, free: 6.227 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3106, allocations: 0 / 477.6 MB, free: 6.227 MB / 382.1 MB Notification: Performance of Templates: time 0.03471/0.3453, allocations: 20.29 MB / 497.9 MB, free: 2.391 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.253661043010652]