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.001612/0.001612, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002104/0.002104, allocations: 209 kB / 24.48 MB, free: 3.938 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.502/1.502, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.00175/0.00175, allocations: 47.92 kB / 379 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.26, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006645/0.2666, allocations: 4.995 MB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.2699, allocations: 1.408 MB / 438.7 MB, free: 296 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004628/0.2703, allocations: 15.88 kB / 438.7 MB, free: 280 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.2709, allocations: 194.3 kB / 438.9 MB, free: 84 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009123/0.2718, allocations: 392.7 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/0.2723, allocations: 267.6 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.274, allocations: 1.358 MB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004736/0.2744, allocations: 263.8 kB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006736/0.2751, allocations: 0.5255 MB / 441.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008131/0.2759, allocations: 0.5015 MB / 442.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.2761, allocations: 116 kB / 442.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.2763, allocations: 120 kB / 442.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.2766, allocations: 255.2 kB / 442.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005969/0.2772, allocations: 0.5096 MB / 443.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.2787, allocations: 1.428 MB / 444.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2787, allocations: 4 kB / 444.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2787, allocations: 0 / 444.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.2787, allocations: 4 kB / 444.7 MB, free: 10.33 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.002809/0.2815, allocations: 1.432 MB / 446.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2816, allocations: 12.03 kB / 446.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/0.2818, allocations: 132.2 kB / 446.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.2829, allocations: 0.5785 MB / 446.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000366/0.2833, allocations: 309.8 kB / 447.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.2834, allocations: 68.38 kB / 447.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.2856, allocations: 1.857 MB / 449 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.2856, allocations: 0 / 449 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.917e-05/0.2857, allocations: 32 kB / 449.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.2857, allocations: 16 kB / 449.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.2871, allocations: 0.6168 MB / 449.7 MB, free: 4.816 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.004119/0.2913, allocations: 1.856 MB / 451.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/0.294, allocations: 0.7461 MB / 452.3 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007746/0.2948, allocations: 323.4 kB / 452.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.254e-05/0.2948, allocations: 16.64 kB / 452.6 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/0.2949, allocations: 47.33 kB / 452.7 MB, free: 1.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.226e-06/0.2949, allocations: 3.938 kB / 452.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.0028/0.2977, allocations: 1.025 MB / 453.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005992/0.2983, allocations: 0.9528 MB / 454.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.2994, allocations: 0.7077 MB / 455.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.2995, allocations: 45.7 kB / 455.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004554/0.3, allocations: 432.6 kB / 455.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.3002, allocations: 257.8 kB / 456.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.3005, allocations: 162.6 kB / 456.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3007, allocations: 333.9 kB / 456.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006741/0.3013, allocations: 339 kB / 456.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.303, allocations: 1.546 MB / 458.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.3043, allocations: 0.6638 MB / 459.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3043, allocations: 0 / 459.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002011/0.3063, allocations: 1.03 MB / 460.1 MB, free: 9.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.768e-05/0.3064, allocations: 89.22 kB / 460.2 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3064, allocations: 4 kB / 460.2 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/0.3068, allocations: 124.2 kB / 460.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007447/0.3076, allocations: 151.8 kB / 460.5 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006487/0.3141, allocations: 6.683 MB / 467.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.3151, allocations: 91.56 kB / 467.3 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.322e-05/0.3152, allocations: 31.98 kB / 467.3 MB, free: 1.855 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.0004225/0.3156, allocations: 232.3 kB / 467.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.3158, allocations: 103.4 kB / 467.6 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.316, allocations: 96 kB / 467.7 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.316, allocations: 8 kB / 467.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.316, allocations: 3.938 kB / 467.7 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001562/0.3175, allocations: 0.97 MB / 468.7 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.3204, allocations: 1.456 MB / 470.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3204, allocations: 0 / 470.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007942/0.3212, allocations: 163.8 kB / 470.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.3213, allocations: 24.84 kB / 470.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.3214, allocations: 19.92 kB / 470.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.3225, allocations: 1.284 MB / 471.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3225, allocations: 0 / 471.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.3248, allocations: 1.082 MB / 472.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000492/0.3253, allocations: 171.2 kB / 472.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.3254, allocations: 24 kB / 472.9 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006498/0.3261, allocations: 39.97 kB / 473 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3262, allocations: 48.56 kB / 473 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-05/0.3262, allocations: 16 kB / 473 MB, free: 11.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007057/0.3269, allocations: 0.4951 MB / 473.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3269, allocations: 4 kB / 473.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008408/0.3278, allocations: 303.6 kB / 473.8 MB, free: 11.04 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.0001861/0.328, allocations: 123.1 kB / 473.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002401/0.3304, allocations: 1.434 MB / 475.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.3304, allocations: 7.859 kB / 475.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007619/0.3311, allocations: 398.5 kB / 475.8 MB, free: 8.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.3323, allocations: 274.7 kB / 476 MB, free: 8.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.3357, allocations: 1.723 MB / 477.8 MB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.3362, allocations: 397 kB / 478.1 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.3365, allocations: 83.42 kB / 478.2 MB, free: 6.41 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3365, allocations: 0 / 478.2 MB, free: 6.41 MB / 382.1 MB Notification: Performance of Templates: time 0.03262/0.3691, allocations: 24.51 MB / 0.491 GB, free: 14.01 MB / 414.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: 9.612877138890326]