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.001737/0.001737, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002676/0.002676, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.508/1.508, 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.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.001553/0.001553, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3273, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.008488/0.3358, allocations: 4.437 MB / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.3392, allocations: 1.262 MB / 438 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004058/0.3396, allocations: 15.94 kB / 438 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.3402, allocations: 158.6 kB / 438.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009806/0.3412, allocations: 333.2 kB / 438.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.3418, allocations: 219.6 kB / 438.7 MB, free: 296 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001842/0.3437, allocations: 1.157 MB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005364/0.3442, allocations: 230.6 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006908/0.3449, allocations: 458.5 kB / 440.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009046/0.3458, allocations: 0.5018 MB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002148/0.346, allocations: 100 kB / 441.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.3463, allocations: 104 kB / 441.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002657/0.3465, allocations: 215.3 kB / 441.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006632/0.3472, allocations: 450.1 kB / 441.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.3489, allocations: 1.194 MB / 443.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3489, allocations: 0 / 443.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3489, allocations: 0 / 443.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.349, allocations: 0 / 443.1 MB, free: 11.89 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.003381/0.3523, allocations: 1.269 MB / 444.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3524, allocations: 12.03 kB / 444.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/0.3527, allocations: 108.3 kB / 444.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.3539, allocations: 0.4915 MB / 445 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004723/0.3544, allocations: 305.2 kB / 445.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.3545, allocations: 60.38 kB / 445.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.357, allocations: 1.593 MB / 446.9 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.3571, allocations: 0 / 446.9 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.3572, allocations: 32 kB / 447 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.3572, allocations: 12 kB / 447 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.359, allocations: 0.5517 MB / 447.5 MB, free: 7.043 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.004761/0.3637, allocations: 1.569 MB / 449.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.3664, allocations: 0.6986 MB / 449.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.3674, allocations: 334.4 kB / 450.1 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.425e-05/0.3675, allocations: 8.656 kB / 450.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/0.3676, allocations: 47.22 kB / 450.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.276e-06/0.3676, allocations: 0 / 450.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.00747/0.375, allocations: 1.433 MB / 451.6 MB, free: 2.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000625/0.3757, allocations: 0.8234 MB / 452.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.3768, allocations: 0.5656 MB / 453 MB, free: 1.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.3769, allocations: 49.7 kB / 453.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/0.3773, allocations: 341.2 kB / 453.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/0.3777, allocations: 269.6 kB / 453.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003722/0.378, allocations: 142.7 kB / 453.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002556/0.3783, allocations: 382.7 kB / 454.2 MB, free: 116 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000907/0.3792, allocations: 327.1 kB / 454.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.381, allocations: 1.367 MB / 455.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.3828, allocations: 0.6349 MB / 456.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.3828, allocations: 0 / 456.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00381/0.3866, allocations: 1.125 MB / 457.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.61e-05/0.3867, allocations: 85.11 kB / 457.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3867, allocations: 0 / 457.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.3877, allocations: 239.2 kB / 457.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008909/0.3886, allocations: 127.8 kB / 458.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/0.4015, allocations: 6.383 MB / 464.4 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.4029, allocations: 91.5 kB / 464.5 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.095e-05/0.403, allocations: 24 kB / 464.5 MB, free: 4.879 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.0005449/0.4035, allocations: 221.6 kB / 464.8 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.4037, allocations: 79.53 kB / 464.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.404, allocations: 94.73 kB / 464.9 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.404, allocations: 8 kB / 464.9 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.404, allocations: 0 / 464.9 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004114/0.4081, allocations: 1.182 MB / 466.1 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006519/0.4147, allocations: 1.613 MB / 467.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4147, allocations: 0 / 467.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.4159, allocations: 132 kB / 467.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.4169, allocations: 198.6 kB / 468.1 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/0.417, allocations: 19.98 kB / 468.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/0.4277, allocations: 4.894 MB / 473 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.4277, allocations: 3.984 kB / 473 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005429/0.4331, allocations: 1.317 MB / 474.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006794/0.4338, allocations: 155.3 kB / 474.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.434, allocations: 20 kB / 474.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.4351, allocations: 39.97 kB / 474.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.4354, allocations: 60.48 kB / 474.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.252e-05/0.4354, allocations: 23.98 kB / 474.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008856/0.4363, allocations: 406.8 kB / 475 MB, free: 9.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4363, allocations: 0 / 475 MB, free: 9.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001559/0.4379, allocations: 283.7 kB / 475.3 MB, free: 9.641 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.0002685/0.4382, allocations: 127.1 kB / 475.4 MB, free: 9.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003535/0.4417, allocations: 1.337 MB / 476.7 MB, free: 8.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.4417, allocations: 0 / 476.7 MB, free: 8.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.4434, allocations: 0.6715 MB / 477.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.4451, allocations: 223 kB / 477.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/0.4502, allocations: 1.63 MB / 479.2 MB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.4508, allocations: 341.3 kB / 479.6 MB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007249/0.4515, allocations: 98.02 kB / 479.7 MB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.4518, allocations: 59.44 kB / 479.7 MB, free: 4.949 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4518, allocations: 0 / 479.7 MB, free: 4.949 MB / 382.1 MB Notification: Performance of Templates: time 0.04958/0.5013, allocations: 19.64 MB / 499.4 MB, free: 1.711 MB / 398.1 MB " [Timeout remaining time 659] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/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: 7.011853985997732]