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.001698/0.001698, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002029/0.002029, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.462/1.462, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.001969/0.001969, allocations: 67.89 kB / 378.2 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2273, allocations: 53.41 MB / 431.6 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007091/0.2344, allocations: 4.983 MB / 436.6 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.2368, allocations: 1.407 MB / 438 MB, free: 144 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/0.2371, allocations: 19.88 kB / 438 MB, free: 124 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.2376, allocations: 186.5 kB / 438.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007935/0.2384, allocations: 396.7 kB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005554/0.2389, allocations: 267.6 kB / 438.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.2404, allocations: 1.355 MB / 440.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004197/0.2409, allocations: 259.8 kB / 440.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005379/0.2414, allocations: 0.5255 MB / 441 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006819/0.2421, allocations: 0.5015 MB / 441.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.2422, allocations: 116 kB / 441.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.2425, allocations: 120 kB / 441.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.2428, allocations: 259 kB / 442 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005947/0.2434, allocations: 0.5174 MB / 442.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.2449, allocations: 1.42 MB / 443.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2449, allocations: 0 / 443.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2449, allocations: 0 / 443.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.2449, allocations: 0 / 443.9 MB, free: 10.19 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.002554/0.2475, allocations: 1.448 MB / 445.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2475, allocations: 11.98 kB / 445.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.2477, allocations: 132.2 kB / 445.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.2487, allocations: 0.5746 MB / 446.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003/0.249, allocations: 305.9 kB / 446.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.2491, allocations: 68.38 kB / 446.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.2512, allocations: 1.861 MB / 448.3 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.2512, allocations: 0 / 448.3 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-05/0.2512, allocations: 32 kB / 448.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.2513, allocations: 16 kB / 448.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.2526, allocations: 0.6168 MB / 449 MB, free: 4.664 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.003675/0.2563, allocations: 1.852 MB / 450.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.2588, allocations: 0.753 MB / 451.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007042/0.2595, allocations: 315.4 kB / 451.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-05/0.2595, allocations: 12.64 kB / 451.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.2596, allocations: 51.22 kB / 452 MB, free: 1.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 1.994e-06/0.2596, allocations: 3.938 kB / 452 MB, free: 1.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.00244/0.262, allocations: 1.028 MB / 453 MB, free: 0.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005349/0.2625, allocations: 0.9489 MB / 453.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000898/0.2634, allocations: 0.7116 MB / 454.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.851e-05/0.2635, allocations: 45.7 kB / 454.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.2639, allocations: 432.6 kB / 455.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.2641, allocations: 257.8 kB / 455.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.2643, allocations: 158.7 kB / 455.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2645, allocations: 333.9 kB / 455.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006287/0.2651, allocations: 339 kB / 456.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.2666, allocations: 1.548 MB / 457.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.2678, allocations: 0.6639 MB / 458.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2678, allocations: 0 / 458.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001812/0.2696, allocations: 1.027 MB / 459.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.408e-05/0.2697, allocations: 89.09 kB / 459.5 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2697, allocations: 3.938 kB / 459.5 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003416/0.2701, allocations: 128.2 kB / 459.6 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000685/0.2707, allocations: 147.8 kB / 459.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006007/0.2767, allocations: 6.674 MB / 466.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007404/0.2775, allocations: 91.53 kB / 466.6 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.832e-05/0.2775, allocations: 27.98 kB / 466.6 MB, free: 1.723 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.0003501/0.2779, allocations: 241.7 kB / 466.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.2781, allocations: 99.44 kB / 466.9 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.2782, allocations: 96 kB / 467 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.2782, allocations: 8 kB / 467 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.2783, allocations: 3.938 kB / 467 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001454/0.2797, allocations: 0.97 MB / 468 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.2824, allocations: 1.464 MB / 469.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2824, allocations: 0 / 469.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007631/0.2831, allocations: 159.8 kB / 469.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-05/0.2832, allocations: 24.84 kB / 469.6 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/0.2833, allocations: 12 kB / 469.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.2843, allocations: 1.296 MB / 470.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2843, allocations: 0 / 470.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.2863, allocations: 1.078 MB / 472 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003775/0.2867, allocations: 175.2 kB / 472.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.2868, allocations: 20 kB / 472.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/0.2874, allocations: 31.97 kB / 472.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/0.2875, allocations: 56.56 kB / 472.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.2876, allocations: 16 kB / 472.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006271/0.2882, allocations: 0.4912 MB / 472.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2882, allocations: 0 / 472.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007/0.2889, allocations: 311.6 kB / 473.1 MB, free: 10.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.0001702/0.2891, allocations: 123.1 kB / 473.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002099/0.2912, allocations: 1.437 MB / 474.7 MB, free: 9.207 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.2912, allocations: 7.859 kB / 474.7 MB, free: 9.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007/0.2919, allocations: 398.6 kB / 475.1 MB, free: 8.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.2929, allocations: 262.7 kB / 475.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.2957, allocations: 1.703 MB / 477 MB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.2961, allocations: 389.2 kB / 477.4 MB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004593/0.2965, allocations: 115 kB / 477.5 MB, free: 6.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.2967, allocations: 79.42 kB / 477.6 MB, free: 6.199 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2967, allocations: 0 / 477.6 MB, free: 6.199 MB / 382.1 MB Notification: Performance of Templates: time 0.03182/0.3286, allocations: 20.1 MB / 497.7 MB, free: 2.508 MB / 398.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/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_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: 5.195914443582296]