Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007945/0.0007949, allocations: 93.25 kB / 17.3 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009106/0.0009107, allocations: 172.9 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005022, allocations: 11.94 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1315, allocations: 47.58 MB / 329 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005759/0.1373, allocations: 4.638 MB / 333.6 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003258/0.1406, allocations: 1.275 MB / 334.9 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004436/0.1411, allocations: 11.94 kB / 334.9 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.1415, allocations: 119.2 kB / 335 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007335/0.1423, allocations: 289.7 kB / 335.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.1427, allocations: 203.7 kB / 335.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.1439, allocations: 1.109 MB / 336.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004507/0.1443, allocations: 290 kB / 336.9 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.1447, allocations: 414.3 kB / 337.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004825/0.1452, allocations: 469.9 kB / 337.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.1453, allocations: 64 kB / 337.8 MB, free: 10.87 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1455, allocations: 68 kB / 337.9 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.1456, allocations: 191.2 kB / 338 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000426/0.1461, allocations: 0.5032 MB / 338.6 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009156/0.147, allocations: 1.125 MB / 339.7 MB, free: 8.973 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.147, allocations: 0 / 339.7 MB, free: 8.973 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.147, allocations: 0 / 339.7 MB, free: 8.973 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.147, allocations: 0 / 339.7 MB, free: 8.973 MB / 286.1 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.002204/0.1492, allocations: 1.205 MB / 340.9 MB, free: 7.695 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1493, allocations: 8.031 kB / 340.9 MB, free: 7.688 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.1495, allocations: 107.8 kB / 341 MB, free: 7.582 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009015/0.1504, allocations: 0.5871 MB / 341.6 MB, free: 6.957 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003087/0.1507, allocations: 174.9 kB / 341.8 MB, free: 6.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.1508, allocations: 64.11 kB / 341.8 MB, free: 6.707 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.1524, allocations: 0.8783 MB / 342.7 MB, free: 5.727 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.1524, allocations: 4 kB / 342.7 MB, free: 5.723 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.96e-05/0.1525, allocations: 28 kB / 342.7 MB, free: 5.695 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.1525, allocations: 12 kB / 342.7 MB, free: 5.684 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.154, allocations: 0.661 MB / 343.4 MB, free: 5.02 MB / 286.1 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.003281/0.1573, allocations: 2.096 MB / 345.5 MB, free: 2.816 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.1588, allocations: 0.8936 MB / 346.4 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008584/0.1596, allocations: 418.6 kB / 346.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.755e-05/0.1597, allocations: 16.64 kB / 346.8 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.1598, allocations: 47.22 kB / 346.9 MB, free: 1.383 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 3.737e-06/0.1598, allocations: 4 kB / 346.9 MB, free: 1.379 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.005453/0.1652, allocations: 1.992 MB / 348.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000388/0.1656, allocations: 0.8311 MB / 349.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008543/0.1665, allocations: 0.6293 MB / 350.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.118e-05/0.1666, allocations: 45.7 kB / 350.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.1669, allocations: 333 kB / 350.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.1672, allocations: 256.2 kB / 350.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.1672, allocations: 61.67 kB / 351 MB, free: 12.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.1674, allocations: 386.8 kB / 351.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007286/0.1682, allocations: 305.8 kB / 351.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009635/0.1692, allocations: 0.582 MB / 352.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.1707, allocations: 0.748 MB / 353 MB, free: 10.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1707, allocations: 0 / 353 MB, free: 10.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002961/0.1737, allocations: 1.204 MB / 354.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.854e-05/0.1738, allocations: 81.11 kB / 354.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.1738, allocations: 0 / 354.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008849/0.1747, allocations: 255.2 kB / 354.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006696/0.1754, allocations: 155.8 kB / 354.7 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008304/0.1837, allocations: 6.488 MB / 361.2 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.1849, allocations: 131.4 kB / 361.3 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.185, allocations: 28 kB / 361.3 MB, free: 1.848 MB / 302.1 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005998/0.1856, allocations: 217.8 kB / 361.5 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/0.186, allocations: 91.09 kB / 361.6 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.1862, allocations: 91.33 kB / 361.7 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.1862, allocations: 11.94 kB / 361.7 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.1862, allocations: 4 kB / 361.7 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002846/0.1891, allocations: 1.342 MB / 363.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004482/0.1936, allocations: 2.027 MB / 365.1 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.1936, allocations: 4 kB / 365.1 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000768/0.1944, allocations: 147.8 kB / 365.3 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006101/0.195, allocations: 218.3 kB / 365.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.409e-05/0.1951, allocations: 15.98 kB / 365.5 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006438/0.2015, allocations: 5.059 MB / 370.5 MB, free: 8.027 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.2016, allocations: 7.969 kB / 370.5 MB, free: 8.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/0.2055, allocations: 1.523 MB / 372.1 MB, free: 6.473 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006005/0.2062, allocations: 239.8 kB / 372.3 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.2064, allocations: 20 kB / 372.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008491/0.2072, allocations: 67.94 kB / 372.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.2074, allocations: 60.56 kB / 372.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-05/0.2075, allocations: 19.98 kB / 372.5 MB, free: 6.055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007354/0.2082, allocations: 455.1 kB / 372.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2083, allocations: 0 / 372.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001094/0.2094, allocations: 283.6 kB / 373.2 MB, free: 5.34 MB / 318.1 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002168/0.2096, allocations: 131.3 kB / 373.3 MB, free: 5.203 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002706/0.2123, allocations: 1.407 MB / 374.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.2123, allocations: 8.125 kB / 374.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.2138, allocations: 0.8081 MB / 375.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.215, allocations: 222.7 kB / 375.8 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/0.2185, allocations: 1.992 MB / 377.8 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1885/0.407, allocations: 0.9401 MB / 378.7 MB, free: 51.4 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009044/0.408, allocations: 99.27 kB / 378.8 MB, free: 51.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.4083, allocations: 64.16 kB / 378.9 MB, free: 51.38 MB / 318.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4083, allocations: 1.375 kB / 378.9 MB, free: 51.38 MB / 318.1 MB Notification: Performance of Templates: time 0.03504/0.4433, allocations: 16.9 MB / 395.8 MB, free: 45.43 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/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_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches