Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001675/0.001675, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001977/0.001977, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.2 MB / 255.1 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 67.88 kB / 374.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08895/0.09081, allocations: 53.31 MB / 427.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006142/0.09695, allocations: 4.979 MB / 432.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.0991, allocations: 1.312 MB / 434.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.09932, allocations: 8 kB / 434.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003969/0.09972, allocations: 166.5 kB / 434.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005802/0.1003, allocations: 333.2 kB / 434.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.1007, allocations: 223.6 kB / 434.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.1019, allocations: 1.151 MB / 436 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003575/0.1023, allocations: 230 kB / 436.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004533/0.1027, allocations: 454.4 kB / 436.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006204/0.1034, allocations: 0.498 MB / 437.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.1035, allocations: 111.9 kB / 437.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.1037, allocations: 104 kB / 437.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.1039, allocations: 211.3 kB / 437.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005147/0.1044, allocations: 0.5172 MB / 438.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.1056, allocations: 1.183 MB / 439.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1056, allocations: 0 / 439.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1056, allocations: 0 / 439.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1056, allocations: 3.938 kB / 439.3 MB, free: 9.074 MB / 366.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.002346/0.108, allocations: 1.336 MB / 440.6 MB, free: 7.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.108, allocations: 12.03 kB / 440.6 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.1082, allocations: 112.3 kB / 440.7 MB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008443/0.109, allocations: 0.5518 MB / 441.3 MB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.1093, allocations: 151 kB / 441.4 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.1094, allocations: 64.31 kB / 441.5 MB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.1108, allocations: 0.8355 MB / 442.3 MB, free: 5.789 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.1108, allocations: 0 / 442.3 MB, free: 5.789 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-05/0.1109, allocations: 32 kB / 442.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.1109, allocations: 12 kB / 442.4 MB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.1122, allocations: 0.5595 MB / 442.9 MB, free: 5.184 MB / 366.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.003455/0.1156, allocations: 2.104 MB / 445 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.1175, allocations: 0.9046 MB / 445.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006936/0.1182, allocations: 338.6 kB / 446.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.194e-05/0.1182, allocations: 20.64 kB / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.1183, allocations: 43.22 kB / 446.3 MB, free: 1.602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 1.954e-06/0.1183, allocations: 4 kB / 446.3 MB, free: 1.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.1897/0.308, allocations: 1.731 MB / 448.1 MB, free: 24.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/0.3081, allocations: 0.8236 MB / 448.9 MB, free: 23.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008074/0.3089, allocations: 0.6431 MB / 449.5 MB, free: 23.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.3091, allocations: 44.95 kB / 449.6 MB, free: 23.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.3093, allocations: 328.9 kB / 449.9 MB, free: 23.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.3095, allocations: 270 kB / 450.2 MB, free: 23.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.3097, allocations: 154.4 kB / 450.3 MB, free: 23.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.3098, allocations: 384.3 kB / 450.7 MB, free: 22.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.3103, allocations: 246.8 kB / 450.9 MB, free: 22.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006779/0.311, allocations: 0.5249 MB / 451.5 MB, free: 22.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.312, allocations: 0.6374 MB / 452.1 MB, free: 22.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.312, allocations: 0 / 452.1 MB, free: 22.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002352/0.3144, allocations: 1.042 MB / 453.1 MB, free: 22.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.3144, allocations: 83.64 kB / 453.2 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3144, allocations: 4.484 kB / 453.2 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000663/0.3151, allocations: 233.8 kB / 453.5 MB, free: 21.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.3156, allocations: 127.1 kB / 453.6 MB, free: 21.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00666/0.3223, allocations: 6.927 MB / 460.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008921/0.3232, allocations: 97.44 kB / 460.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.3233, allocations: 26.23 kB / 460.6 MB, free: 15.61 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.0003266/0.3236, allocations: 218.2 kB / 460.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.3237, allocations: 99.11 kB / 460.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.3239, allocations: 91.16 kB / 461 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.3239, allocations: 9.781 kB / 461 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.3239, allocations: 0 / 461 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002147/0.3261, allocations: 1.184 MB / 462.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003637/0.3297, allocations: 1.861 MB / 464.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.3297, allocations: 0.6094 kB / 464.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006302/0.3303, allocations: 129.8 kB / 464.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005483/0.3309, allocations: 203.5 kB / 464.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/0.3309, allocations: 15.27 kB / 464.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004979/0.3359, allocations: 5.308 MB / 469.7 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3359, allocations: 1.469 kB / 469.7 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/0.3388, allocations: 1.33 MB / 471.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.3392, allocations: 241.7 kB / 471.3 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.3393, allocations: 19.12 kB / 471.3 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/0.3399, allocations: 39.11 kB / 471.4 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.3401, allocations: 67.12 kB / 471.4 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.3401, allocations: 19.97 kB / 471.4 MB, free: 7.977 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005743/0.3407, allocations: 457.2 kB / 471.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3407, allocations: 0 / 471.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001123/0.3418, allocations: 284.2 kB / 472.2 MB, free: 7.738 MB / 366.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.0001525/0.342, allocations: 122.9 kB / 472.3 MB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.3438, allocations: 1.261 MB / 473.5 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.3438, allocations: 2.312 kB / 473.5 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008496/0.3447, allocations: 0.6724 MB / 474.2 MB, free: 6.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009559/0.3456, allocations: 231.2 kB / 474.4 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.3482, allocations: 1.654 MB / 476.1 MB, free: 5.281 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.3486, allocations: 0.9418 MB / 477 MB, free: 4.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.3488, allocations: 70.97 kB / 477.1 MB, free: 4.559 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3488, allocations: 0 / 477.1 MB, free: 4.559 MB / 366.1 MB Notification: Performance of Templates: time 0.02662/0.3755, allocations: 22.15 MB / 499.3 MB, free: 7.148 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.268132582074031]