Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass,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.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,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.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001562, allocations: 187.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 3.519/3.519, 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.002442/0.002442, allocations: 86.88 kB / 270.9 MB, free: 13.39 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006918/0.0006921, allocations: 8 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1609, allocations: 47.58 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.01047/0.1715, allocations: 3.984 MB / 378.5 MB, free: 11.44 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005128/0.1767, allocations: 1.287 MB / 379.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.1778, allocations: 11.94 kB / 379.8 MB, free: 10.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008618/0.1787, allocations: 99.27 kB / 379.9 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.1813, allocations: 347 kB / 380.3 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.1826, allocations: 175.7 kB / 380.4 MB, free: 9.523 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003255/0.186, allocations: 0.7809 MB / 381.2 MB, free: 8.738 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.1871, allocations: 270.6 kB / 381.5 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.1886, allocations: 378.7 kB / 381.8 MB, free: 8.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.1902, allocations: 438.2 kB / 382.3 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004772/0.1908, allocations: 60 kB / 382.3 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005082/0.1913, allocations: 60 kB / 382.4 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003327/0.1917, allocations: 167.3 kB / 382.6 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005889/0.1923, allocations: 201.3 kB / 382.7 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002404/0.1947, allocations: 0.8338 MB / 383.6 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.1948, allocations: 4 kB / 383.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.498e-06/0.1948, allocations: 4 kB / 383.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.79e-05/0.1949, allocations: 0 / 383.6 MB, free: 6.328 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.005579/0.2005, allocations: 1.193 MB / 384.8 MB, free: 5.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.88e-05/0.2006, allocations: 8.031 kB / 384.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006607/0.2013, allocations: 110.9 kB / 384.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.2037, allocations: 0.5356 MB / 385.4 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00078/0.2045, allocations: 174.4 kB / 385.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003232/0.2048, allocations: 63.84 kB / 385.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003918/0.2088, allocations: 0.8665 MB / 386.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.703e-05/0.2089, allocations: 0 / 386.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.2091, allocations: 32 kB / 386.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.2092, allocations: 12 kB / 386.6 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004266/0.2135, allocations: 0.6571 MB / 387.2 MB, free: 2.449 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.009397/0.2229, allocations: 2.03 MB / 389.3 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3618/0.5848, allocations: 0.8794 MB / 390.1 MB, free: 20.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.585, allocations: 13.91 kB / 390.2 MB, free: 20.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.5851, allocations: 50.69 kB / 390.2 MB, free: 20.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 4.809e-06/0.5851, allocations: 0 / 390.2 MB, free: 20.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.01044/0.5956, allocations: 1.985 MB / 392.2 MB, free: 19.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002638/0.5959, allocations: 0.826 MB / 393 MB, free: 18.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.5971, allocations: 0.5742 MB / 393.6 MB, free: 18.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002342/0.5974, allocations: 45.23 kB / 393.6 MB, free: 18.37 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.5977, allocations: 358.5 kB / 394 MB, free: 18.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.598, allocations: 252.2 kB / 394.2 MB, free: 17.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.5981, allocations: 18.84 kB / 394.2 MB, free: 17.92 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5982, allocations: 341.5 kB / 394.6 MB, free: 17.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.5996, allocations: 297.9 kB / 394.9 MB, free: 17.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.6013, allocations: 0.583 MB / 395.5 MB, free: 17.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.6028, allocations: 424.4 kB / 395.9 MB, free: 16.87 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.6029, allocations: 0 / 395.9 MB, free: 16.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.005152/0.608, allocations: 1.142 MB / 397 MB, free: 16.4 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.036e-05/0.6082, allocations: 89.55 kB / 397.1 MB, free: 16.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.6082, allocations: 1.156 kB / 397.1 MB, free: 16.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.6094, allocations: 256.3 kB / 397.4 MB, free: 16.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.6108, allocations: 147.2 kB / 397.5 MB, free: 16.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1126/0.7234, allocations: 6.575 MB / 404.1 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009344/0.7328, allocations: 124.1 kB / 404.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003317/0.7332, allocations: 30.77 kB / 404.2 MB, free: 10.33 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 (69): * Single equations (assignments): 62 * 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.0009709/0.7342, allocations: 214.8 kB / 404.4 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004548/0.7347, allocations: 87.94 kB / 404.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.7351, allocations: 89.02 kB / 404.6 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/0.7351, allocations: 12.11 kB / 404.6 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/0.7352, allocations: 4.875 kB / 404.6 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007213/0.7424, allocations: 1.337 MB / 406 MB, free: 9.238 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.7541, allocations: 1.976 MB / 407.9 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/0.7542, allocations: 0 / 407.9 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002155/0.7563, allocations: 154.5 kB / 408.1 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/0.7579, allocations: 216.7 kB / 408.3 MB, free: 8.254 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002405/0.7583, allocations: 14.72 kB / 408.3 MB, free: 8.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0163/0.7746, allocations: 5.133 MB / 413.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7747, allocations: 0 / 413.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009772/0.7845, allocations: 1.526 MB / 415 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.7856, allocations: 233.5 kB / 415.2 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004171/0.7861, allocations: 18.88 kB / 415.2 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00221/0.7883, allocations: 70.44 kB / 415.3 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005666/0.789, allocations: 62.69 kB / 415.3 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.7891, allocations: 20.36 kB / 415.4 MB, free: 2.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001292/0.7904, allocations: 412.9 kB / 415.8 MB, free: 2.688 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.522e-06/0.7905, allocations: 4 kB / 415.8 MB, free: 2.684 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002993/0.7935, allocations: 278.4 kB / 416 MB, free: 2.641 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.0004527/0.794, allocations: 125 kB / 416.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.005918/0.8, allocations: 1.404 MB / 417.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-05/0.8001, allocations: 1.406 kB / 417.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00362/0.8037, allocations: 0.8154 MB / 418.4 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.8063, allocations: 207.6 kB / 418.6 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007467/0.8138, allocations: 1.957 MB / 420.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.815, allocations: 0.9603 MB / 421.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/0.8156, allocations: 54.62 kB / 421.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of SimCode: time 1.553e-06/0.8156, allocations: 0 / 421.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of Templates: time 0.06594/0.8816, allocations: 20.84 MB / 442.4 MB, free: 9.879 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches