Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_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_3.2.3_cpp_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.001544/0.001545, allocations: 188.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001138/0.001137, allocations: 94.81 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005396/0.0005399, allocations: 8 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1414, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.009921/0.1514, allocations: 3.9 MB / 378.4 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004769/0.1563, allocations: 1.264 MB / 379.7 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000937/0.1573, allocations: 11.94 kB / 379.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007467/0.1581, allocations: 103.2 kB / 379.8 MB, free: 10.13 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.1601, allocations: 347 kB / 380.2 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.1614, allocations: 163.8 kB / 380.3 MB, free: 9.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002982/0.1645, allocations: 0.7812 MB / 381.1 MB, free: 8.844 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.1656, allocations: 272.4 kB / 381.4 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.1669, allocations: 374.8 kB / 381.7 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.1685, allocations: 426.2 kB / 382.1 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000492/0.169, allocations: 60 kB / 382.2 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006015/0.1697, allocations: 60 kB / 382.3 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003762/0.1701, allocations: 167.4 kB / 382.4 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006059/0.1707, allocations: 205.1 kB / 382.6 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002216/0.173, allocations: 0.8182 MB / 383.4 MB, free: 6.465 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1731, allocations: 0 / 383.4 MB, free: 6.465 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.1731, allocations: 0 / 383.4 MB, free: 6.465 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.718e-05/0.1732, allocations: 0 / 383.4 MB, free: 6.465 MB / 282.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.005037/0.1782, allocations: 1.169 MB / 384.6 MB, free: 5.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.1783, allocations: 8.031 kB / 384.6 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006786/0.179, allocations: 106.9 kB / 384.7 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.1811, allocations: 487.9 kB / 385.2 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005576/0.1817, allocations: 150.4 kB / 385.3 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003297/0.1821, allocations: 67.89 kB / 385.4 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003822/0.1859, allocations: 0.8392 MB / 386.3 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.171e-05/0.186, allocations: 0 / 386.3 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/0.1863, allocations: 32 kB / 386.3 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.1863, allocations: 12 kB / 386.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/0.1899, allocations: 0.5712 MB / 386.9 MB, free: 2.805 MB / 282.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.008924/0.1989, allocations: 2.08 MB / 388.9 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2927/0.4917, allocations: 1.013 MB / 390 MB, free: 19.94 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.4919, allocations: 14.89 kB / 390 MB, free: 19.94 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.822e-05/0.4919, allocations: 49.11 kB / 390 MB, free: 19.9 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 3.727e-06/0.492, allocations: 0 / 390 MB, free: 19.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.009426/0.5014, allocations: 1.877 MB / 391.9 MB, free: 19.44 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002394/0.5017, allocations: 0.8202 MB / 392.7 MB, free: 18.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.5028, allocations: 0.5923 MB / 393.3 MB, free: 18.31 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000211/0.5031, allocations: 44.7 kB / 393.4 MB, free: 18.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.5033, allocations: 346.1 kB / 393.7 MB, free: 18.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.5036, allocations: 257.7 kB / 393.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/0.5037, allocations: 14.81 kB / 394 MB, free: 17.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.5038, allocations: 342.6 kB / 394.3 MB, free: 17.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.5049, allocations: 257.5 kB / 394.5 MB, free: 17.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.5063, allocations: 0.5281 MB / 395.1 MB, free: 17.08 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.5075, allocations: 388.7 kB / 395.5 MB, free: 16.85 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.5076, allocations: 1.156 kB / 395.5 MB, free: 16.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004256/0.5118, allocations: 1.058 MB / 396.5 MB, free: 16.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.976e-05/0.5119, allocations: 85.28 kB / 396.6 MB, free: 16.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.512, allocations: 5.281 kB / 396.6 MB, free: 16.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.5132, allocations: 247.5 kB / 396.8 MB, free: 16.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.5143, allocations: 131.8 kB / 397 MB, free: 16.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.5256, allocations: 6.592 MB / 403.6 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.5272, allocations: 108.6 kB / 403.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.5273, allocations: 23.08 kB / 403.7 MB, free: 10.32 MB / 282.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 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004897/0.5278, allocations: 216.7 kB / 403.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.5281, allocations: 89.47 kB / 404 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.5283, allocations: 93.98 kB / 404.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.5283, allocations: 6.531 kB / 404.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.5284, allocations: 6.953 kB / 404.1 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004126/0.5325, allocations: 1.248 MB / 405.3 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007672/0.5402, allocations: 1.873 MB / 407.2 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.5403, allocations: 0 / 407.2 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/0.5417, allocations: 131.1 kB / 407.3 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.5427, allocations: 221 kB / 407.6 MB, free: 8.262 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.5428, allocations: 17.34 kB / 407.6 MB, free: 8.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.5529, allocations: 5.129 MB / 412.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.553, allocations: 0.6094 kB / 412.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005321/0.5583, allocations: 1.384 MB / 414.1 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005758/0.559, allocations: 225.7 kB / 414.3 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.5592, allocations: 19.19 kB / 414.3 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/0.5607, allocations: 56.62 kB / 414.4 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000434/0.5611, allocations: 61.8 kB / 414.4 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.5613, allocations: 23.3 kB / 414.5 MB, free: 3.004 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001226/0.5625, allocations: 422.7 kB / 414.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.525e-06/0.5626, allocations: 0 / 414.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002573/0.5652, allocations: 270.9 kB / 415.1 MB, free: 2.773 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0003859/0.5656, allocations: 117.7 kB / 415.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.004873/0.5705, allocations: 1.315 MB / 416.6 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/0.5706, allocations: 2.781 kB / 416.6 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003371/0.574, allocations: 0.7657 MB / 417.3 MB, free: 1.246 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.5763, allocations: 204.3 kB / 417.5 MB, free: 1.145 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005574/0.5819, allocations: 1.914 MB / 419.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/0.5827, allocations: 0.9511 MB / 420.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/0.5831, allocations: 67.14 kB / 420.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of SimCode: time 1.113e-06/0.5831, allocations: 3.938 kB / 420.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of Templates: time 0.5122/1.095, allocations: 20.36 MB / 440.8 MB, free: 11.43 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches