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.001801/0.001801, allocations: 114.6 kB / 18.5 MB, free: 4.562 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.0021/0.0021, allocations: 198.6 kB / 21.45 MB, free: 1.613 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.499/1.499, allocations: 230.2 MB / 254.5 MB, free: 15.43 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.001929/0.001929, allocations: 68.06 kB / 373.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09642/0.09835, allocations: 53.33 MB / 427.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006141/0.1045, allocations: 4.981 MB / 432.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.1067, allocations: 1.32 MB / 433.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.107, allocations: 11.94 kB / 433.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.1074, allocations: 166.5 kB / 433.6 MB, free: 14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005965/0.108, allocations: 325.3 kB / 433.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.1084, allocations: 227.6 kB / 434.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.1096, allocations: 1.153 MB / 435.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003737/0.11, allocations: 230 kB / 435.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004595/0.1105, allocations: 446.5 kB / 436 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005886/0.1111, allocations: 0.5018 MB / 436.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.1112, allocations: 108 kB / 436.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.1114, allocations: 104 kB / 436.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.1116, allocations: 215.2 kB / 436.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005808/0.1121, allocations: 0.5133 MB / 437.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.1134, allocations: 1.183 MB / 438.6 MB, free: 8.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1134, allocations: 4 kB / 438.6 MB, free: 8.992 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1134, allocations: 4 kB / 438.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.1134, allocations: 0 / 438.6 MB, free: 8.988 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.002454/0.1159, allocations: 1.332 MB / 439.9 MB, free: 7.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1159, allocations: 16.03 kB / 440 MB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.1161, allocations: 108.3 kB / 440.1 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008843/0.117, allocations: 0.5518 MB / 440.6 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000216/0.1172, allocations: 147 kB / 440.8 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-05/0.1173, allocations: 56.38 kB / 440.8 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.1187, allocations: 0.8394 MB / 441.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.1188, allocations: 0 / 441.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.187e-05/0.1188, allocations: 32 kB / 441.7 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.1188, allocations: 12 kB / 441.7 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.1201, allocations: 0.5633 MB / 442.3 MB, free: 5.105 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.003478/0.1236, allocations: 2.097 MB / 444.3 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.1254, allocations: 0.9124 MB / 445.3 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007072/0.1261, allocations: 342.6 kB / 445.6 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.435e-05/0.1262, allocations: 12.64 kB / 445.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.1263, allocations: 51.16 kB / 445.7 MB, free: 1.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 3.877e-06/0.1263, allocations: 3.984 kB / 445.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.1838/0.3101, allocations: 1.725 MB / 447.4 MB, free: 24.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.3102, allocations: 0.8229 MB / 448.2 MB, free: 23.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008025/0.311, allocations: 0.6439 MB / 448.9 MB, free: 23.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.3112, allocations: 51.11 kB / 448.9 MB, free: 23.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.3113, allocations: 331 kB / 449.2 MB, free: 23.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.3115, allocations: 274.6 kB / 449.5 MB, free: 23.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.3117, allocations: 148.1 kB / 449.6 MB, free: 23.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.3118, allocations: 387.6 kB / 450 MB, free: 22.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/0.3123, allocations: 243.1 kB / 450.3 MB, free: 22.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007529/0.3131, allocations: 0.5295 MB / 450.8 MB, free: 22.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.3143, allocations: 0.6338 MB / 451.4 MB, free: 22.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3144, allocations: 0 / 451.4 MB, free: 22.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002799/0.3171, allocations: 1.039 MB / 452.5 MB, free: 22.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.3172, allocations: 89.55 kB / 452.5 MB, free: 21.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3172, allocations: 1.188 kB / 452.5 MB, free: 21.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006924/0.3179, allocations: 231.4 kB / 452.8 MB, free: 21.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/0.3184, allocations: 130.7 kB / 452.9 MB, free: 21.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006418/0.3249, allocations: 6.93 MB / 459.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009191/0.3258, allocations: 98.06 kB / 459.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/0.3259, allocations: 26.14 kB / 460 MB, free: 15.59 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.000328/0.3262, allocations: 217.2 kB / 460.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.3263, allocations: 94.41 kB / 460.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.3265, allocations: 90.36 kB / 460.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3265, allocations: 8.062 kB / 460.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.3265, allocations: 4.609 kB / 460.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00213/0.3286, allocations: 1.18 MB / 461.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/0.3324, allocations: 1.858 MB / 463.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3324, allocations: 1.625 kB / 463.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006421/0.333, allocations: 125.8 kB / 463.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000544/0.3336, allocations: 206.1 kB / 463.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.3336, allocations: 14.17 kB / 463.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005175/0.3388, allocations: 5.31 MB / 469 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3388, allocations: 1.922 kB / 469 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003053/0.3419, allocations: 1.326 MB / 470.4 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004231/0.3423, allocations: 244.2 kB / 470.6 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.3424, allocations: 18.25 kB / 470.6 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006188/0.343, allocations: 38.77 kB / 470.7 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.3432, allocations: 67.77 kB / 470.7 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.3433, allocations: 19.33 kB / 470.8 MB, free: 7.969 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005924/0.3439, allocations: 461.8 kB / 471.2 MB, free: 7.766 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3439, allocations: 0 / 471.2 MB, free: 7.766 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000915/0.3448, allocations: 279.9 kB / 471.5 MB, free: 7.73 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.0001534/0.3449, allocations: 125.1 kB / 471.6 MB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.3468, allocations: 1.264 MB / 472.9 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3468, allocations: 2.719 kB / 472.9 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009247/0.3477, allocations: 0.6719 MB / 473.5 MB, free: 6.301 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.3487, allocations: 235.2 kB / 473.8 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.3515, allocations: 1.621 MB / 475.4 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.352, allocations: 0.9385 MB / 476.3 MB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005001/0.3525, allocations: 102.5 kB / 476.4 MB, free: 4.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.3527, allocations: 66.73 kB / 476.5 MB, free: 4.559 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3527, allocations: 0 / 476.5 MB, free: 4.559 MB / 366.1 MB Notification: Performance of Templates: time 0.03032/0.383, allocations: 18.26 MB / 494.8 MB, free: 11.1 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/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.3335786536335945]