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.001561/0.001561, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002143/0.002143, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.388/1.388, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.001672/0.001672, allocations: 47.92 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2366, allocations: 53.36 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007162/0.2437, allocations: 5.663 MB / 438.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00278/0.2465, allocations: 1.468 MB / 439.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004198/0.2469, allocations: 15.88 kB / 439.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005045/0.2474, allocations: 194.3 kB / 439.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007867/0.2482, allocations: 400.7 kB / 440.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.2487, allocations: 263.5 kB / 440.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.2502, allocations: 1.358 MB / 441.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004417/0.2506, allocations: 275.8 kB / 442 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005949/0.2512, allocations: 0.5255 MB / 442.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007481/0.252, allocations: 0.5874 MB / 443.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.2522, allocations: 120 kB / 443.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.2523, allocations: 120 kB / 443.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.2526, allocations: 251.2 kB / 443.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006082/0.2532, allocations: 0.6183 MB / 444.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.2547, allocations: 1.403 MB / 445.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2547, allocations: 0 / 445.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2547, allocations: 0 / 445.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.2547, allocations: 4 kB / 445.6 MB, free: 9.629 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.002678/0.2574, allocations: 1.436 MB / 447.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2574, allocations: 12.03 kB / 447.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.2576, allocations: 136.2 kB / 447.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.2586, allocations: 0.5746 MB / 447.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/0.259, allocations: 309.9 kB / 448.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.2591, allocations: 68.38 kB / 448.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.2606, allocations: 0.9746 MB / 449.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.2606, allocations: 0 / 449.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.2607, allocations: 32 kB / 449.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.2607, allocations: 16 kB / 449.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.2621, allocations: 0.6246 MB / 449.8 MB, free: 5.203 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.004226/0.2663, allocations: 2.575 MB / 452.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/0.2688, allocations: 0.761 MB / 453.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.2695, allocations: 323.5 kB / 453.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.855e-05/0.2695, allocations: 16.58 kB / 453.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.2696, allocations: 51.16 kB / 453.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 1.964e-06/0.2696, allocations: 0 / 453.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002462/0.2721, allocations: 1.036 MB / 454.5 MB, free: 276 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005421/0.2726, allocations: 0.9527 MB / 455.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.2737, allocations: 0.7902 MB / 456.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/0.2737, allocations: 45.7 kB / 456.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.2741, allocations: 413.1 kB / 456.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.2743, allocations: 261.7 kB / 457 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.2746, allocations: 158.6 kB / 457.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.2748, allocations: 334 kB / 457.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/0.2753, allocations: 257.9 kB / 457.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009137/0.2763, allocations: 0.5841 MB / 458.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.2775, allocations: 0.6678 MB / 459 MB, free: 11.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2775, allocations: 0 / 459 MB, free: 11.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001747/0.2792, allocations: 0.9474 MB / 459.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.134e-05/0.2793, allocations: 89.09 kB / 460 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2793, allocations: 0 / 460 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003316/0.2796, allocations: 124.2 kB / 460.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007341/0.2804, allocations: 151.8 kB / 460.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006276/0.2867, allocations: 6.828 MB / 467.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009469/0.2876, allocations: 99.41 kB / 467.2 MB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/0.2877, allocations: 24 kB / 467.2 MB, free: 2.512 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.0004123/0.2881, allocations: 238 kB / 467.5 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.2883, allocations: 111.3 kB / 467.6 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.2884, allocations: 104.9 kB / 467.7 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.2885, allocations: 11.94 kB / 467.7 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.2885, allocations: 3.984 kB / 467.7 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001462/0.2899, allocations: 0.9661 MB / 468.7 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/0.2929, allocations: 1.713 MB / 470.4 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.2929, allocations: 0 / 470.4 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/0.2936, allocations: 159.8 kB / 470.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/0.2938, allocations: 32.78 kB / 470.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.738e-05/0.2938, allocations: 12 kB / 470.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.2949, allocations: 1.299 MB / 471.9 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2949, allocations: 0 / 471.9 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.2969, allocations: 1.078 MB / 472.9 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/0.2973, allocations: 183.4 kB / 473.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.2974, allocations: 23.98 kB / 473.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006463/0.2981, allocations: 43.97 kB / 473.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.434e-05/0.2982, allocations: 56.48 kB / 473.2 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.2982, allocations: 16 kB / 473.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007239/0.2989, allocations: 0.5459 MB / 473.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2989, allocations: 0 / 473.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007796/0.2997, allocations: 295.7 kB / 474.1 MB, free: 11.33 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.0001717/0.2999, allocations: 119.2 kB / 474.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002154/0.302, allocations: 1.37 MB / 475.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.302, allocations: 8 kB / 475.6 MB, free: 9.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006974/0.3027, allocations: 402.2 kB / 476 MB, free: 9.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.3038, allocations: 278.9 kB / 476.3 MB, free: 9.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/0.307, allocations: 1.736 MB / 478 MB, free: 7.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/0.3076, allocations: 0.9796 MB / 479 MB, free: 6.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.3079, allocations: 83.42 kB / 479.1 MB, free: 6.18 MB / 382.1 MB Notification: Performance of SimCode: time 1.432e-06/0.3079, allocations: 0 / 479.1 MB, free: 6.18 MB / 382.1 MB Notification: Performance of Templates: time 0.03103/0.3389, allocations: 24.43 MB / 0.4917 GB, free: 13.87 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.17661169404164]