Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 117.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 199.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.282, allocations: 50.54 MB / 409.2 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004104/0.2861, allocations: 2.865 MB / 412.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.2885, allocations: 1.406 MB / 413.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.2887, allocations: 7.938 kB / 413.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000475/0.2892, allocations: 183.1 kB / 413.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005226/0.2897, allocations: 246.6 kB / 413.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.29, allocations: 143.6 kB / 414.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004547/0.2905, allocations: 465.5 kB / 414.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.2907, allocations: 103.8 kB / 414.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.2909, allocations: 183.3 kB / 414.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.2911, allocations: 207.2 kB / 415 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.594e-05/0.2912, allocations: 28 kB / 415 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.2913, allocations: 83.91 kB / 415.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.27e-05/0.2914, allocations: 79.7 kB / 415.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.2916, allocations: 202.9 kB / 415.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005079/0.2922, allocations: 495.4 kB / 415.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.2922, allocations: 3.984 kB / 415.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2922, allocations: 0 / 415.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2922, allocations: 0 / 415.9 MB, free: 10.89 MB / 334.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.0009592/0.2932, allocations: 0.6969 MB / 416.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.2932, allocations: 8.031 kB / 416.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.331e-05/0.2933, allocations: 48.38 kB / 416.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.2938, allocations: 342.6 kB / 417 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.2938, allocations: 20.81 kB / 417 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.2938, allocations: 20.12 kB / 417 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.2943, allocations: 301.4 kB / 417.3 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2943, allocations: 0 / 417.3 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.2943, allocations: 8 kB / 417.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2943, allocations: 8 kB / 417.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.2946, allocations: 149.7 kB / 417.5 MB, free: 9.18 MB / 334.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.001253/0.2959, allocations: 0.8166 MB / 418.3 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.2962, allocations: 198.7 kB / 418.5 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.2964, allocations: 76.83 kB / 418.5 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.2964, allocations: 7.984 kB / 418.5 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.2967, allocations: 135.3 kB / 418.7 MB, free: 7.863 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.793e-06/0.2967, allocations: 0 / 418.7 MB, free: 7.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008369/0.2975, allocations: 405.9 kB / 419.1 MB, free: 7.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.2977, allocations: 324.4 kB / 419.4 MB, free: 7.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/0.2982, allocations: 437.7 kB / 419.8 MB, free: 6.609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.2982, allocations: 33.7 kB / 419.9 MB, free: 6.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.2983, allocations: 204.2 kB / 420.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.886e-05/0.2984, allocations: 86.83 kB / 420.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.156e-05/0.2985, allocations: 57.7 kB / 420.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2987, allocations: 350.8 kB / 420.5 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.2988, allocations: 63.97 kB / 420.6 MB, free: 5.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.299, allocations: 179.9 kB / 420.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.2993, allocations: 163.4 kB / 420.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.2993, allocations: 3.938 kB / 420.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004486/0.2998, allocations: 277.9 kB / 421.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2998, allocations: 8 kB / 421.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2998, allocations: 0 / 421.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001186/0.2999, allocations: 28.84 kB / 421.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.3002, allocations: 59.91 kB / 421.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.3015, allocations: 1.563 MB / 422.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.3017, allocations: 31.67 kB / 422.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.3018, allocations: 12 kB / 422.9 MB, free: 3.277 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.0001708/0.3019, allocations: 175.9 kB / 423.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.302, allocations: 39.53 kB / 423.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.422e-05/0.3021, allocations: 43.59 kB / 423.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3021, allocations: 7.938 kB / 423.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3021, allocations: 4 kB / 423.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004703/0.3026, allocations: 0.5752 MB / 423.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008626/0.3035, allocations: 0.7069 MB / 424.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3035, allocations: 0 / 424.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.3037, allocations: 51.91 kB / 424.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3037, allocations: 0 / 424.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.3037, allocations: 8 kB / 424.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3037, allocations: 0 / 424.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3037, allocations: 0 / 424.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000536/0.3043, allocations: 406.5 kB / 424.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.3044, allocations: 140.6 kB / 425 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.3045, allocations: 8 kB / 425.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.3047, allocations: 12.05 kB / 425.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.3047, allocations: 19.84 kB / 425.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.3048, allocations: 4 kB / 425.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003013/0.3051, allocations: 323.1 kB / 425.4 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.3051, allocations: 0 / 425.4 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003723/0.3054, allocations: 95.78 kB / 425.5 MB, free: 496 kB / 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.0009635/0.3064, allocations: 417.9 kB / 425.9 MB, free: 208 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005623/0.307, allocations: 312.1 kB / 426.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.307, allocations: 0 / 426.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.3072, allocations: 91.84 kB / 426.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.3077, allocations: 112.6 kB / 426.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.3091, allocations: 0.7899 MB / 427.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.3094, allocations: 0.796 MB / 428 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.3096, allocations: 46.95 kB / 428 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.286e-05/0.3096, allocations: 31.44 kB / 428.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3096, allocations: 0 / 428.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of Templates: time 0.01119/0.3208, allocations: 6.16 MB / 434.2 MB, free: 7.895 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches