Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.008477/0.008477, allocations: 110.1 kB / 21.98 MB, free: 5.18 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.002306/0.002306, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 259 MB, free: 8 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-beta.om/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.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-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 56.75 kB / 379.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3364, allocations: 53.37 MB / 433.2 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006974/0.3434, allocations: 4.993 MB / 438.2 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003053/0.3464, allocations: 1.316 MB / 439.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004779/0.3469, allocations: 15.94 kB / 439.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005085/0.3474, allocations: 166.5 kB / 439.7 MB, free: 424 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008504/0.3483, allocations: 333.2 kB / 440 MB, free: 88 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.3488, allocations: 223.6 kB / 440.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.3503, allocations: 1.16 MB / 441.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/0.3508, allocations: 232.1 kB / 441.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005884/0.3513, allocations: 454.5 kB / 442 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006962/0.352, allocations: 0.5058 MB / 442.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.3522, allocations: 100 kB / 442.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.3524, allocations: 104 kB / 442.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.3526, allocations: 207.3 kB / 442.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005479/0.3531, allocations: 0.525 MB / 443.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.3545, allocations: 1.186 MB / 444.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3545, allocations: 0 / 444.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3545, allocations: 3.938 kB / 444.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.3545, allocations: 3.938 kB / 444.7 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.002441/0.357, allocations: 1.265 MB / 445.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.357, allocations: 12.02 kB / 445.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.3572, allocations: 116.3 kB / 446.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009602/0.3582, allocations: 499.2 kB / 446.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.3584, allocations: 147 kB / 446.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.3585, allocations: 60.38 kB / 446.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.36, allocations: 0.8362 MB / 447.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.36, allocations: 0 / 447.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.844e-05/0.3601, allocations: 32 kB / 447.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.3601, allocations: 12 kB / 447.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.3613, allocations: 0.5517 MB / 448.2 MB, free: 7.672 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.003735/0.365, allocations: 2.066 MB / 450.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.3668, allocations: 0.6918 MB / 450.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007082/0.3675, allocations: 338.4 kB / 451.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.605e-05/0.3676, allocations: 16.72 kB / 451.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.039e-05/0.3677, allocations: 55.77 kB / 451.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 4.118e-06/0.3677, allocations: 0 / 451.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005021/0.3727, allocations: 1.433 MB / 452.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005603/0.3733, allocations: 0.8234 MB / 453.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.3743, allocations: 0.641 MB / 454.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.3744, allocations: 41.64 kB / 454.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.3748, allocations: 337.5 kB / 454.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.3751, allocations: 265.7 kB / 454.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/0.3753, allocations: 150.6 kB / 455 MB, free: 496 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002435/0.3756, allocations: 390.7 kB / 455.4 MB, free: 96 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006015/0.3762, allocations: 246 kB / 455.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008829/0.3771, allocations: 0.5312 MB / 456.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.3784, allocations: 0.6349 MB / 456.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3784, allocations: 0 / 456.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002584/0.381, allocations: 1.04 MB / 457.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.477e-05/0.3811, allocations: 95.75 kB / 457.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3811, allocations: 0 / 457.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007433/0.3818, allocations: 231.3 kB / 458.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005908/0.3824, allocations: 131.8 kB / 458.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00872/0.3911, allocations: 6.526 MB / 464.8 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009792/0.3921, allocations: 95.52 kB / 464.9 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/0.3922, allocations: 24 kB / 464.9 MB, free: 5.898 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.0004188/0.3926, allocations: 217.7 kB / 465.1 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.3927, allocations: 91.44 kB / 465.2 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.3929, allocations: 95.33 kB / 465.3 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.393, allocations: 11.94 kB / 465.3 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.393, allocations: 3.938 kB / 465.3 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002397/0.3954, allocations: 1.175 MB / 466.5 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003986/0.3993, allocations: 1.831 MB / 468.3 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.3994, allocations: 0 / 468.3 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006708/0.4, allocations: 123.9 kB / 468.5 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005783/0.4006, allocations: 194.6 kB / 468.7 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.4007, allocations: 19.98 kB / 468.7 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006871/0.4075, allocations: 4.997 MB / 473.7 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.4075, allocations: 7.922 kB / 473.7 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003221/0.4108, allocations: 1.317 MB / 475 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004789/0.4112, allocations: 179.2 kB / 475.2 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.4114, allocations: 20 kB / 475.2 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005877/0.4119, allocations: 35.97 kB / 475.2 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/0.4121, allocations: 64.72 kB / 475.3 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.4122, allocations: 20 kB / 475.3 MB, free: 10.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006633/0.4129, allocations: 459 kB / 475.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4129, allocations: 0 / 475.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009272/0.4138, allocations: 283.8 kB / 476 MB, free: 10.22 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.0001941/0.414, allocations: 127.1 kB / 476.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002268/0.4162, allocations: 1.254 MB / 477.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4162, allocations: 0 / 477.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.4173, allocations: 0.6756 MB / 478.1 MB, free: 8.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.4183, allocations: 226.8 kB / 478.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.4216, allocations: 1.668 MB / 480 MB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/0.4222, allocations: 0.9401 MB / 480.9 MB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.4225, allocations: 67.42 kB / 481 MB, free: 5.059 MB / 382.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4225, allocations: 0 / 481 MB, free: 5.059 MB / 382.1 MB Notification: Performance of Templates: time 0.03076/0.4532, allocations: 22.15 MB / 0.4913 GB, free: 14.99 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 9.644418496871367]