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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 179.6 kB / 17.04 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.133/1.133, allocations: 223.3 MB / 241 MB, free: 11.81 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007137/0.0007137, allocations: 95.33 kB / 292.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002095/0.0002096, allocations: 8 kB / 351.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1693, allocations: 50.41 MB / 402.2 MB, free: 32.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.002791/0.1721, allocations: 4.292 MB / 406.5 MB, free: 28.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1733, allocations: 1.177 MB / 407.7 MB, free: 27.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.1735, allocations: 8 kB / 407.7 MB, free: 27.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.1737, allocations: 107.1 kB / 407.8 MB, free: 26.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.1741, allocations: 281.7 kB / 408.1 MB, free: 26.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1743, allocations: 167.8 kB / 408.2 MB, free: 26.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005698/0.1749, allocations: 1.024 MB / 409.2 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.1752, allocations: 293.9 kB / 409.5 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.1754, allocations: 382.7 kB / 409.9 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003094/0.1757, allocations: 454.1 kB / 410.4 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.983e-05/0.1758, allocations: 64 kB / 410.4 MB, free: 24.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1759, allocations: 64 kB / 410.5 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.805e-05/0.176, allocations: 179.3 kB / 410.7 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1762, allocations: 197.3 kB / 410.8 MB, free: 23.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004255/0.1766, allocations: 0.8569 MB / 411.7 MB, free: 23.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1766, allocations: 4 kB / 411.7 MB, free: 23.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1766, allocations: 4 kB / 411.7 MB, free: 23.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1766, allocations: 0 / 411.7 MB, free: 23.02 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.001478/0.1781, allocations: 1.173 MB / 412.9 MB, free: 21.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.584e-05/0.1781, allocations: 8.031 kB / 412.9 MB, free: 21.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.1783, allocations: 102.9 kB / 413 MB, free: 21.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005203/0.1788, allocations: 0.5194 MB / 413.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.1789, allocations: 154.4 kB / 413.7 MB, free: 20.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.179, allocations: 59.91 kB / 413.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009675/0.18, allocations: 0.8432 MB / 414.6 MB, free: 19.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.18, allocations: 0 / 414.6 MB, free: 19.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.453e-05/0.1801, allocations: 31.95 kB / 414.6 MB, free: 19.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1801, allocations: 12 kB / 414.6 MB, free: 19.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009281/0.181, allocations: 0.579 MB / 415.2 MB, free: 19.31 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.002368/0.1834, allocations: 2.127 MB / 417.3 MB, free: 17.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.1848, allocations: 0.9951 MB / 418.3 MB, free: 16.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/0.1853, allocations: 382.4 kB / 418.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-05/0.1854, allocations: 20.72 kB / 418.7 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.1854, allocations: 47.22 kB / 418.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 1.844e-06/0.1854, allocations: 0 / 418.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.004008/0.1894, allocations: 1.88 MB / 420.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.1895, allocations: 0.8195 MB / 421.4 MB, free: 12.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004965/0.19, allocations: 0.6333 MB / 422.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.1901, allocations: 45.7 kB / 422.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1902, allocations: 329.1 kB / 422.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.1904, allocations: 248.2 kB / 422.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.1904, allocations: 20 kB / 422.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.1905, allocations: 386.8 kB / 423.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004432/0.1909, allocations: 253.9 kB / 423.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005664/0.1915, allocations: 0.539 MB / 423.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.192, allocations: 384 kB / 424.2 MB, free: 9.629 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.192, allocations: 3.938 kB / 424.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001934/0.1939, allocations: 1.114 MB / 425.4 MB, free: 8.473 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.194, allocations: 89.09 kB / 425.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.194, allocations: 3.953 kB / 425.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005529/0.1946, allocations: 255.2 kB / 425.7 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.1951, allocations: 131.8 kB / 425.8 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005154/0.2002, allocations: 6.48 MB / 432.3 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/0.2009, allocations: 111.2 kB / 432.4 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.2009, allocations: 31.98 kB / 432.5 MB, free: 0.8203 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.2011, allocations: 210.2 kB / 432.7 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.2012, allocations: 87.06 kB / 432.7 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.2014, allocations: 91.34 kB / 432.8 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2014, allocations: 8 kB / 432.8 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2014, allocations: 0 / 432.8 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00208/0.2035, allocations: 1.257 MB / 434.1 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003297/0.2068, allocations: 1.93 MB / 436 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.2068, allocations: 192 / 436 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005764/0.2074, allocations: 135.8 kB / 436.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004907/0.2079, allocations: 210.6 kB / 436.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.2079, allocations: 15.98 kB / 436.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005171/0.2131, allocations: 4.993 MB / 441.4 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2131, allocations: 0 / 441.4 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/0.2158, allocations: 1.385 MB / 442.8 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.216, allocations: 239.9 kB / 443 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.589e-05/0.2161, allocations: 20 kB / 443 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005656/0.2167, allocations: 51.97 kB / 443.1 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.2168, allocations: 60.69 kB / 443.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.2169, allocations: 16 kB / 443.1 MB, free: 5.469 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004424/0.2173, allocations: 459 kB / 443.6 MB, free: 5.027 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2173, allocations: 0 / 443.6 MB, free: 5.027 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006458/0.218, allocations: 287.6 kB / 443.9 MB, free: 4.746 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001379/0.2181, allocations: 127.2 kB / 444 MB, free: 4.613 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.2197, allocations: 1.309 MB / 445.3 MB, free: 3.219 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2197, allocations: 8.125 kB / 445.3 MB, free: 3.211 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008167/0.2206, allocations: 0.699 MB / 446 MB, free: 2.469 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008561/0.2214, allocations: 218.9 kB / 446.2 MB, free: 2.254 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.2238, allocations: 1.941 MB / 448.2 MB, free: 280 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.2243, allocations: 0.944 MB / 449.1 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.2244, allocations: 71.38 kB / 449.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2245, allocations: 0 / 449.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of Templates: time 0.01968/0.2441, allocations: 21.92 MB / 471.1 MB, free: 9.391 MB / 346.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches