Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007799/0.0007799, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002886/0.002886, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8094/0.8094, allocations: 173.4 MB / 201.2 MB, free: 9.453 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.05e-05, allocations: 2.281 kB / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003421/0.003451, allocations: 4.415 MB / 324.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.005278, allocations: 1.246 MB / 325.3 MB, free: 172 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002198/0.005498, allocations: 11.94 kB / 325.4 MB, free: 160 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.005803, allocations: 158.6 kB / 325.5 MB, free: 0 / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004124/0.006215, allocations: 349 kB / 325.9 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.0065, allocations: 227.5 kB / 326.1 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007327/0.007233, allocations: 1.21 MB / 327.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.007496, allocations: 214.5 kB / 327.5 MB, free: 14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004376/0.007934, allocations: 0.6705 MB / 328.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.00825, allocations: 371 kB / 328.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.392e-05/0.008334, allocations: 100 kB / 328.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.008422, allocations: 108 kB / 328.7 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.008523, allocations: 227.2 kB / 329 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.008745, allocations: 387.1 kB / 329.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007265/0.009471, allocations: 1.227 MB / 330.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.009473, allocations: 0 / 330.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.009474, allocations: 0 / 330.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.009482, allocations: 0 / 330.6 MB, free: 10.93 MB / 298.7 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.001283/0.01077, allocations: 1.253 MB / 331.8 MB, free: 9.621 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.0108, allocations: 8.031 kB / 331.8 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.01093, allocations: 112.3 kB / 331.9 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/0.01146, allocations: 0.4907 MB / 332.4 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.01161, allocations: 297.2 kB / 332.7 MB, free: 8.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.536e-05/0.01167, allocations: 68.33 kB / 332.8 MB, free: 8.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000958/0.01263, allocations: 1.604 MB / 334.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.01265, allocations: 192 / 334.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.01269, allocations: 32.12 kB / 334.4 MB, free: 6.656 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.0127, allocations: 16 kB / 334.4 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006813/0.01338, allocations: 0.5594 MB / 335 MB, free: 6.082 MB / 298.7 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.001784/0.01517, allocations: 1.542 MB / 336.5 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009457/0.01611, allocations: 0.7016 MB / 337.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003887/0.0165, allocations: 339 kB / 337.6 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.01654, allocations: 16.66 kB / 337.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.01656, allocations: 43.22 kB / 337.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 1.513e-06/0.01656, allocations: 0 / 337.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.002335/0.0189, allocations: 1.437 MB / 339.1 MB, free: 1.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002134/0.01911, allocations: 0.8195 MB / 339.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.01952, allocations: 0.5656 MB / 340.4 MB, free: 348 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.01956, allocations: 43.34 kB / 340.5 MB, free: 300 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.01973, allocations: 345.3 kB / 340.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.01985, allocations: 261.7 kB / 341.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.01999, allocations: 150.6 kB / 341.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.02009, allocations: 390.7 kB / 341.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.02043, allocations: 323 kB / 341.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/0.02108, allocations: 1.36 MB / 343.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006668/0.02175, allocations: 0.6427 MB / 343.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.02175, allocations: 0 / 343.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001259/0.02301, allocations: 1.112 MB / 345 MB, free: 11.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.02306, allocations: 93.03 kB / 345.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.02307, allocations: 8 kB / 345.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.02346, allocations: 231.2 kB / 345.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.02373, allocations: 131.8 kB / 345.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004188/0.02792, allocations: 6.372 MB / 351.9 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.02825, allocations: 91.5 kB / 351.9 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.02828, allocations: 32.05 kB / 352 MB, free: 3.918 MB / 314.7 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.0002137/0.0285, allocations: 217.7 kB / 352.2 MB, free: 3.695 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.816e-05/0.02857, allocations: 91.42 kB / 352.3 MB, free: 3.605 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.114e-05/0.02865, allocations: 86.75 kB / 352.4 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.02866, allocations: 8 kB / 352.4 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.02866, allocations: 0 / 352.4 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/0.02983, allocations: 1.178 MB / 353.6 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.03171, allocations: 1.609 MB / 355.2 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.03171, allocations: 4.062 kB / 355.2 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.03201, allocations: 123.9 kB / 355.3 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002897/0.0323, allocations: 198.4 kB / 355.5 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.03233, allocations: 23.98 kB / 355.5 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003119/0.03545, allocations: 4.89 MB / 360.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.03545, allocations: 3.938 kB / 360.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.037, allocations: 1.305 MB / 361.7 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.0372, allocations: 159.3 kB / 361.9 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.03725, allocations: 16 kB / 361.9 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.03752, allocations: 43.97 kB / 361.9 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.03763, allocations: 64.53 kB / 362 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.03765, allocations: 20 kB / 362 MB, free: 9.371 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002939/0.03794, allocations: 406.8 kB / 362.4 MB, free: 8.977 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03794, allocations: 0 / 362.4 MB, free: 8.977 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005118/0.03845, allocations: 283.7 kB / 362.7 MB, free: 8.699 MB / 330.7 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.0001203/0.03857, allocations: 123.1 kB / 362.8 MB, free: 8.566 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.03997, allocations: 1.349 MB / 364.1 MB, free: 7.105 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.03998, allocations: 4 kB / 364.1 MB, free: 7.102 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007741/0.04075, allocations: 0.6677 MB / 364.8 MB, free: 6.398 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.04147, allocations: 215.1 kB / 365 MB, free: 6.191 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.04357, allocations: 1.517 MB / 366.5 MB, free: 4.629 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.04384, allocations: 345.3 kB / 366.9 MB, free: 4.266 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.044, allocations: 68.48 kB / 366.9 MB, free: 4.199 MB / 330.7 MB Notification: Performance of SimCode: time 1.203e-06/0.044, allocations: 0 / 366.9 MB, free: 4.199 MB / 330.7 MB Notification: Performance of Templates: time 0.01705/0.06105, allocations: 22.23 MB / 389.2 MB, free: 14.05 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.325611969456077]