Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008819/0.000882, allocations: 97.11 kB / 16.95 MB, free: 6.457 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.001065/0.001065, allocations: 182.8 kB / 17.84 MB, free: 6.008 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.598/1.598, allocations: 205.4 MB / 224 MB, free: 13.06 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.0004568/0.0004568, allocations: 12 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1332, allocations: 47.58 MB / 328.4 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003495/0.1368, allocations: 2.419 MB / 330.8 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.1388, allocations: 1.046 MB / 331.8 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.1391, allocations: 7.938 kB / 331.8 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006234/0.1397, allocations: 155.4 kB / 332 MB, free: 420 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005932/0.1403, allocations: 183 kB / 332.2 MB, free: 236 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.1409, allocations: 115.8 kB / 332.3 MB, free: 120 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006584/0.1415, allocations: 398 kB / 332.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.1418, allocations: 86.53 kB / 332.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.1421, allocations: 159.4 kB / 332.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.1424, allocations: 187.2 kB / 333.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.557e-05/0.1425, allocations: 20 kB / 333.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.1427, allocations: 51.98 kB / 333.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.1428, allocations: 71.73 kB / 333.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.143, allocations: 105.4 kB / 333.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.1435, allocations: 355.3 kB / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1435, allocations: 0 / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1435, allocations: 0 / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1435, allocations: 4 kB / 333.7 MB, free: 14.7 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001317/0.1449, allocations: 0.6268 MB / 334.3 MB, free: 14.03 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.1449, allocations: 8.031 kB / 334.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.1451, allocations: 47.48 kB / 334.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.1457, allocations: 321.7 kB / 334.7 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.1458, allocations: 16.44 kB / 334.7 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/0.1458, allocations: 23.94 kB / 334.7 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006674/0.1465, allocations: 289.5 kB / 335 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.1465, allocations: 3.906 kB / 335 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/0.1466, allocations: 12 kB / 335 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1466, allocations: 8 kB / 335 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.147, allocations: 145.7 kB / 335.2 MB, free: 13.09 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.001693/0.1487, allocations: 0.8286 MB / 336 MB, free: 12.19 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.1492, allocations: 183.9 kB / 336.2 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.1495, allocations: 85.2 kB / 336.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.1495, allocations: 192 / 336.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003617/0.1499, allocations: 131.5 kB / 336.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 2.114e-06/0.1499, allocations: 0 / 336.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.001092/0.151, allocations: 407.5 kB / 336.8 MB, free: 11.35 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002334/0.1512, allocations: 320.3 kB / 337.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007051/0.152, allocations: 433.6 kB / 337.5 MB, free: 10.53 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.152, allocations: 33.7 kB / 337.5 MB, free: 10.49 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.1522, allocations: 200.2 kB / 337.7 MB, free: 10.29 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.58e-05/0.1524, allocations: 82.84 kB / 337.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.1524, allocations: 4 kB / 337.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.1526, allocations: 350.8 kB / 338.2 MB, free: 9.855 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.1528, allocations: 55.97 kB / 338.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.1531, allocations: 179.9 kB / 338.4 MB, free: 9.582 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.1533, allocations: 79.98 kB / 338.5 MB, free: 9.504 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1534, allocations: 0 / 338.5 MB, free: 9.504 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006308/0.154, allocations: 277.8 kB / 338.7 MB, free: 9.223 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.154, allocations: 4 kB / 338.7 MB, free: 9.219 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1541, allocations: 0 / 338.7 MB, free: 9.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.1543, allocations: 40.89 kB / 338.8 MB, free: 9.176 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.1546, allocations: 55.91 kB / 338.8 MB, free: 9.121 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.1568, allocations: 1.452 MB / 340.3 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.1571, allocations: 23.88 kB / 340.3 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.1572, allocations: 12.09 kB / 340.3 MB, free: 7.488 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002772/0.1574, allocations: 169.7 kB / 340.5 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.1575, allocations: 39.53 kB / 340.5 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.1577, allocations: 39.59 kB / 340.6 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1577, allocations: 7.953 kB / 340.6 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.1577, allocations: 4 kB / 340.6 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007643/0.1585, allocations: 0.5751 MB / 341.2 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.16, allocations: 0.7083 MB / 341.9 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.16, allocations: 0 / 341.9 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.1603, allocations: 43.94 kB / 341.9 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.1603, allocations: 0 / 341.9 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.1603, allocations: 15.92 kB / 341.9 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.1603, allocations: 4 kB / 341.9 MB, free: 5.707 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1603, allocations: 0 / 341.9 MB, free: 5.707 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008647/0.1612, allocations: 398.7 kB / 342.3 MB, free: 5.301 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.1614, allocations: 136.7 kB / 342.5 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.009e-05/0.1615, allocations: 11.95 kB / 342.5 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.1618, allocations: 23.89 kB / 342.5 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.1619, allocations: 11.98 kB / 342.5 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.162, allocations: 8.062 kB / 342.5 MB, free: 5.094 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005337/0.1625, allocations: 311.1 kB / 342.8 MB, free: 4.797 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1625, allocations: 0 / 342.8 MB, free: 4.797 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007/0.1632, allocations: 91.92 kB / 342.9 MB, free: 4.707 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001443/0.1647, allocations: 418 kB / 343.3 MB, free: 4.305 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00081/0.1655, allocations: 307.1 kB / 343.6 MB, free: 3.992 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1655, allocations: 0 / 343.6 MB, free: 3.992 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.1657, allocations: 87.58 kB / 343.7 MB, free: 3.906 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.1666, allocations: 101.6 kB / 343.8 MB, free: 3.805 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.1685, allocations: 0.9253 MB / 344.7 MB, free: 2.855 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.169, allocations: 0.7924 MB / 345.5 MB, free: 2.039 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002337/0.1693, allocations: 50.92 kB / 345.6 MB, free: 1.988 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.087e-05/0.1694, allocations: 35.38 kB / 345.6 MB, free: 1.953 MB / 286.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1694, allocations: 0 / 345.6 MB, free: 1.953 MB / 286.1 MB Notification: Performance of Templates: time 0.01233/0.1817, allocations: 5.517 MB / 351.1 MB, free: 12.43 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches