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.0008994/0.0008994, allocations: 102.3 kB / 16.94 MB, free: 5.977 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.001091/0.001092, allocations: 179.4 kB / 17.82 MB, free: 5.652 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.519/1.519, allocations: 205.4 MB / 224 MB, free: 13.15 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.000501/0.0005012, allocations: 8.781 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1208, allocations: 47.59 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003028/0.1239, allocations: 2.292 MB / 330.6 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1258, allocations: 1.05 MB / 331.7 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.126, allocations: 7.938 kB / 331.7 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.1264, allocations: 151.4 kB / 331.8 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004427/0.1269, allocations: 207.5 kB / 332 MB, free: 380 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.1273, allocations: 115.7 kB / 332.1 MB, free: 264 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004759/0.1278, allocations: 311.3 kB / 332.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.128, allocations: 94.48 kB / 332.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.1282, allocations: 147.5 kB / 332.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.1285, allocations: 175.3 kB / 332.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.1285, allocations: 16 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1287, allocations: 40 kB / 332.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.769e-05/0.1288, allocations: 71.67 kB / 333 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.1289, allocations: 97.52 kB / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.1293, allocations: 331.4 kB / 333.4 MB, free: 15 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1293, allocations: 4 kB / 333.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.944e-06/0.1293, allocations: 4 kB / 333.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1293, allocations: 3.938 kB / 333.4 MB, free: 14.98 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.001081/0.1304, allocations: 0.619 MB / 334 MB, free: 14.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.1305, allocations: 8.031 kB / 334 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.258e-05/0.1306, allocations: 51.47 kB / 334.1 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.131, allocations: 317.6 kB / 334.4 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.131, allocations: 12.44 kB / 334.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.131, allocations: 20 kB / 334.4 MB, free: 13.87 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.1315, allocations: 293.4 kB / 334.7 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1315, allocations: 3.906 kB / 334.7 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.1315, allocations: 8 kB / 334.7 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.1316, allocations: 4 kB / 334.7 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.1318, allocations: 145.7 kB / 334.9 MB, free: 13.39 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.001298/0.1331, allocations: 0.8051 MB / 335.7 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.1336, allocations: 215.9 kB / 335.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.1337, allocations: 4.188 kB / 335.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003097/0.134, allocations: 131.5 kB / 336 MB, free: 12.15 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.134, allocations: 0 / 336 MB, free: 12.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007756/0.1348, allocations: 403.5 kB / 336.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003102/0.1351, allocations: 320.3 kB / 336.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/0.1356, allocations: 413.6 kB / 337.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.1356, allocations: 29.7 kB / 337.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.1358, allocations: 204.2 kB / 337.4 MB, free: 10.69 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/0.1359, allocations: 82.83 kB / 337.4 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.1359, allocations: 4 kB / 337.4 MB, free: 10.61 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.136, allocations: 354.8 kB / 337.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1362, allocations: 59.97 kB / 337.8 MB, free: 10.19 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.1364, allocations: 167.9 kB / 338 MB, free: 9.984 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.1366, allocations: 79.94 kB / 338.1 MB, free: 9.906 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1366, allocations: 0 / 338.1 MB, free: 9.906 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004452/0.137, allocations: 273.8 kB / 338.3 MB, free: 9.629 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1371, allocations: 8.094 kB / 338.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1371, allocations: 0 / 338.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.1372, allocations: 28.84 kB / 338.4 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.1375, allocations: 67.86 kB / 338.5 MB, free: 9.523 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.139, allocations: 1.468 MB / 339.9 MB, free: 7.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.1392, allocations: 23.88 kB / 339.9 MB, free: 7.887 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.1392, allocations: 4 kB / 339.9 MB, free: 7.883 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.0002063/0.1394, allocations: 173.7 kB / 340.1 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.1395, allocations: 39.53 kB / 340.2 MB, free: 7.664 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.236e-05/0.1396, allocations: 43.59 kB / 340.2 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1396, allocations: 7.953 kB / 340.2 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.1396, allocations: 0 / 340.2 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005949/0.1402, allocations: 0.579 MB / 340.8 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008878/0.1411, allocations: 0.6849 MB / 341.5 MB, free: 6.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1411, allocations: 0 / 341.5 MB, free: 6.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.1413, allocations: 47.92 kB / 341.5 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1413, allocations: 7.953 kB / 341.5 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.1414, allocations: 12.02 kB / 341.5 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1414, allocations: 7.938 kB / 341.5 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1414, allocations: 0 / 341.5 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.1419, allocations: 394.7 kB / 341.9 MB, free: 5.703 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.142, allocations: 137 kB / 342.1 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.1421, allocations: 11.95 kB / 342.1 MB, free: 5.539 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.1423, allocations: 23.89 kB / 342.1 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.1424, allocations: 11.98 kB / 342.1 MB, free: 5.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.1424, allocations: 15.98 kB / 342.1 MB, free: 5.488 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002779/0.1427, allocations: 291.1 kB / 342.4 MB, free: 5.211 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1427, allocations: 0 / 342.4 MB, free: 5.211 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003802/0.1431, allocations: 91.94 kB / 342.5 MB, free: 5.121 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.0009306/0.144, allocations: 412.1 kB / 342.9 MB, free: 4.727 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005819/0.1446, allocations: 307 kB / 343.2 MB, free: 4.414 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.1446, allocations: 7.938 kB / 343.2 MB, free: 4.406 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.1448, allocations: 91.62 kB / 343.3 MB, free: 4.316 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.1453, allocations: 89.61 kB / 343.4 MB, free: 4.227 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.1468, allocations: 0.9292 MB / 344.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.1472, allocations: 0.8034 MB / 345.1 MB, free: 2.441 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.1474, allocations: 38.95 kB / 345.2 MB, free: 2.402 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.1475, allocations: 31.38 kB / 345.2 MB, free: 2.371 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1475, allocations: 0 / 345.2 MB, free: 2.371 MB / 286.1 MB Notification: Performance of Templates: time 0.01101/0.1585, allocations: 5.244 MB / 350.4 MB, free: 13.12 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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