Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.161/1.161, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008887/0.0008887, allocations: 106.6 kB / 271.2 MB, free: 8.426 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007497/0.00075, allocations: 47.92 kB / 327.2 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1885, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004689/0.1932, allocations: 4.953 MB / 378.8 MB, free: 41.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.1951, allocations: 1.331 MB / 380.1 MB, free: 40.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002825/0.1954, allocations: 9 kB / 380.1 MB, free: 40.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.1957, allocations: 125.2 kB / 380.2 MB, free: 40.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004382/0.1962, allocations: 283.2 kB / 380.5 MB, free: 40.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.1965, allocations: 192.7 kB / 380.7 MB, free: 40.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007957/0.1973, allocations: 1.12 MB / 381.8 MB, free: 39.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.1976, allocations: 294.5 kB / 382.1 MB, free: 39.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003778/0.198, allocations: 414.2 kB / 382.5 MB, free: 39.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003836/0.1984, allocations: 486.7 kB / 383 MB, free: 38.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.1985, allocations: 72.75 kB / 383.1 MB, free: 38.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1987, allocations: 74.44 kB / 383.1 MB, free: 38.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.1988, allocations: 201.6 kB / 383.3 MB, free: 38.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003538/0.1992, allocations: 494.8 kB / 383.8 MB, free: 38.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006542/0.1998, allocations: 1.129 MB / 384.9 MB, free: 37.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1998, allocations: 0 / 384.9 MB, free: 37.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1998, allocations: 1.188 kB / 384.9 MB, free: 37.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.1999, allocations: 4 kB / 384.9 MB, free: 37.52 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.001835/0.2017, allocations: 1.316 MB / 386.3 MB, free: 36.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.2017, allocations: 10.28 kB / 386.3 MB, free: 36.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.2019, allocations: 105.3 kB / 386.4 MB, free: 36.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005804/0.2025, allocations: 0.5495 MB / 386.9 MB, free: 35.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.2027, allocations: 144 kB / 387.1 MB, free: 35.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.517e-05/0.2028, allocations: 60.44 kB / 387.1 MB, free: 35.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009887/0.2038, allocations: 0.8486 MB / 388 MB, free: 35.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.2038, allocations: 0 / 388 MB, free: 35.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.2038, allocations: 32 kB / 388 MB, free: 35.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2039, allocations: 12 kB / 388 MB, free: 35.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009171/0.2048, allocations: 0.5595 MB / 388.6 MB, free: 34.47 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.002364/0.2071, allocations: 2.111 MB / 390.7 MB, free: 32.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.2085, allocations: 0.9629 MB / 391.6 MB, free: 31.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/0.209, allocations: 381.5 kB / 392 MB, free: 30.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/0.2091, allocations: 16.72 kB / 392 MB, free: 30.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.2091, allocations: 47.22 kB / 392.1 MB, free: 30.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 1.873e-06/0.2091, allocations: 0 / 392.1 MB, free: 30.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.003797/0.2129, allocations: 1.742 MB / 393.8 MB, free: 28.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.213, allocations: 0.8195 MB / 394.6 MB, free: 27.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005068/0.2135, allocations: 0.6371 MB / 395.3 MB, free: 27.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.2136, allocations: 49.7 kB / 395.3 MB, free: 27.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.2138, allocations: 329.1 kB / 395.7 MB, free: 26.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.2139, allocations: 248.3 kB / 395.9 MB, free: 26.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.2141, allocations: 150.6 kB / 396 MB, free: 26.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.2142, allocations: 386.7 kB / 396.4 MB, free: 26.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.2146, allocations: 245.9 kB / 396.7 MB, free: 25.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/0.2152, allocations: 0.5234 MB / 397.2 MB, free: 25.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000846/0.216, allocations: 0.6427 MB / 397.8 MB, free: 24.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.216, allocations: 4 kB / 397.8 MB, free: 24.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001857/0.2179, allocations: 1.041 MB / 398.9 MB, free: 23.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.2179, allocations: 93.09 kB / 399 MB, free: 23.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.218, allocations: 0 / 399 MB, free: 23.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005589/0.2185, allocations: 231.3 kB / 399.2 MB, free: 23.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.219, allocations: 135.8 kB / 399.3 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005041/0.2241, allocations: 6.37 MB / 405.7 MB, free: 16.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007533/0.2248, allocations: 99.28 kB / 405.8 MB, free: 16.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.2249, allocations: 23.98 kB / 405.8 MB, free: 15.99 MB / 298.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.0002403/0.2251, allocations: 217.7 kB / 406 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.2252, allocations: 87.06 kB / 406.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.2254, allocations: 87.34 kB / 406.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.2254, allocations: 11.94 kB / 406.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2254, allocations: 0 / 406.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001733/0.2271, allocations: 1.198 MB / 407.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.2299, allocations: 1.86 MB / 409.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2299, allocations: 4 kB / 409.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/0.2304, allocations: 127.8 kB / 409.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004374/0.2308, allocations: 194.6 kB / 409.6 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.2309, allocations: 20.17 kB / 409.6 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003996/0.2349, allocations: 4.88 MB / 414.5 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2349, allocations: 0 / 414.5 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01891/0.2538, allocations: 11.76 MB / 426.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/0.2542, allocations: 243.9 kB / 426.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.405e-05/0.2543, allocations: 20 kB / 426.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005831/0.2549, allocations: 43.88 kB / 426.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.2551, allocations: 56.56 kB / 426.6 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.2551, allocations: 24.06 kB / 426.6 MB, free: 9.953 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004807/0.2556, allocations: 463 kB / 427.1 MB, free: 9.504 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2556, allocations: 0 / 427.1 MB, free: 9.504 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001008/0.2566, allocations: 399.7 kB / 427.5 MB, free: 9.113 MB / 314.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.0001464/0.2568, allocations: 123.1 kB / 427.6 MB, free: 8.984 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.2585, allocations: 1.281 MB / 428.9 MB, free: 7.625 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.2585, allocations: 4 kB / 428.9 MB, free: 7.621 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008386/0.2593, allocations: 0.699 MB / 429.6 MB, free: 6.883 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008997/0.2602, allocations: 216.9 kB / 429.8 MB, free: 6.672 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.2637, allocations: 2.69 MB / 432.5 MB, free: 3.895 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.2641, allocations: 0.9561 MB / 433.4 MB, free: 2.906 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004257/0.2646, allocations: 118.4 kB / 433.5 MB, free: 2.785 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.2647, allocations: 63.44 kB / 433.6 MB, free: 2.723 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2648, allocations: 3.938 kB / 433.6 MB, free: 2.719 MB / 314.7 MB Notification: Performance of Templates: time 0.02591/0.2907, allocations: 20.26 MB / 453.9 MB, free: 14.45 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches