Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 101 kB / 16.94 MB, free: 5.98 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.001161/0.001161, allocations: 178.1 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.507/1.507, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004448/0.0004449, allocations: 11.94 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1198, allocations: 47.58 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.002715/0.1226, allocations: 2.178 MB / 330.5 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1239, allocations: 0.7805 MB / 331.3 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1241, allocations: 3.938 kB / 331.3 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.1243, allocations: 51.72 kB / 331.3 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.1246, allocations: 151.5 kB / 331.5 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.1248, allocations: 67.86 kB / 331.6 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004313/0.1252, allocations: 303.8 kB / 331.9 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.1254, allocations: 90.17 kB / 331.9 MB, free: 484 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.1256, allocations: 127.6 kB / 332.1 MB, free: 356 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.1258, allocations: 159.3 kB / 332.2 MB, free: 196 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.1259, allocations: 16 kB / 332.2 MB, free: 180 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.473e-05/0.1259, allocations: 20 kB / 332.3 MB, free: 160 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.126, allocations: 55.81 kB / 332.3 MB, free: 104 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.489e-05/0.1261, allocations: 93.52 kB / 332.4 MB, free: 4 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.1264, allocations: 299.4 kB / 332.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1265, allocations: 0 / 332.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1265, allocations: 0 / 332.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.1265, allocations: 0 / 332.7 MB, free: 15.71 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001102/0.1276, allocations: 0.621 MB / 333.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/0.1277, allocations: 12.03 kB / 333.3 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.479e-05/0.1278, allocations: 39.62 kB / 333.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.1282, allocations: 282.2 kB / 333.6 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.1283, allocations: 50.14 kB / 333.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.1283, allocations: 20 kB / 333.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005688/0.1289, allocations: 321.5 kB / 334 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.1289, allocations: 7.875 kB / 334 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.129, allocations: 8 kB / 334 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.129, allocations: 4 kB / 334 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.1294, allocations: 213.6 kB / 334.3 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.1307, allocations: 0.7908 MB / 335 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/0.1315, allocations: 299 kB / 335.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.1315, allocations: 12 kB / 335.3 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.1316, allocations: 38.56 kB / 335.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.493e-06/0.1316, allocations: 0 / 335.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001084/0.1327, allocations: 492.4 kB / 335.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/0.1328, allocations: 316.4 kB / 336.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.1331, allocations: 259 kB / 336.4 MB, free: 11.65 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.1331, allocations: 33.7 kB / 336.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.1333, allocations: 176.7 kB / 336.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.141e-05/0.1334, allocations: 98.47 kB / 336.7 MB, free: 11.33 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.1334, allocations: 8 kB / 336.7 MB, free: 11.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1335, allocations: 350.8 kB / 337.1 MB, free: 10.97 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.1338, allocations: 87.97 kB / 337.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.1341, allocations: 223.7 kB / 337.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.1343, allocations: 135.1 kB / 337.5 MB, free: 10.49 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.1343, allocations: 4 kB / 337.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006419/0.135, allocations: 373 kB / 337.9 MB, free: 10.11 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/0.135, allocations: 33.8 kB / 337.9 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.135, allocations: 0 / 337.9 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/0.1353, allocations: 44.83 kB / 338 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009889/0.1362, allocations: 199.8 kB / 338.2 MB, free: 9.824 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00387/0.1401, allocations: 3.106 MB / 341.3 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.1404, allocations: 43.72 kB / 341.3 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.1405, allocations: 12 kB / 341.3 MB, free: 6.406 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 2} Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.1407, allocations: 153.8 kB / 341.5 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.1408, allocations: 31.62 kB / 341.5 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.037e-05/0.1408, allocations: 39.08 kB / 341.5 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1409, allocations: 4 kB / 341.5 MB, free: 6.172 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1409, allocations: 4.031 kB / 341.5 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006787/0.1415, allocations: 0.666 MB / 342.2 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.142, allocations: 381.2 kB / 342.6 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.142, allocations: 0 / 342.6 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.1433, allocations: 251.7 kB / 342.8 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.478e-05/0.1434, allocations: 20.86 kB / 342.8 MB, free: 4.703 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.1434, allocations: 11.98 kB / 342.9 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003094/0.1465, allocations: 2.934 MB / 345.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1465, allocations: 3.938 kB / 345.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008464/0.1474, allocations: 0.531 MB / 346.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.1476, allocations: 128.7 kB / 346.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.1476, allocations: 8 kB / 346.5 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.1479, allocations: 19.98 kB / 346.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.148, allocations: 23.95 kB / 346.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.148, allocations: 8 kB / 346.5 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.1482, allocations: 189.9 kB / 346.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1482, allocations: 4 kB / 346.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004349/0.1487, allocations: 99.91 kB / 346.8 MB, free: 456 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001633/0.1488, allocations: 111.2 kB / 346.9 MB, free: 332 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.1507, allocations: 0.5761 MB / 347.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.1507, allocations: 0 / 347.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001525/0.1522, allocations: 446.8 kB / 347.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.1527, allocations: 80.33 kB / 348 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.1547, allocations: 1.029 MB / 349 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.1551, allocations: 0.7794 MB / 349.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.1553, allocations: 34.22 kB / 349.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.1554, allocations: 23.44 kB / 349.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of SimCode: time 5.62e-07/0.1554, allocations: 0 / 349.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of Templates: time 0.01106/0.1665, allocations: 5.224 MB / 355.1 MB, free: 8.059 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches