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.00177/0.00177, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.002106/0.002106, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.544/1.544, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.001652/0.001652, allocations: 51.92 kB / 374.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1085, allocations: 53.34 MB / 427.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006607/0.1151, allocations: 4.973 MB / 432.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.1176, allocations: 1.32 MB / 433.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.1178, allocations: 15.94 kB / 433.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.1183, allocations: 166.5 kB / 434 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005939/0.1189, allocations: 329.3 kB / 434.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.1193, allocations: 223.6 kB / 434.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.1205, allocations: 1.164 MB / 435.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.1209, allocations: 230 kB / 435.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004613/0.1214, allocations: 454.4 kB / 436.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005985/0.122, allocations: 0.5057 MB / 436.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.1221, allocations: 100 kB / 436.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.1223, allocations: 104 kB / 437 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.1224, allocations: 215.3 kB / 437.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005121/0.123, allocations: 0.5172 MB / 437.8 MB, free: 9.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.1242, allocations: 1.187 MB / 438.9 MB, free: 8.781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1242, allocations: 0 / 438.9 MB, free: 8.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1242, allocations: 0 / 438.9 MB, free: 8.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.1242, allocations: 4 kB / 439 MB, free: 8.777 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.002443/0.1266, allocations: 1.336 MB / 440.3 MB, free: 7.371 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1267, allocations: 8.031 kB / 440.3 MB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.1269, allocations: 112.3 kB / 440.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008779/0.1278, allocations: 0.5557 MB / 441 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.128, allocations: 139 kB / 441.1 MB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.1281, allocations: 64.31 kB / 441.2 MB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.1295, allocations: 0.8433 MB / 442 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.1295, allocations: 0 / 442 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/0.1296, allocations: 28 kB / 442 MB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.1296, allocations: 16 kB / 442 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.1308, allocations: 0.5517 MB / 442.6 MB, free: 4.902 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.003404/0.1342, allocations: 2.104 MB / 444.7 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.1361, allocations: 0.9086 MB / 445.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006932/0.1368, allocations: 338.6 kB / 445.9 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-05/0.1368, allocations: 20.7 kB / 446 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.1369, allocations: 51.22 kB / 446 MB, free: 1.309 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 1.753e-06/0.1369, allocations: 0 / 446 MB, free: 1.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.2033/0.3402, allocations: 1.732 MB / 447.7 MB, free: 24.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/0.3404, allocations: 0.8238 MB / 448.6 MB, free: 23.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009975/0.3414, allocations: 0.6431 MB / 449.2 MB, free: 23.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001738/0.3416, allocations: 48.34 kB / 449.3 MB, free: 23.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.3418, allocations: 333.2 kB / 449.6 MB, free: 23.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.342, allocations: 263.2 kB / 449.8 MB, free: 23.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.3422, allocations: 145.1 kB / 450 MB, free: 23.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.3423, allocations: 390 kB / 450.4 MB, free: 22.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/0.3428, allocations: 245.5 kB / 450.6 MB, free: 22.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006736/0.3435, allocations: 0.5256 MB / 451.1 MB, free: 22.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.3446, allocations: 0.6353 MB / 451.8 MB, free: 22.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3446, allocations: 0 / 451.8 MB, free: 22.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002448/0.347, allocations: 1.043 MB / 452.8 MB, free: 21.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/0.3471, allocations: 84.38 kB / 452.9 MB, free: 21.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3471, allocations: 1 kB / 452.9 MB, free: 21.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007141/0.3478, allocations: 240.7 kB / 453.1 MB, free: 21.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.3484, allocations: 123.3 kB / 453.2 MB, free: 21.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006914/0.3553, allocations: 6.927 MB / 460.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009313/0.3562, allocations: 97.91 kB / 460.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.3563, allocations: 27.27 kB / 460.3 MB, free: 15.38 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.0003207/0.3566, allocations: 217.4 kB / 460.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.3567, allocations: 93.67 kB / 460.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.3569, allocations: 91.42 kB / 460.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.3569, allocations: 11.03 kB / 460.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.3569, allocations: 1.656 kB / 460.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002152/0.3591, allocations: 1.184 MB / 461.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/0.3628, allocations: 1.856 MB / 463.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3628, allocations: 1.188 kB / 463.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.3634, allocations: 136.9 kB / 463.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005563/0.3639, allocations: 199.9 kB / 464.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.364, allocations: 18.41 kB / 464.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005178/0.3692, allocations: 5.302 MB / 469.4 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3692, allocations: 4.781 kB / 469.4 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/0.3722, allocations: 1.328 MB / 470.7 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004123/0.3726, allocations: 248.3 kB / 471 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.3727, allocations: 15.72 kB / 471 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006091/0.3733, allocations: 39.67 kB / 471 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.3735, allocations: 63.39 kB / 471.1 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.3736, allocations: 19.64 kB / 471.1 MB, free: 7.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005613/0.3741, allocations: 461.5 kB / 471.6 MB, free: 7.539 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3741, allocations: 0 / 471.6 MB, free: 7.539 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009/0.375, allocations: 279.8 kB / 471.8 MB, free: 7.504 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.0001552/0.3752, allocations: 128.5 kB / 472 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001751/0.3769, allocations: 1.255 MB / 473.2 MB, free: 6.539 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3769, allocations: 2.375 kB / 473.2 MB, free: 6.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008496/0.3778, allocations: 0.6738 MB / 473.9 MB, free: 6.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009344/0.3787, allocations: 241 kB / 474.1 MB, free: 5.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.3813, allocations: 1.649 MB / 475.8 MB, free: 5.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.3817, allocations: 0.939 MB / 476.7 MB, free: 4.332 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.3819, allocations: 70.27 kB / 476.8 MB, free: 4.32 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3819, allocations: 1.562 kB / 476.8 MB, free: 4.32 MB / 366.1 MB Notification: Performance of Templates: time 0.02591/0.4078, allocations: 22.14 MB / 498.9 MB, free: 6.75 MB / 382.1 MB " [Timeout remaining time 660] 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 -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: 9.769209029997]