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.001058/0.001058, allocations: 107.9 kB / 17.74 MB, free: 5.336 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.001075/0.001075, allocations: 198.5 kB / 18.68 MB, free: 4.41 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.293/1.293, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009452/0.0009452, allocations: 55.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2064, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003737/0.2101, allocations: 2.86 MB / 404.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.2119, allocations: 1.258 MB / 405.5 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.212, allocations: 7.938 kB / 405.5 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004336/0.2124, allocations: 179.1 kB / 405.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003957/0.2129, allocations: 206.8 kB / 405.9 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.2132, allocations: 173.5 kB / 406.1 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.2137, allocations: 461.9 kB / 406.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.2139, allocations: 103.5 kB / 406.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.2141, allocations: 179.3 kB / 406.8 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.2143, allocations: 207.2 kB / 407 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.2144, allocations: 28 kB / 407 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.2146, allocations: 75.97 kB / 407.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.28e-05/0.2147, allocations: 79.69 kB / 407.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.2148, allocations: 198.9 kB / 407.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.2153, allocations: 487.5 kB / 407.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2153, allocations: 0 / 407.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2153, allocations: 3.938 kB / 407.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2153, allocations: 4 kB / 407.9 MB, free: 2.379 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.0009611/0.2163, allocations: 0.693 MB / 408.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.2163, allocations: 8.031 kB / 408.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.671e-05/0.2164, allocations: 48.38 kB / 408.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.2169, allocations: 342.7 kB / 408.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.2169, allocations: 16.81 kB / 409 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.217, allocations: 24.06 kB / 409 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.2174, allocations: 289.5 kB / 409.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2174, allocations: 3.984 kB / 409.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.2175, allocations: 12 kB / 409.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2175, allocations: 4 kB / 409.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.2178, allocations: 141.7 kB / 409.4 MB, free: 0.6875 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.001228/0.219, allocations: 0.832 MB / 410.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.2194, allocations: 193.3 kB / 410.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.2196, allocations: 78.52 kB / 410.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.2196, allocations: 4 kB / 410.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.2198, allocations: 139.2 kB / 410.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.853e-06/0.2199, allocations: 0 / 410.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007926/0.2207, allocations: 400.6 kB / 411 MB, free: 14.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.2208, allocations: 312.4 kB / 411.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.2212, allocations: 433.7 kB / 411.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.2213, allocations: 37.7 kB / 411.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.2214, allocations: 200.2 kB / 412 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.2215, allocations: 82.89 kB / 412.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-05/0.2216, allocations: 57.64 kB / 412.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2217, allocations: 350.8 kB / 412.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.2219, allocations: 63.97 kB / 412.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.2221, allocations: 180 kB / 412.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.2224, allocations: 171.3 kB / 412.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2224, allocations: 0 / 412.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004544/0.2229, allocations: 273.8 kB / 413.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2229, allocations: 8 kB / 413.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2229, allocations: 3.938 kB / 413.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.223, allocations: 32.83 kB / 413.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.2232, allocations: 51.98 kB / 413.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.2247, allocations: 1.582 MB / 414.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.2249, allocations: 23.75 kB / 414.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.2249, allocations: 8 kB / 414.9 MB, free: 10.79 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.0001762/0.2251, allocations: 170.6 kB / 415 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.2252, allocations: 35.62 kB / 415.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.593e-05/0.2253, allocations: 47.56 kB / 415.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004973/0.2258, allocations: 0.5826 MB / 415.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2258, allocations: 0 / 415.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.2259, allocations: 140.5 kB / 415.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.226, allocations: 8 kB / 415.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.2262, allocations: 11.98 kB / 415.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.2262, allocations: 12.08 kB / 415.9 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005392/0.2268, allocations: 315.3 kB / 416.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005811/0.2274, allocations: 485.9 kB / 416.6 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001496/0.2275, allocations: 82.42 kB / 416.7 MB, free: 8.777 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003045/0.2278, allocations: 311.1 kB / 417 MB, free: 8.477 MB / 334.1 MB Notification: Performance of Backend: time 2.1e-07/0.2279, allocations: 0 / 417 MB, free: 8.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.2295, allocations: 0.7016 MB / 417.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of SimCode: time 0.0014/0.231, allocations: 1.253 MB / 419 MB, free: 6.645 MB / 334.1 MB Notification: Performance of Templates: time 0.01044/0.2414, allocations: 6.075 MB / 425.1 MB, free: 0.6758 MB / 334.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