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.001042/0.001042, allocations: 109.9 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.6 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001162, allocations: 59.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2108, allocations: 50.54 MB / 409.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003845/0.2147, allocations: 2.877 MB / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.2169, allocations: 1.398 MB / 414.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.2171, allocations: 7.938 kB / 414.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004941/0.2177, allocations: 175.1 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005814/0.2183, allocations: 254.6 kB / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.2186, allocations: 135.6 kB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005509/0.2192, allocations: 465.9 kB / 415.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.2194, allocations: 103.8 kB / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.2196, allocations: 183.3 kB / 415.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.2199, allocations: 215.1 kB / 415.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.22, allocations: 32 kB / 415.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.2201, allocations: 67.98 kB / 415.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.2203, allocations: 91.67 kB / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002432/0.2205, allocations: 198.9 kB / 416.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005453/0.2211, allocations: 489.8 kB / 416.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2211, allocations: 0 / 416.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2211, allocations: 0 / 416.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.2211, allocations: 0 / 416.6 MB, free: 10.88 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.0009999/0.2221, allocations: 0.7198 MB / 417.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2222, allocations: 8.031 kB / 417.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.621e-05/0.2223, allocations: 48.66 kB / 417.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.2227, allocations: 350.9 kB / 417.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.2228, allocations: 16.81 kB / 417.7 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.2228, allocations: 24.12 kB / 417.7 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.2232, allocations: 289.5 kB / 418 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.2233, allocations: 4 kB / 418 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.2233, allocations: 15.98 kB / 418 MB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2233, allocations: 4 kB / 418 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.2236, allocations: 145.6 kB / 418.2 MB, free: 9.145 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.001272/0.2249, allocations: 0.8207 MB / 419 MB, free: 8.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.2253, allocations: 198.6 kB / 419.2 MB, free: 8.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.2255, allocations: 80.83 kB / 419.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.2255, allocations: 7.984 kB / 419.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.2258, allocations: 147.2 kB / 419.4 MB, free: 7.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.923e-06/0.2258, allocations: 0 / 419.4 MB, free: 7.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008118/0.2266, allocations: 402.4 kB / 419.8 MB, free: 7.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.2267, allocations: 316.4 kB / 420.1 MB, free: 7.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/0.2272, allocations: 441.6 kB / 420.5 MB, free: 6.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.2272, allocations: 29.7 kB / 420.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.2274, allocations: 212.4 kB / 420.8 MB, free: 6.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.41e-05/0.2274, allocations: 83.27 kB / 420.9 MB, free: 6.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.769e-05/0.2275, allocations: 57.7 kB / 420.9 MB, free: 6.168 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2276, allocations: 350.8 kB / 421.3 MB, free: 5.816 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.2278, allocations: 55.98 kB / 421.3 MB, free: 5.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.228, allocations: 179.9 kB / 421.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.2283, allocations: 179.3 kB / 421.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.2283, allocations: 4 kB / 421.7 MB, free: 5.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004606/0.2288, allocations: 266.1 kB / 421.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2288, allocations: 10.97 kB / 421.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.2288, allocations: 3.984 kB / 421.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/0.229, allocations: 32.84 kB / 422 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.2292, allocations: 51.92 kB / 422 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.2306, allocations: 1.57 MB / 423.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.2308, allocations: 27.84 kB / 423.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.2308, allocations: 12 kB / 423.6 MB, free: 3.23 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.0001663/0.231, allocations: 168.8 kB / 423.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.2311, allocations: 43.77 kB / 423.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.155e-05/0.2312, allocations: 47.83 kB / 423.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004797/0.2316, allocations: 0.5787 MB / 424.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2317, allocations: 7.984 kB / 424.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.2318, allocations: 140.8 kB / 424.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.2319, allocations: 12 kB / 424.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.232, allocations: 4 kB / 424.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.2321, allocations: 19.97 kB / 424.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005506/0.2327, allocations: 297.9 kB / 424.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005775/0.2332, allocations: 491.3 kB / 425.4 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001401/0.2334, allocations: 84.11 kB / 425.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003151/0.2337, allocations: 319.1 kB / 425.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of Backend: time 6.31e-07/0.2337, allocations: 96 / 425.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.2355, allocations: 0.7211 MB / 426.5 MB, free: 340 kB / 334.1 MB Notification: Performance of SimCode: time 0.00144/0.2369, allocations: 1.256 MB / 427.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of Templates: time 0.01089/0.2478, allocations: 6.092 MB / 433.9 MB, free: 9.016 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/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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches