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.000848/0.0008479, allocations: 96 kB / 17.3 MB, free: 6.387 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.0008206/0.0008208, allocations: 176.8 kB / 18.21 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.513/1.513, 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.0004595/0.0004596, allocations: 12 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1081, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003237/0.1114, allocations: 2.523 MB / 331.5 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1133, allocations: 1.1 MB / 332.6 MB, free: 108 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1134, allocations: 7.938 kB / 332.6 MB, free: 100 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.1138, allocations: 167.4 kB / 332.7 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.1142, allocations: 183 kB / 332.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.1145, allocations: 123.8 kB / 333 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004163/0.115, allocations: 430 kB / 333.5 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1151, allocations: 95.72 kB / 333.6 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.1153, allocations: 163.3 kB / 333.7 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.1155, allocations: 199.2 kB / 333.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.912e-05/0.1156, allocations: 20 kB / 333.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1157, allocations: 51.97 kB / 334 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.897e-05/0.1158, allocations: 79.62 kB / 334.1 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.116, allocations: 212.7 kB / 334.3 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004392/0.1164, allocations: 462.5 kB / 334.7 MB, free: 13.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1164, allocations: 0 / 334.7 MB, free: 13.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1164, allocations: 0 / 334.7 MB, free: 13.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1164, allocations: 0 / 334.7 MB, free: 13.95 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.0008956/0.1173, allocations: 0.6269 MB / 335.3 MB, free: 13.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1174, allocations: 8.031 kB / 335.4 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.439e-05/0.1175, allocations: 48.41 kB / 335.4 MB, free: 13.22 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.1179, allocations: 342.6 kB / 335.7 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.1179, allocations: 12.81 kB / 335.8 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.1179, allocations: 24.12 kB / 335.8 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.1184, allocations: 293.5 kB / 336.1 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1184, allocations: 0 / 336.1 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.1185, allocations: 8 kB / 336.1 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1185, allocations: 7.984 kB / 336.1 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.1188, allocations: 153.6 kB / 336.2 MB, free: 12.31 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.001235/0.12, allocations: 0.8205 MB / 337 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.1204, allocations: 187.1 kB / 337.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.1205, allocations: 80.83 kB / 337.3 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.1206, allocations: 11.92 kB / 337.3 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.1209, allocations: 139.2 kB / 337.5 MB, free: 10.99 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.783e-06/0.1209, allocations: 0 / 337.5 MB, free: 10.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008058/0.1217, allocations: 403.6 kB / 337.8 MB, free: 10.57 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/0.1219, allocations: 324.3 kB / 338.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.1224, allocations: 429.6 kB / 338.6 MB, free: 9.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.1224, allocations: 37.69 kB / 338.6 MB, free: 9.707 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.1226, allocations: 196.3 kB / 338.8 MB, free: 9.512 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.1227, allocations: 82.8 kB / 338.9 MB, free: 9.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.1227, allocations: 29.7 kB / 338.9 MB, free: 9.395 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1228, allocations: 346.8 kB / 339.3 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.123, allocations: 67.97 kB / 339.3 MB, free: 8.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.1232, allocations: 172 kB / 339.5 MB, free: 8.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.1235, allocations: 171.2 kB / 339.7 MB, free: 8.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1235, allocations: 7.875 kB / 339.7 MB, free: 8.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004476/0.124, allocations: 277.9 kB / 339.9 MB, free: 8.301 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.124, allocations: 7.938 kB / 340 MB, free: 8.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.124, allocations: 0 / 340 MB, free: 8.293 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001156/0.1241, allocations: 32.84 kB / 340 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.1243, allocations: 47.97 kB / 340 MB, free: 8.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.1256, allocations: 1.456 MB / 341.5 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.1258, allocations: 35.69 kB / 341.5 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.1259, allocations: 12.03 kB / 341.5 MB, free: 6.566 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.126, allocations: 169.8 kB / 341.7 MB, free: 6.391 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.1261, allocations: 39.53 kB / 341.7 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/0.1262, allocations: 39.59 kB / 341.8 MB, free: 6.309 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1262, allocations: 4 kB / 341.8 MB, free: 6.305 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.1262, allocations: 0 / 341.8 MB, free: 6.305 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005105/0.1267, allocations: 0.5867 MB / 342.4 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008394/0.1275, allocations: 0.6961 MB / 343.1 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1276, allocations: 7.938 kB / 343.1 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.1278, allocations: 47.91 kB / 343.1 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1278, allocations: 0 / 343.1 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.1278, allocations: 8 kB / 343.1 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1278, allocations: 0 / 343.1 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1278, allocations: 0 / 343.1 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005184/0.1283, allocations: 398.8 kB / 343.5 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.1285, allocations: 152.6 kB / 343.7 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.1285, allocations: 4 kB / 343.7 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.1288, allocations: 12 kB / 343.7 MB, free: 4.203 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.1288, allocations: 16.2 kB / 343.7 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.1288, allocations: 4.094 kB / 343.7 MB, free: 4.184 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002897/0.1291, allocations: 323.1 kB / 344 MB, free: 3.875 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1291, allocations: 0 / 344 MB, free: 3.875 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003551/0.1295, allocations: 91.84 kB / 344.1 MB, free: 3.785 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009405/0.1304, allocations: 428.5 kB / 344.5 MB, free: 3.375 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005098/0.131, allocations: 299.2 kB / 344.8 MB, free: 3.07 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.131, allocations: 4 kB / 344.8 MB, free: 3.066 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.1311, allocations: 91.61 kB / 344.9 MB, free: 2.977 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.1317, allocations: 101.5 kB / 345 MB, free: 2.875 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.1331, allocations: 0.9798 MB / 346 MB, free: 1.871 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1334, allocations: 0.7885 MB / 346.8 MB, free: 1.059 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.1336, allocations: 46.95 kB / 346.8 MB, free: 1.012 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.24e-05/0.1337, allocations: 39.42 kB / 346.9 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1337, allocations: 4 kB / 346.9 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of Templates: time 0.01012/0.1438, allocations: 5.716 MB / 352.6 MB, free: 11.24 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