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.001148/0.001148, allocations: 115.7 kB / 17.74 MB, free: 5.297 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.001191/0.001191, allocations: 189.6 kB / 18.67 MB, free: 4.375 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.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 51.92 kB / 352 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2772, allocations: 49.43 MB / 401.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00405/0.2813, allocations: 2.855 MB / 404.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.2834, allocations: 1.266 MB / 405.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.2836, allocations: 4 kB / 405.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005243/0.2841, allocations: 175.1 kB / 405.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004564/0.2847, allocations: 202.8 kB / 405.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.2851, allocations: 175.4 kB / 406.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.2856, allocations: 453.9 kB / 406.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.2858, allocations: 99.42 kB / 406.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.286, allocations: 179.4 kB / 406.8 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.2863, allocations: 223.1 kB / 407 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.2864, allocations: 28 kB / 407 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.2865, allocations: 67.98 kB / 407.1 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.2866, allocations: 83.69 kB / 407.2 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.2868, allocations: 195 kB / 407.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005018/0.2873, allocations: 487.6 kB / 407.8 MB, free: 2.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2873, allocations: 0 / 407.8 MB, free: 2.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.2874, allocations: 0 / 407.8 MB, free: 2.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.2874, allocations: 3.938 kB / 407.8 MB, free: 2.586 MB / 318.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.0009439/0.2883, allocations: 0.6892 MB / 408.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2884, allocations: 16.02 kB / 408.5 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.2885, allocations: 48.38 kB / 408.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.2889, allocations: 338.6 kB / 408.9 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.289, allocations: 24.8 kB / 408.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.289, allocations: 24.12 kB / 409 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.2895, allocations: 293.5 kB / 409.2 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.2895, allocations: 0 / 409.2 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.2895, allocations: 12 kB / 409.3 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2895, allocations: 4 kB / 409.3 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.2898, allocations: 149.6 kB / 409.4 MB, free: 0.8789 MB / 318.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.001227/0.291, allocations: 0.8204 MB / 410.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.2914, allocations: 195.1 kB / 410.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.2916, allocations: 74.16 kB / 410.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.2916, allocations: 7.984 kB / 410.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/0.2919, allocations: 138.9 kB / 410.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 2.184e-06/0.2919, allocations: 0 / 410.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008496/0.2927, allocations: 402.9 kB / 411 MB, free: 15.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.2929, allocations: 316.4 kB / 411.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004311/0.2933, allocations: 429.7 kB / 411.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.2934, allocations: 33.7 kB / 411.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.2936, allocations: 208.2 kB / 412 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.834e-05/0.2937, allocations: 78.81 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.2938, allocations: 53.7 kB / 412.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2939, allocations: 350.8 kB / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.294, allocations: 63.97 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.2943, allocations: 183.9 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.2945, allocations: 167.3 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2945, allocations: 7.938 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004753/0.295, allocations: 269.9 kB / 413.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2951, allocations: 8 kB / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.2951, allocations: 0 / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001272/0.2952, allocations: 32.84 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.2954, allocations: 51.91 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.2969, allocations: 1.578 MB / 414.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.2971, allocations: 31.78 kB / 414.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.2972, allocations: 8 kB / 414.9 MB, free: 10.99 MB / 334.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.0001945/0.2974, allocations: 166.6 kB / 415 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.2974, allocations: 39.62 kB / 415.1 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.484e-05/0.2975, allocations: 39.59 kB / 415.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2975, allocations: 3.938 kB / 415.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.2975, allocations: 4 kB / 415.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004934/0.298, allocations: 0.5788 MB / 415.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008731/0.2989, allocations: 0.7066 MB / 416.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2989, allocations: 0 / 416.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.2991, allocations: 43.92 kB / 416.4 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.2991, allocations: 7.938 kB / 416.4 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.2992, allocations: 7.984 kB / 416.4 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.2992, allocations: 3.984 kB / 416.4 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2992, allocations: 0 / 416.4 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000536/0.2997, allocations: 398.9 kB / 416.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.2999, allocations: 144.5 kB / 417 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.2999, allocations: 8 kB / 417 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.3001, allocations: 8 kB / 417 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.3002, allocations: 19.97 kB / 417 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.3002, allocations: 4 kB / 417 MB, free: 8.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003081/0.3005, allocations: 319.1 kB / 417.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3005, allocations: 0 / 417.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003718/0.3009, allocations: 96.06 kB / 417.4 MB, free: 8.211 MB / 334.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.0009387/0.3019, allocations: 421.4 kB / 417.8 MB, free: 7.953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006286/0.3025, allocations: 320.7 kB / 418.1 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3025, allocations: 11.88 kB / 418.2 MB, free: 7.617 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.3027, allocations: 80.11 kB / 418.2 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.3033, allocations: 97.44 kB / 418.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.3047, allocations: 0.8154 MB / 419.1 MB, free: 6.598 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.305, allocations: 0.796 MB / 419.9 MB, free: 5.773 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.3051, allocations: 31.44 kB / 420 MB, free: 5.742 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3051, allocations: 4 kB / 420 MB, free: 5.738 MB / 334.1 MB Notification: Performance of Templates: time 0.008567/0.3137, allocations: 5.853 MB / 425.8 MB, free: 15.93 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches