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.001072/0.001072, allocations: 195 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.173/1.173, allocations: 226.6 MB / 244.4 MB, free: 8.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000754/0.000754, allocations: 107.8 kB / 296.4 MB, free: 6.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001865/0.0001866, allocations: 8 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1679, allocations: 51.3 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.002749/0.1707, allocations: 4.309 MB / 411.8 MB, free: 23.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1719, allocations: 1.198 MB / 413 MB, free: 22.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.1721, allocations: 12 kB / 413 MB, free: 22.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.1723, allocations: 107.2 kB / 413.1 MB, free: 22.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.1727, allocations: 285.7 kB / 413.4 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.1729, allocations: 163.8 kB / 413.6 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005599/0.1735, allocations: 1.027 MB / 414.6 MB, free: 20.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.1738, allocations: 280.4 kB / 414.9 MB, free: 20.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.174, allocations: 382.7 kB / 415.2 MB, free: 20.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.1743, allocations: 458.1 kB / 415.7 MB, free: 19.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.559e-05/0.1744, allocations: 64 kB / 415.7 MB, free: 19.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1746, allocations: 71.94 kB / 415.8 MB, free: 19.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.635e-05/0.1747, allocations: 175.3 kB / 416 MB, free: 19.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1748, allocations: 201.3 kB / 416.2 MB, free: 19.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.1752, allocations: 0.8618 MB / 417 MB, free: 18.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1752, allocations: 0 / 417 MB, free: 18.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1752, allocations: 0 / 417 MB, free: 18.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1752, allocations: 4 kB / 417 MB, free: 18.22 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.001522/0.1768, allocations: 1.177 MB / 418.2 MB, free: 16.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.1768, allocations: 8.031 kB / 418.2 MB, free: 16.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.1769, allocations: 106.9 kB / 418.3 MB, free: 16.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005288/0.1775, allocations: 0.5116 MB / 418.8 MB, free: 16.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.1776, allocations: 150.4 kB / 419 MB, free: 16.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/0.1777, allocations: 67.89 kB / 419.1 MB, free: 16.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009828/0.1787, allocations: 0.8432 MB / 419.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1787, allocations: 0 / 419.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/0.1788, allocations: 28 kB / 419.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.1788, allocations: 16 kB / 419.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009308/0.1797, allocations: 0.579 MB / 420.5 MB, free: 14.51 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.002388/0.1821, allocations: 2.116 MB / 422.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.1835, allocations: 0.9985 MB / 423.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005325/0.1841, allocations: 378.7 kB / 424 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.1841, allocations: 16.7 kB / 424 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.1842, allocations: 51.22 kB / 424.1 MB, free: 10.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 1.823e-06/0.1842, allocations: 0 / 424.1 MB, free: 10.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.004145/0.1883, allocations: 1.875 MB / 425.9 MB, free: 8.812 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.1884, allocations: 0.8272 MB / 426.8 MB, free: 7.789 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.189, allocations: 0.6294 MB / 427.4 MB, free: 7.148 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.189, allocations: 49.69 kB / 427.5 MB, free: 7.094 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.1892, allocations: 325 kB / 427.8 MB, free: 6.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1893, allocations: 264.2 kB / 428 MB, free: 6.508 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.1893, allocations: 12 kB / 428 MB, free: 6.496 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.1894, allocations: 390.7 kB / 428.4 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/0.1899, allocations: 257.9 kB / 428.7 MB, free: 5.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005744/0.1904, allocations: 0.5312 MB / 429.2 MB, free: 5.223 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/0.191, allocations: 384 kB / 429.6 MB, free: 4.828 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.191, allocations: 0 / 429.6 MB, free: 4.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001984/0.193, allocations: 1.11 MB / 430.7 MB, free: 3.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.193, allocations: 81.11 kB / 430.8 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.193, allocations: 0 / 430.8 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000586/0.1936, allocations: 255.2 kB / 431 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.1941, allocations: 127.9 kB / 431.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006207/0.2003, allocations: 6.503 MB / 437.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007547/0.2011, allocations: 111.3 kB / 437.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.2011, allocations: 20 kB / 437.8 MB, free: 12.03 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.0003216/0.2015, allocations: 217.7 kB / 438 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.2016, allocations: 83.06 kB / 438.1 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.2018, allocations: 99.28 kB / 438.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.2018, allocations: 8 kB / 438.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2018, allocations: 0 / 438.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002154/0.2039, allocations: 1.245 MB / 439.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/0.2073, allocations: 1.934 MB / 441.4 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2073, allocations: 0 / 441.4 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/0.2079, allocations: 135.9 kB / 441.5 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005097/0.2084, allocations: 206.5 kB / 441.7 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.2084, allocations: 16 kB / 441.7 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005286/0.2137, allocations: 4.998 MB / 446.7 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2138, allocations: 0 / 446.7 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002723/0.2165, allocations: 1.393 MB / 448.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.2168, allocations: 231.9 kB / 448.3 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-05/0.2169, allocations: 20 kB / 448.3 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/0.2175, allocations: 59.91 kB / 448.4 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.2176, allocations: 60.52 kB / 448.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.2177, allocations: 23.98 kB / 448.5 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004873/0.2181, allocations: 451.1 kB / 448.9 MB, free: 232 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2182, allocations: 0 / 448.9 MB, free: 232 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007433/0.2189, allocations: 283.9 kB / 449.2 MB, free: 15.95 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.0001408/0.219, allocations: 127.2 kB / 449.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.2208, allocations: 1.301 MB / 450.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2208, allocations: 4 kB / 450.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008841/0.2217, allocations: 0.6991 MB / 451.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008994/0.2226, allocations: 227.4 kB / 451.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.2251, allocations: 1.956 MB / 453.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.2255, allocations: 0.9362 MB / 454.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.2257, allocations: 67.42 kB / 454.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2257, allocations: 0 / 454.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of Templates: time 0.02097/0.2467, allocations: 21.92 MB / 476.4 MB, free: 4.59 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