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.001498/0.001498, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001836/0.001836, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 64.08 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.2001, allocations: 50.56 MB / 409.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003832/0.2039, allocations: 2.862 MB / 412.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.2061, allocations: 1.395 MB / 414.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.2063, allocations: 8 kB / 414.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.2068, allocations: 179.1 kB / 414.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005049/0.2073, allocations: 246.6 kB / 414.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.2076, allocations: 143.5 kB / 414.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.2081, allocations: 457.5 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.2083, allocations: 111.8 kB / 415.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.2085, allocations: 175.3 kB / 415.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.2088, allocations: 219.1 kB / 415.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.2089, allocations: 28 kB / 415.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.209, allocations: 75.98 kB / 415.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.526e-05/0.2091, allocations: 83.67 kB / 415.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.2093, allocations: 198.9 kB / 416.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004696/0.2098, allocations: 495.4 kB / 416.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2098, allocations: 4 kB / 416.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2098, allocations: 0 / 416.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.2098, allocations: 0 / 416.6 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.000989/0.2108, allocations: 0.693 MB / 417.2 MB, free: 10.15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2109, allocations: 8.031 kB / 417.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.133e-05/0.2109, allocations: 48.38 kB / 417.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.2114, allocations: 350.6 kB / 417.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.2114, allocations: 16.8 kB / 417.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.2115, allocations: 24.12 kB / 417.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/0.2119, allocations: 293.5 kB / 418 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2119, allocations: 0 / 418 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.212, allocations: 12 kB / 418 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.212, allocations: 4 kB / 418 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.2123, allocations: 153.6 kB / 418.1 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.001234/0.2135, allocations: 0.8244 MB / 419 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.2139, allocations: 191.1 kB / 419.1 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.2141, allocations: 79.84 kB / 419.2 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.2141, allocations: 11.97 kB / 419.2 MB, free: 8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.2144, allocations: 135.2 kB / 419.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.803e-06/0.2144, allocations: 0 / 419.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007894/0.2152, allocations: 403 kB / 419.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.2153, allocations: 312.4 kB / 420.1 MB, free: 7.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004437/0.2158, allocations: 441.7 kB / 420.5 MB, free: 6.609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.2158, allocations: 29.7 kB / 420.5 MB, free: 6.574 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.216, allocations: 212.1 kB / 420.7 MB, free: 6.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/0.216, allocations: 74.86 kB / 420.8 MB, free: 6.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-05/0.2161, allocations: 61.69 kB / 420.9 MB, free: 6.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2162, allocations: 354.8 kB / 421.2 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.2164, allocations: 59.92 kB / 421.3 MB, free: 5.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.2166, allocations: 180 kB / 421.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.2169, allocations: 167.3 kB / 421.6 MB, free: 5.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2169, allocations: 0 / 421.6 MB, free: 5.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004631/0.2174, allocations: 277.9 kB / 421.9 MB, free: 5.129 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2174, allocations: 8 kB / 421.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.2174, allocations: 4 kB / 421.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001184/0.2176, allocations: 36.78 kB / 421.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.2178, allocations: 47.97 kB / 422 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.2192, allocations: 1.578 MB / 423.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.2194, allocations: 23.75 kB / 423.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.2195, allocations: 7.938 kB / 423.6 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.0001783/0.2196, allocations: 177.8 kB / 423.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.2197, allocations: 43.52 kB / 423.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-05/0.2198, allocations: 39.61 kB / 423.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005074/0.2203, allocations: 0.5897 MB / 424.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2203, allocations: 0 / 424.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.2205, allocations: 136.5 kB / 424.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.2205, allocations: 8 kB / 424.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.2207, allocations: 12 kB / 424.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.2207, allocations: 15.97 kB / 424.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005414/0.2213, allocations: 296.7 kB / 424.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000598/0.2219, allocations: 495 kB / 425.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001482/0.2221, allocations: 76.06 kB / 425.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003043/0.2224, allocations: 319.1 kB / 425.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of Backend: time 3.71e-07/0.2224, allocations: 96 / 425.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.2241, allocations: 0.7258 MB / 426.5 MB, free: 388 kB / 334.1 MB Notification: Performance of SimCode: time 0.001388/0.2255, allocations: 1.244 MB / 427.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of Templates: time 0.01062/0.2361, allocations: 6.094 MB / 433.8 MB, free: 9.074 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