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.00135/0.00135, 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 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.001514/0.001514, allocations: 219.7 kB / 23.73 MB, free: 4.16 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2255, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006574/0.232, allocations: 4.986 MB / 436.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.2346, allocations: 1.41 MB / 438 MB, free: 304 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.2349, allocations: 15.88 kB / 438 MB, free: 288 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004555/0.2354, allocations: 194.3 kB / 438.2 MB, free: 92 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007272/0.2361, allocations: 396.7 kB / 438.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.2366, allocations: 259.6 kB / 438.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.238, allocations: 1.362 MB / 440.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004216/0.2384, allocations: 259.8 kB / 440.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000537/0.2389, allocations: 0.5216 MB / 441 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006418/0.2396, allocations: 0.5054 MB / 441.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.2397, allocations: 116 kB / 441.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.24, allocations: 124 kB / 441.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.2402, allocations: 251.2 kB / 441.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005214/0.2407, allocations: 0.5173 MB / 442.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.2421, allocations: 1.424 MB / 443.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2421, allocations: 3.938 kB / 443.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.2421, allocations: 3.984 kB / 443.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.2421, allocations: 0 / 443.9 MB, free: 10.34 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.002536/0.2447, allocations: 1.435 MB / 445.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.2447, allocations: 12.02 kB / 445.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.2449, allocations: 132.2 kB / 445.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.2459, allocations: 0.5785 MB / 446 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002981/0.2462, allocations: 301.9 kB / 446.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.2464, allocations: 68.38 kB / 446.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.2484, allocations: 1.861 MB / 448.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.2484, allocations: 0 / 448.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.718e-05/0.2485, allocations: 36 kB / 448.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.2485, allocations: 16 kB / 448.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.2498, allocations: 0.609 MB / 448.9 MB, free: 4.832 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.003738/0.2536, allocations: 1.856 MB / 450.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.2561, allocations: 0.7483 MB / 451.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007141/0.2568, allocations: 323.4 kB / 451.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.847e-05/0.2569, allocations: 20.59 kB / 451.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.2569, allocations: 47.44 kB / 451.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.204e-06/0.2569, allocations: 0 / 451.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002489/0.2594, allocations: 1.028 MB / 452.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000501/0.2599, allocations: 0.9527 MB / 453.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009029/0.2608, allocations: 0.7116 MB / 454.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.399e-05/0.2609, allocations: 45.7 kB / 454.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.2612, allocations: 432.5 kB / 455.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.2615, allocations: 261.8 kB / 455.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.2617, allocations: 154.7 kB / 455.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2619, allocations: 334 kB / 455.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006269/0.2625, allocations: 335 kB / 456.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.2639, allocations: 1.546 MB / 457.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.2652, allocations: 0.66 MB / 458.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2652, allocations: 4 kB / 458.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001809/0.267, allocations: 1.034 MB / 459.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/0.267, allocations: 89.09 kB / 459.5 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.267, allocations: 0 / 459.5 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003311/0.2674, allocations: 120.2 kB / 459.6 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007143/0.2681, allocations: 151.8 kB / 459.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006306/0.2744, allocations: 6.686 MB / 466.4 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000801/0.2752, allocations: 91.84 kB / 466.5 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/0.2753, allocations: 28 kB / 466.5 MB, free: 1.871 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.00039/0.2757, allocations: 239.8 kB / 466.8 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.2758, allocations: 99.42 kB / 466.9 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.276, allocations: 99.94 kB / 467 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.276, allocations: 8 kB / 467 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.276, allocations: 3.938 kB / 467 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001538/0.2776, allocations: 0.97 MB / 467.9 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.2804, allocations: 1.46 MB / 469.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.2804, allocations: 3.984 kB / 469.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007905/0.2812, allocations: 155.8 kB / 469.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.2813, allocations: 24.84 kB / 469.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.2813, allocations: 15.98 kB / 469.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.2824, allocations: 1.288 MB / 470.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2824, allocations: 0 / 470.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.2845, allocations: 1.078 MB / 472 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.2849, allocations: 171.2 kB / 472.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.2851, allocations: 20 kB / 472.2 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006453/0.2857, allocations: 39.97 kB / 472.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/0.2858, allocations: 56.5 kB / 472.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.2858, allocations: 19.98 kB / 472.3 MB, free: 11.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006607/0.2865, allocations: 0.4912 MB / 472.8 MB, free: 11.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2865, allocations: 0 / 472.8 MB, free: 11.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000811/0.2873, allocations: 303.6 kB / 473.1 MB, free: 11.05 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.0001756/0.2875, allocations: 119.2 kB / 473.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002271/0.2898, allocations: 1.449 MB / 474.6 MB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.2898, allocations: 3.859 kB / 474.6 MB, free: 9.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007282/0.2905, allocations: 406.5 kB / 475 MB, free: 8.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.2916, allocations: 266.7 kB / 475.3 MB, free: 8.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.2946, allocations: 1.69 MB / 477 MB, free: 6.965 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.295, allocations: 389.2 kB / 477.3 MB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005183/0.2955, allocations: 118.9 kB / 477.5 MB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.2958, allocations: 79.44 kB / 477.5 MB, free: 6.344 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2958, allocations: 0 / 477.5 MB, free: 6.344 MB / 382.1 MB Notification: Performance of Templates: time 0.0351/0.3309, allocations: 20.09 MB / 497.6 MB, free: 2.715 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.295438207685947]