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.0008572/0.0008572, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.005156/0.005156, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8709/0.8709, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.252e-06/1.252e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.516e-05, allocations: 2.281 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.0038/0.003825, allocations: 4.436 MB / 330.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.005633, allocations: 1.269 MB / 331.5 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.005911, allocations: 15.88 kB / 331.5 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.006219, allocations: 154.6 kB / 331.6 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000442/0.006661, allocations: 345 kB / 332 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.00695, allocations: 239.5 kB / 332.2 MB, free: 8.887 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007867/0.007737, allocations: 1.199 MB / 333.4 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.007999, allocations: 226.4 kB / 333.6 MB, free: 7.453 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004693/0.008468, allocations: 0.6705 MB / 334.3 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.008806, allocations: 367 kB / 334.7 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.989e-05/0.008896, allocations: 100 kB / 334.8 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.51e-05/0.008991, allocations: 104 kB / 334.9 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.009099, allocations: 231.2 kB / 335.1 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.009336, allocations: 387.1 kB / 335.5 MB, free: 5.617 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.01037, allocations: 1.223 MB / 336.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.01038, allocations: 0 / 336.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01038, allocations: 0 / 336.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.01039, allocations: 0 / 336.7 MB, free: 4.391 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.001349/0.01174, allocations: 1.257 MB / 337.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.01178, allocations: 11.98 kB / 338 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.0119, allocations: 120.3 kB / 338.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/0.0125, allocations: 498.5 kB / 338.6 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.01266, allocations: 297.2 kB / 338.9 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.01273, allocations: 56.38 kB / 338.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.01373, allocations: 1.605 MB / 340.5 MB, free: 148 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.01375, allocations: 4.125 kB / 340.5 MB, free: 144 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.0138, allocations: 32.12 kB / 340.5 MB, free: 112 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.01381, allocations: 16 kB / 340.6 MB, free: 96 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.01452, allocations: 0.5517 MB / 341.1 MB, free: 15.54 MB / 314.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.001976/0.01649, allocations: 1.554 MB / 342.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.01781, allocations: 0.6986 MB / 343.4 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/0.01821, allocations: 338.7 kB / 343.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.01825, allocations: 12.66 kB / 343.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.01828, allocations: 51.16 kB / 343.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 2.444e-06/0.01829, allocations: 0 / 343.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.002429/0.02072, allocations: 1.43 MB / 345.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002292/0.02095, allocations: 0.8234 MB / 346 MB, free: 10.37 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.02138, allocations: 0.5656 MB / 346.6 MB, free: 9.797 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.02143, allocations: 45.69 kB / 346.6 MB, free: 9.746 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.02161, allocations: 345.1 kB / 347 MB, free: 9.402 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.02174, allocations: 253.8 kB / 347.2 MB, free: 9.152 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.02188, allocations: 150.6 kB / 347.4 MB, free: 9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.02199, allocations: 384.4 kB / 347.7 MB, free: 8.617 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.02234, allocations: 327 kB / 348.1 MB, free: 8.277 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006865/0.02302, allocations: 1.356 MB / 349.4 MB, free: 6.613 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009351/0.02396, allocations: 0.6388 MB / 350 MB, free: 5.945 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.02396, allocations: 0 / 350 MB, free: 5.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001299/0.02526, allocations: 1.116 MB / 351.2 MB, free: 4.777 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.02531, allocations: 89.03 kB / 351.2 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.02532, allocations: 4 kB / 351.3 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004198/0.02574, allocations: 239.2 kB / 351.5 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.02602, allocations: 127.9 kB / 351.6 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004823/0.03084, allocations: 6.377 MB / 358 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.03134, allocations: 83.81 kB / 358.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.03138, allocations: 27.98 kB / 358.1 MB, free: 13.4 MB / 330.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.0002679/0.03164, allocations: 221.8 kB / 358.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.03173, allocations: 87.47 kB / 358.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.993e-05/0.03182, allocations: 86.69 kB / 358.5 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.03182, allocations: 8 kB / 358.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.03183, allocations: 0 / 358.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00121/0.03304, allocations: 1.186 MB / 359.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.03505, allocations: 1.609 MB / 361.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.03505, allocations: 192 / 361.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.03536, allocations: 131.9 kB / 361.4 MB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003037/0.03567, allocations: 198.3 kB / 361.6 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.03569, allocations: 16 kB / 361.6 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003574/0.03927, allocations: 4.901 MB / 366.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.03927, allocations: 192 / 366.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.04092, allocations: 1.309 MB / 367.8 MB, free: 3.129 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.04117, allocations: 155.4 kB / 368 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.04123, allocations: 16 kB / 368 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.04152, allocations: 47.95 kB / 368 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.04163, allocations: 60.48 kB / 368.1 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.04166, allocations: 24 kB / 368.1 MB, free: 2.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003287/0.04198, allocations: 406.8 kB / 368.5 MB, free: 2.438 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04198, allocations: 0 / 368.5 MB, free: 2.438 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000637/0.04262, allocations: 283.7 kB / 368.8 MB, free: 2.16 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.0001366/0.04276, allocations: 123.1 kB / 368.9 MB, free: 2.031 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.04399, allocations: 1.345 MB / 370.3 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.044, allocations: 4 kB / 370.3 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005487/0.04455, allocations: 0.6756 MB / 371 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008419/0.04539, allocations: 218.8 kB / 371.2 MB, free: 15.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.04714, allocations: 1.504 MB / 372.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.04734, allocations: 345.3 kB / 373 MB, free: 13.74 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.04747, allocations: 68.48 kB / 373.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of SimCode: time 9.42e-07/0.04747, allocations: 0 / 373.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of Templates: time 0.01574/0.06321, allocations: 22.24 MB / 395.3 MB, free: 7.496 MB / 362.7 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/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_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: 5.681793660856783]