Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.001794/0.001794, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002091/0.002091, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 51.92 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2381, allocations: 53.36 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00645/0.2446, allocations: 4.996 MB / 436.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.247, allocations: 1.32 MB / 437.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.2473, allocations: 15.88 kB / 438 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004412/0.2477, allocations: 166.5 kB / 438.1 MB, free: 412 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006438/0.2484, allocations: 329.2 kB / 438.4 MB, free: 80 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.2488, allocations: 223.7 kB / 438.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.2501, allocations: 1.164 MB / 439.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004023/0.2505, allocations: 228.1 kB / 440 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005192/0.2511, allocations: 462.5 kB / 440.5 MB, free: 14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006655/0.2517, allocations: 0.5058 MB / 441 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.2519, allocations: 100 kB / 441.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.252, allocations: 104 kB / 441.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.2522, allocations: 223.2 kB / 441.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005066/0.2527, allocations: 0.5056 MB / 441.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.254, allocations: 1.19 MB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.254, allocations: 0 / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.254, allocations: 0 / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.254, allocations: 0 / 443.1 MB, free: 11.38 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00255/0.2566, allocations: 1.265 MB / 444.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2566, allocations: 8.031 kB / 444.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.2568, allocations: 116.3 kB / 444.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009095/0.2577, allocations: 0.4915 MB / 445 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.258, allocations: 297.2 kB / 445.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.2582, allocations: 60.38 kB / 445.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.2596, allocations: 0.8401 MB / 446.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.2596, allocations: 0 / 446.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.764e-05/0.2597, allocations: 32 kB / 446.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.2597, allocations: 16 kB / 446.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.2609, allocations: 0.5517 MB / 446.8 MB, free: 7.477 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.003591/0.2645, allocations: 2.062 MB / 448.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.2663, allocations: 0.6986 MB / 449.5 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007085/0.267, allocations: 342.4 kB / 449.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.218e-05/0.267, allocations: 12.72 kB / 449.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.2671, allocations: 51.22 kB / 449.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.984e-06/0.2671, allocations: 4 kB / 449.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004961/0.272, allocations: 1.437 MB / 451.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004429/0.2725, allocations: 0.8234 MB / 452.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008198/0.2733, allocations: 0.6371 MB / 452.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.145e-05/0.2734, allocations: 45.7 kB / 452.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.2737, allocations: 325.5 kB / 453.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.2739, allocations: 273.6 kB / 453.5 MB, free: 448 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/0.2742, allocations: 150.6 kB / 453.6 MB, free: 292 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.2744, allocations: 390.7 kB / 454 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005797/0.275, allocations: 245.9 kB / 454.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008607/0.2758, allocations: 0.5312 MB / 454.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.277, allocations: 0.631 MB / 455.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2771, allocations: 4 kB / 455.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00261/0.2797, allocations: 1.048 MB / 456.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.659e-05/0.2797, allocations: 89.11 kB / 456.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2797, allocations: 1.641 kB / 456.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007235/0.2805, allocations: 231.3 kB / 456.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.2811, allocations: 127.8 kB / 456.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00866/0.2897, allocations: 6.522 MB / 463.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008335/0.2906, allocations: 91.52 kB / 463.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/0.2906, allocations: 24 kB / 463.5 MB, free: 5.707 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003626/0.291, allocations: 221.7 kB / 463.7 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.2911, allocations: 95.44 kB / 463.8 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.2913, allocations: 87.34 kB / 463.9 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.2913, allocations: 15.88 kB / 463.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2913, allocations: 0 / 463.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00238/0.2937, allocations: 1.183 MB / 465.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003839/0.2975, allocations: 1.831 MB / 466.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2976, allocations: 0 / 466.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006727/0.2982, allocations: 127.9 kB / 467.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006353/0.2989, allocations: 198.6 kB / 467.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/0.2989, allocations: 12 kB / 467.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006679/0.3056, allocations: 5.013 MB / 472.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.3056, allocations: 3.938 kB / 472.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003215/0.3088, allocations: 1.309 MB / 473.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003971/0.3092, allocations: 167.2 kB / 473.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.3093, allocations: 24 kB / 473.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/0.31, allocations: 39.95 kB / 473.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.3101, allocations: 60.55 kB / 473.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.3102, allocations: 16 kB / 473.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006236/0.3108, allocations: 463 kB / 474.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3108, allocations: 0 / 474.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008865/0.3117, allocations: 279.8 kB / 474.6 MB, free: 10.03 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001764/0.3119, allocations: 127.3 kB / 474.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002144/0.314, allocations: 1.258 MB / 476 MB, free: 8.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.314, allocations: 4 kB / 476 MB, free: 8.539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.3151, allocations: 0.6717 MB / 476.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000984/0.3161, allocations: 231 kB / 476.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.3191, allocations: 1.628 MB / 478.5 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.3197, allocations: 0.9401 MB / 479.5 MB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000385/0.3201, allocations: 94.44 kB / 479.6 MB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.3203, allocations: 71.42 kB / 479.6 MB, free: 4.805 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3203, allocations: 0 / 479.6 MB, free: 4.805 MB / 382.1 MB Notification: Performance of Templates: time 0.03293/0.3532, allocations: 18.69 MB / 498.3 MB, free: 2.383 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.354809595039114]