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.001057/0.001057, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001241/0.001241, allocations: 192 kB / 18.51 MB, free: 4.508 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.444/1.444, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001322/0.001322, allocations: 55.92 kB / 280.6 MB, free: 3.199 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.106, allocations: 46.64 MB / 327.3 MB, free: 4.492 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.005348/0.1114, allocations: 2.851 MB / 330.1 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.1138, allocations: 1.17 MB / 331.3 MB, free: 444 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003858/0.1142, allocations: 7.938 kB / 331.3 MB, free: 436 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005693/0.1149, allocations: 187.1 kB / 331.5 MB, free: 248 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.1154, allocations: 206.8 kB / 331.7 MB, free: 40 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.1159, allocations: 140 kB / 331.8 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004943/0.1164, allocations: 454 kB / 332.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.1166, allocations: 103.5 kB / 332.4 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.1168, allocations: 175.3 kB / 332.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.117, allocations: 215.1 kB / 332.8 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.202e-05/0.1171, allocations: 28 kB / 332.8 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.1173, allocations: 67.98 kB / 332.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1174, allocations: 91.67 kB / 332.9 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.1176, allocations: 191 kB / 333.1 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.1181, allocations: 470.2 kB / 333.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1181, allocations: 0 / 333.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1181, allocations: 3.938 kB / 333.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1181, allocations: 4 kB / 333.6 MB, free: 14.14 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.0009919/0.1191, allocations: 0.7007 MB / 334.3 MB, free: 13.39 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1191, allocations: 8.031 kB / 334.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.82e-05/0.1192, allocations: 48.41 kB / 334.3 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.1196, allocations: 342.6 kB / 334.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.1197, allocations: 12.81 kB / 334.7 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.1197, allocations: 28.12 kB / 334.7 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.1202, allocations: 285.5 kB / 335 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1203, allocations: 4 kB / 335 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.1203, allocations: 8 kB / 335 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1203, allocations: 11.92 kB / 335 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.1206, allocations: 153.7 kB / 335.2 MB, free: 12.42 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.00125/0.1219, allocations: 0.8282 MB / 336 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.1223, allocations: 183.1 kB / 336.2 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.1224, allocations: 88.77 kB / 336.3 MB, free: 11.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.1225, allocations: 7.938 kB / 336.3 MB, free: 11.24 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.1227, allocations: 135.3 kB / 336.4 MB, free: 11.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.482e-06/0.1228, allocations: 0 / 336.4 MB, free: 11.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007856/0.1235, allocations: 403 kB / 336.8 MB, free: 10.67 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.1237, allocations: 328.2 kB / 337.1 MB, free: 10.28 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.1241, allocations: 425.7 kB / 337.5 MB, free: 9.855 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.1242, allocations: 37.69 kB / 337.6 MB, free: 9.812 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.1243, allocations: 196.3 kB / 337.8 MB, free: 9.617 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.1244, allocations: 78.84 kB / 337.8 MB, free: 9.539 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/0.1245, allocations: 61.69 kB / 337.9 MB, free: 9.473 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1246, allocations: 350.8 kB / 338.2 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.1247, allocations: 67.97 kB / 338.3 MB, free: 9.055 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.1249, allocations: 164 kB / 338.5 MB, free: 8.852 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.1252, allocations: 183.2 kB / 338.6 MB, free: 8.66 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1252, allocations: 3.938 kB / 338.7 MB, free: 8.656 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004405/0.1257, allocations: 273.8 kB / 338.9 MB, free: 8.379 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1257, allocations: 8 kB / 338.9 MB, free: 8.371 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1257, allocations: 4.094 kB / 338.9 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/0.1259, allocations: 32.84 kB / 339 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.1261, allocations: 51.91 kB / 339 MB, free: 8.281 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.1275, allocations: 1.57 MB / 340.6 MB, free: 6.562 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.1277, allocations: 27.75 kB / 340.6 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.1278, allocations: 12.03 kB / 340.6 MB, free: 6.523 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.0001772/0.128, allocations: 173.7 kB / 340.8 MB, free: 6.344 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.128, allocations: 39.53 kB / 340.8 MB, free: 6.305 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.096e-05/0.1281, allocations: 43.59 kB / 340.9 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1281, allocations: 3.938 kB / 340.9 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.1281, allocations: 0 / 340.9 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004808/0.1286, allocations: 0.576 MB / 341.5 MB, free: 5.574 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008202/0.1294, allocations: 0.7116 MB / 342.2 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1294, allocations: 0 / 342.2 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.1296, allocations: 43.97 kB / 342.2 MB, free: 4.758 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1297, allocations: 0 / 342.2 MB, free: 4.758 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.1297, allocations: 8 kB / 342.2 MB, free: 4.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1297, allocations: 0 / 342.2 MB, free: 4.75 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1297, allocations: 7.875 kB / 342.2 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005189/0.1302, allocations: 402.8 kB / 342.6 MB, free: 4.332 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.1304, allocations: 136.9 kB / 342.7 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.1304, allocations: 15.98 kB / 342.8 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.1306, allocations: 8 kB / 342.8 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.1307, allocations: 15.97 kB / 342.8 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.1307, allocations: 7.984 kB / 342.8 MB, free: 4.133 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003069/0.131, allocations: 311.2 kB / 343.1 MB, free: 3.832 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.131, allocations: 4.062 kB / 343.1 MB, free: 3.828 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.1314, allocations: 95.83 kB / 343.2 MB, free: 3.734 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.0009026/0.1323, allocations: 422 kB / 343.6 MB, free: 3.324 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005615/0.1329, allocations: 314.5 kB / 343.9 MB, free: 3.004 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1329, allocations: 0 / 343.9 MB, free: 3.004 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.1331, allocations: 83.97 kB / 344 MB, free: 2.922 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.1336, allocations: 114.2 kB / 344.1 MB, free: 2.809 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.1351, allocations: 0.7877 MB / 344.9 MB, free: 1.992 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1354, allocations: 0.8036 MB / 345.7 MB, free: 1.164 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.1356, allocations: 42.95 kB / 345.7 MB, free: 1.121 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.1356, allocations: 39.44 kB / 345.8 MB, free: 1.082 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1357, allocations: 0 / 345.8 MB, free: 1.082 MB / 286.1 MB Notification: Performance of Templates: time 0.0123/0.148, allocations: 6.089 MB / 351.9 MB, free: 10.98 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches