Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001339, allocations: 112.3 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009615/0.0009616, allocations: 43.94 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2304, allocations: 49.44 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005467/0.2359, allocations: 4.945 MB / 405.7 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.238, allocations: 1.273 MB / 406.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.2385, allocations: 11.94 kB / 407 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004515/0.239, allocations: 166.5 kB / 407.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006973/0.2397, allocations: 333.2 kB / 407.4 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.2402, allocations: 227.6 kB / 407.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.2414, allocations: 1.159 MB / 408.8 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004497/0.2418, allocations: 335.3 kB / 409.1 MB, free: 420 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000535/0.2424, allocations: 442.5 kB / 409.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006167/0.243, allocations: 0.5018 MB / 410.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.2432, allocations: 104 kB / 410.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.2433, allocations: 104 kB / 410.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.2435, allocations: 215.2 kB / 410.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004906/0.244, allocations: 0.5133 MB / 411 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.245, allocations: 1.176 MB / 412.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.245, allocations: 0 / 412.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.245, allocations: 3.938 kB / 412.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.889e-05/0.2451, allocations: 4 kB / 412.2 MB, free: 13.36 MB / 334.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.002294/0.2474, allocations: 1.313 MB / 413.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.2474, allocations: 15.89 kB / 413.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.2476, allocations: 103.8 kB / 413.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/0.2484, allocations: 0.5474 MB / 414.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.2486, allocations: 147 kB / 414.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.2487, allocations: 60.38 kB / 414.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.25, allocations: 0.8472 MB / 415.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.2501, allocations: 3.984 kB / 415.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/0.2501, allocations: 35.94 kB / 415.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.2502, allocations: 12 kB / 415.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.2513, allocations: 0.5517 MB / 415.8 MB, free: 9.496 MB / 334.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.003262/0.2546, allocations: 2.104 MB / 417.9 MB, free: 7.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.2564, allocations: 0.9673 MB / 418.9 MB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006763/0.257, allocations: 374.4 kB / 419.3 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/0.2571, allocations: 12.64 kB / 419.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.2571, allocations: 63.14 kB / 419.3 MB, free: 5.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 1.983e-06/0.2572, allocations: 0 / 419.3 MB, free: 5.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004731/0.2619, allocations: 1.726 MB / 421.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003149/0.2622, allocations: 0.8234 MB / 421.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/0.2629, allocations: 0.6387 MB / 422.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.259e-05/0.263, allocations: 45.7 kB / 422.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.2632, allocations: 337.1 kB / 422.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.2634, allocations: 252.3 kB / 423.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.2637, allocations: 142.7 kB / 423.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2638, allocations: 390.7 kB / 423.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005498/0.2644, allocations: 245.9 kB / 423.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007558/0.2651, allocations: 0.5273 MB / 424.4 MB, free: 284 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.2663, allocations: 0.6388 MB / 425.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2663, allocations: 0 / 425.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002363/0.2687, allocations: 1.047 MB / 426.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.959e-05/0.2687, allocations: 85.11 kB / 426.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2687, allocations: 0 / 426.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006624/0.2694, allocations: 235.2 kB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.27, allocations: 127.9 kB / 426.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007437/0.2774, allocations: 6.939 MB / 433.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007153/0.2781, allocations: 95.28 kB / 433.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.2782, allocations: 28 kB / 433.6 MB, free: 6.445 MB / 350.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.0003034/0.2785, allocations: 215.2 kB / 433.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.2787, allocations: 83.06 kB / 433.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.2788, allocations: 95.33 kB / 434 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.2788, allocations: 11.94 kB / 434 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2789, allocations: 0 / 434 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002179/0.281, allocations: 1.182 MB / 435.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/0.2845, allocations: 1.867 MB / 437.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.2845, allocations: 0 / 437.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/0.2851, allocations: 123.9 kB / 437.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005199/0.2856, allocations: 206.5 kB / 437.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.2857, allocations: 12 kB / 437.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005958/0.2916, allocations: 5.307 MB / 442.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.2917, allocations: 3.938 kB / 442.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/0.2945, allocations: 1.316 MB / 444 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.2948, allocations: 239.9 kB / 444.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.2949, allocations: 20 kB / 444.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006124/0.2956, allocations: 39.97 kB / 444.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.2957, allocations: 60.5 kB / 444.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.2958, allocations: 16 kB / 444.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005293/0.2963, allocations: 463 kB / 444.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2963, allocations: 0 / 444.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007745/0.2971, allocations: 291.6 kB / 445.1 MB, free: 10.25 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.0001504/0.2972, allocations: 119.7 kB / 445.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.2991, allocations: 1.305 MB / 446.5 MB, free: 8.734 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.2991, allocations: 4 kB / 446.5 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009054/0.3, allocations: 0.6913 MB / 447.2 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009292/0.301, allocations: 230.9 kB / 447.5 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.3037, allocations: 1.595 MB / 449.1 MB, free: 6.145 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.3043, allocations: 0.94 MB / 450 MB, free: 5.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003919/0.3047, allocations: 110.4 kB / 450.1 MB, free: 5.059 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.3048, allocations: 67.36 kB / 450.2 MB, free: 4.992 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3048, allocations: 0 / 450.2 MB, free: 4.992 MB / 366.1 MB Notification: Performance of Templates: time 0.02698/0.3318, allocations: 18.08 MB / 468.3 MB, free: 3.18 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches