Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_cpp_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_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 191.6 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.5 MB / 244.7 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007833/0.0007834, allocations: 108.1 kB / 296.8 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002163/0.0002163, allocations: 8 kB / 356.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1902, allocations: 51.3 MB / 408 MB, free: 27.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003002/0.1932, allocations: 4.32 MB / 412.4 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1946, allocations: 1.201 MB / 413.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/0.1949, allocations: 11.25 kB / 413.6 MB, free: 22.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.1951, allocations: 115.1 kB / 413.7 MB, free: 22.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.1955, allocations: 276 kB / 414 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.1958, allocations: 159.8 kB / 414.1 MB, free: 21.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006226/0.1964, allocations: 1.073 MB / 415.2 MB, free: 20.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.1967, allocations: 298.5 kB / 415.5 MB, free: 20.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.197, allocations: 386.7 kB / 415.8 MB, free: 19.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.1973, allocations: 450.1 kB / 416.3 MB, free: 19.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.675e-05/0.1974, allocations: 68 kB / 416.4 MB, free: 19.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1975, allocations: 68 kB / 416.4 MB, free: 19.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.909e-05/0.1976, allocations: 179.4 kB / 416.6 MB, free: 19.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002844/0.1979, allocations: 487.6 kB / 417.1 MB, free: 18.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004639/0.1984, allocations: 0.854 MB / 417.9 MB, free: 17.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1984, allocations: 4 kB / 417.9 MB, free: 17.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1984, allocations: 0 / 417.9 MB, free: 17.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1984, allocations: 4 kB / 417.9 MB, free: 17.73 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.001508/0.1999, allocations: 1.166 MB / 419.1 MB, free: 16.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2, allocations: 8.031 kB / 419.1 MB, free: 16.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.2001, allocations: 103.8 kB / 419.2 MB, free: 16.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/0.2007, allocations: 0.5513 MB / 419.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.2008, allocations: 147 kB / 419.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.252e-05/0.2009, allocations: 64.34 kB / 420 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.2019, allocations: 0.8472 MB / 420.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.202, allocations: 0 / 420.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.202, allocations: 28 kB / 420.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.202, allocations: 12 kB / 420.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009714/0.203, allocations: 0.5751 MB / 421.4 MB, free: 14 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.002528/0.2056, allocations: 2.119 MB / 423.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.207, allocations: 1.002 MB / 424.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005521/0.2076, allocations: 379.1 kB / 424.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.481e-05/0.2076, allocations: 20.7 kB / 424.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.2077, allocations: 51.22 kB / 425 MB, free: 10.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 2.425e-06/0.2077, allocations: 0 / 425 MB, free: 10.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.004145/0.2118, allocations: 1.887 MB / 426.9 MB, free: 8.285 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.212, allocations: 0.8234 MB / 427.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.2125, allocations: 0.6293 MB / 428.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/0.2126, allocations: 49.69 kB / 428.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.2128, allocations: 329.1 kB / 428.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.2129, allocations: 256.3 kB / 428.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.213, allocations: 20 kB / 429 MB, free: 5.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.213, allocations: 386.7 kB / 429.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.2135, allocations: 253.9 kB / 429.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006043/0.2141, allocations: 0.539 MB / 430.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009686/0.2151, allocations: 0.6544 MB / 430.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2151, allocations: 0 / 430.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002022/0.2171, allocations: 1.11 MB / 431.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.2172, allocations: 89.09 kB / 432 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2172, allocations: 3.938 kB / 432 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005889/0.2178, allocations: 251.3 kB / 432.2 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/0.2183, allocations: 131.8 kB / 432.4 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006388/0.2247, allocations: 6.492 MB / 438.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007852/0.2255, allocations: 107.4 kB / 439 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.2256, allocations: 23.98 kB / 439 MB, free: 11.21 MB / 314.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.0003193/0.2259, allocations: 209.8 kB / 439.2 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.2261, allocations: 90.97 kB / 439.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.2262, allocations: 95.28 kB / 439.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.2263, allocations: 8 kB / 439.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2263, allocations: 240 / 439.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002157/0.2284, allocations: 1.253 MB / 440.6 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003512/0.232, allocations: 1.93 MB / 442.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.232, allocations: 3.938 kB / 442.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/0.2326, allocations: 127.9 kB / 442.7 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005241/0.2331, allocations: 214.6 kB / 442.9 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.2332, allocations: 19.92 kB / 442.9 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005694/0.2389, allocations: 4.986 MB / 447.9 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.2389, allocations: 0 / 447.9 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.2418, allocations: 1.393 MB / 449.3 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/0.2422, allocations: 240 kB / 449.5 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.2423, allocations: 16 kB / 449.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005813/0.2429, allocations: 63.95 kB / 449.6 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.243, allocations: 56.56 kB / 449.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.2431, allocations: 20 kB / 449.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005379/0.2436, allocations: 459 kB / 450.1 MB, free: 15.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2436, allocations: 0 / 450.1 MB, free: 15.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007935/0.2444, allocations: 279.8 kB / 450.4 MB, free: 15.13 MB / 330.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.0001487/0.2446, allocations: 131.1 kB / 450.5 MB, free: 14.99 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.2464, allocations: 1.293 MB / 451.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2464, allocations: 8.125 kB / 451.8 MB, free: 13.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009093/0.2473, allocations: 0.699 MB / 452.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00096/0.2483, allocations: 213.8 kB / 452.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.251, allocations: 1.956 MB / 454.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.2515, allocations: 0.9478 MB / 455.6 MB, free: 9.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.2517, allocations: 63.44 kB / 455.7 MB, free: 9.621 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2517, allocations: 0 / 455.7 MB, free: 9.621 MB / 330.7 MB Notification: Performance of Templates: time 0.02295/0.2747, allocations: 21.91 MB / 477.6 MB, free: 3.789 MB / 346.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches