Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001205/0.001205, allocations: 97.22 kB / 16.3 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.001436/0.001436, allocations: 173.8 kB / 17.19 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002407/0.0002407, allocations: 8.438 kB / 300.7 MB, free: 6.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08282/0.08307, allocations: 50.43 MB / 351.1 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002659/0.08577, allocations: 2.296 MB / 353.4 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.08734, allocations: 1.119 MB / 354.5 MB, free: 8.328 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.08748, allocations: 7.938 kB / 354.6 MB, free: 8.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.08787, allocations: 147.5 kB / 354.7 MB, free: 8.176 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.08823, allocations: 203.5 kB / 354.9 MB, free: 7.977 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.08856, allocations: 135.6 kB / 355 MB, free: 7.844 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.08895, allocations: 315.3 kB / 355.3 MB, free: 7.535 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.08912, allocations: 94.53 kB / 355.4 MB, free: 7.434 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.08928, allocations: 151.5 kB / 355.6 MB, free: 7.285 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.08948, allocations: 167.3 kB / 355.7 MB, free: 7.121 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.08952, allocations: 20 kB / 355.8 MB, free: 7.102 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.08963, allocations: 39.98 kB / 355.8 MB, free: 7.062 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.833e-05/0.08972, allocations: 67.75 kB / 355.9 MB, free: 6.996 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.827e-05/0.0898, allocations: 101.5 kB / 356 MB, free: 6.891 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.0901, allocations: 339.1 kB / 356.3 MB, free: 6.559 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.09011, allocations: 0 / 356.3 MB, free: 6.559 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09012, allocations: 0 / 356.3 MB, free: 6.559 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.09013, allocations: 0 / 356.3 MB, free: 6.559 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.0008018/0.09093, allocations: 0.6228 MB / 356.9 MB, free: 5.887 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.09097, allocations: 12.03 kB / 356.9 MB, free: 5.875 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.09105, allocations: 43.53 kB / 357 MB, free: 5.832 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.09142, allocations: 313.6 kB / 357.3 MB, free: 5.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.09145, allocations: 12.44 kB / 357.3 MB, free: 5.473 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.09149, allocations: 20 kB / 357.3 MB, free: 5.453 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.09191, allocations: 301.3 kB / 357.6 MB, free: 5.121 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.09194, allocations: 7.844 kB / 357.6 MB, free: 5.113 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.09197, allocations: 8 kB / 357.6 MB, free: 5.105 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.09198, allocations: 4 kB / 357.6 MB, free: 5.102 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.09225, allocations: 149.7 kB / 357.8 MB, free: 4.953 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.001137/0.0934, allocations: 0.7974 MB / 358.6 MB, free: 4.086 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.09385, allocations: 214 kB / 358.8 MB, free: 3.871 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.09389, allocations: 8.172 kB / 358.8 MB, free: 3.863 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.09415, allocations: 131.5 kB / 358.9 MB, free: 3.723 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.09416, allocations: 0 / 358.9 MB, free: 3.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007391/0.09491, allocations: 405.4 kB / 359.3 MB, free: 3.301 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.09503, allocations: 320.4 kB / 359.6 MB, free: 2.914 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.09541, allocations: 409.7 kB / 360 MB, free: 2.508 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.09544, allocations: 33.7 kB / 360.1 MB, free: 2.469 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.09558, allocations: 204.2 kB / 360.3 MB, free: 2.266 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.09564, allocations: 82.89 kB / 360.3 MB, free: 2.184 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.09566, allocations: 4 kB / 360.3 MB, free: 2.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.09577, allocations: 350.8 kB / 360.7 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.0959, allocations: 59.98 kB / 360.7 MB, free: 1.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.0961, allocations: 171.9 kB / 360.9 MB, free: 1.559 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.09625, allocations: 75.98 kB / 361 MB, free: 1.484 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.09626, allocations: 0 / 361 MB, free: 1.484 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004108/0.09668, allocations: 281.9 kB / 361.3 MB, free: 1.199 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.0967, allocations: 8 kB / 361.3 MB, free: 1.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.09671, allocations: 0 / 361.3 MB, free: 1.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001112/0.09683, allocations: 28.84 kB / 361.3 MB, free: 1.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.09704, allocations: 55.91 kB / 361.3 MB, free: 1.105 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.09828, allocations: 1.464 MB / 362.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.09849, allocations: 23.78 kB / 362.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.09852, allocations: 8 kB / 362.8 MB, free: 15.47 MB / 302.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.000158/0.09868, allocations: 169.8 kB / 363 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.09874, allocations: 43.53 kB / 363.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.364e-05/0.09882, allocations: 43.58 kB / 363.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.09883, allocations: 8.375 kB / 363.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.09883, allocations: 3.938 kB / 363.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000439/0.09928, allocations: 0.575 MB / 363.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008059/0.1001, allocations: 0.6952 MB / 364.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1001, allocations: 0 / 364.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.1003, allocations: 47.97 kB / 364.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1003, allocations: 0 / 364.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.1004, allocations: 8 kB / 364.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1004, allocations: 0 / 364.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1004, allocations: 3.938 kB / 364.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.1009, allocations: 402.7 kB / 364.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.101, allocations: 128.7 kB / 365 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.1011, allocations: 12.06 kB / 365 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.1013, allocations: 19.89 kB / 365 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.1013, allocations: 11.98 kB / 365 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.1014, allocations: 11.98 kB / 365 MB, free: 13.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002598/0.1016, allocations: 291.2 kB / 365.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1016, allocations: 0 / 365.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003546/0.102, allocations: 87.98 kB / 365.4 MB, free: 12.72 MB / 302.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.0008212/0.1028, allocations: 429.5 kB / 365.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000505/0.1033, allocations: 311.4 kB / 366.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.1033, allocations: 4 kB / 366.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.1035, allocations: 87.16 kB / 366.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.1039, allocations: 89.53 kB / 366.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.1052, allocations: 0.9292 MB / 367.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.1055, allocations: 0.8034 MB / 368 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.1056, allocations: 38.95 kB / 368 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.1057, allocations: 31.42 kB / 368.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1057, allocations: 4 kB / 368.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of Templates: time 0.008517/0.1142, allocations: 5.241 MB / 373.3 MB, free: 4.957 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches