Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001057/0.001057, allocations: 111.2 kB / 18.41 MB, free: 4.691 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.001087/0.001087, allocations: 183.3 kB / 19.33 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 51.94 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07295/0.07414, allocations: 46.61 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003633/0.0778, allocations: 2.85 MB / 378.7 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.07945, allocations: 1.181 MB / 379.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.07958, allocations: 7.938 kB / 379.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004495/0.08004, allocations: 179.1 kB / 380 MB, free: 372 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.08045, allocations: 214.8 kB / 380.2 MB, free: 156 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.08081, allocations: 155.5 kB / 380.4 MB, free: 0 / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1479/0.2287, allocations: 441.6 kB / 380.8 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.229, allocations: 107.5 kB / 380.9 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.2294, allocations: 176.8 kB / 381.1 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.2297, allocations: 213.3 kB / 381.3 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.791e-05/0.2298, allocations: 29.41 kB / 381.3 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.23, allocations: 69.81 kB / 381.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-05/0.2301, allocations: 86.48 kB / 381.5 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.2303, allocations: 198.6 kB / 381.7 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005576/0.2309, allocations: 482 kB / 382.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2309, allocations: 1.188 kB / 382.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2309, allocations: 0 / 382.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.2309, allocations: 0.5312 kB / 382.1 MB, free: 9.707 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.001203/0.2321, allocations: 0.6948 MB / 382.8 MB, free: 9.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2322, allocations: 12.09 kB / 382.9 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.2323, allocations: 48.73 kB / 382.9 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005267/0.2329, allocations: 342 kB / 383.2 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.2329, allocations: 15.8 kB / 383.2 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.2329, allocations: 18.03 kB / 383.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.2334, allocations: 299.4 kB / 383.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.2335, allocations: 0 / 383.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.2335, allocations: 13.27 kB / 383.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2335, allocations: 9.297 kB / 383.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.2338, allocations: 146.4 kB / 383.7 MB, free: 8.793 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.001155/0.2349, allocations: 0.8278 MB / 384.6 MB, free: 8.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.2353, allocations: 193.5 kB / 384.7 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.2355, allocations: 75.3 kB / 384.8 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.2355, allocations: 5.047 kB / 384.8 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.2357, allocations: 138.2 kB / 385 MB, free: 8.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.655e-06/0.2357, allocations: 0 / 385 MB, free: 8.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007485/0.2365, allocations: 410.4 kB / 385.4 MB, free: 8.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.2366, allocations: 314.4 kB / 385.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.237, allocations: 431.2 kB / 386.1 MB, free: 7.648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.237, allocations: 33.03 kB / 386.1 MB, free: 7.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.2371, allocations: 206.5 kB / 386.3 MB, free: 7.508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.2372, allocations: 79.05 kB / 386.4 MB, free: 7.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.2373, allocations: 57.98 kB / 386.4 MB, free: 7.422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.199e-05/0.2373, allocations: 349.1 kB / 386.8 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.2375, allocations: 59.94 kB / 386.8 MB, free: 7.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.2376, allocations: 179.4 kB / 387 MB, free: 6.922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.2379, allocations: 174.3 kB / 387.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2379, allocations: 4.875 kB / 387.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004226/0.2384, allocations: 271.8 kB / 387.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2384, allocations: 5.922 kB / 387.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2384, allocations: 1.281 kB / 387.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001182/0.2385, allocations: 34.08 kB / 387.5 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.2387, allocations: 54.89 kB / 387.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.2398, allocations: 1.573 MB / 389.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.24, allocations: 22.72 kB / 389.2 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.2401, allocations: 14.53 kB / 389.2 MB, free: 5.16 MB / 318.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.0001445/0.2402, allocations: 165.6 kB / 389.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.2403, allocations: 41.75 kB / 389.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.261e-05/0.2404, allocations: 45.45 kB / 389.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003719/0.2407, allocations: 0.5777 MB / 390 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2408, allocations: 3.891 kB / 390 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.2409, allocations: 144.3 kB / 390.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.2409, allocations: 8.641 kB / 390.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.2411, allocations: 11.5 kB / 390.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.2412, allocations: 15.47 kB / 390.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004837/0.2417, allocations: 293.5 kB / 390.5 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005066/0.2422, allocations: 488.5 kB / 390.9 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001312/0.2423, allocations: 82.31 kB / 391 MB, free: 3.734 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002888/0.2426, allocations: 316.6 kB / 391.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of Backend: time 4.1e-07/0.2426, allocations: 0 / 391.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.2443, allocations: 0.7163 MB / 392 MB, free: 3.082 MB / 318.1 MB Notification: Performance of SimCode: time 0.001247/0.2455, allocations: 1.24 MB / 393.3 MB, free: 2.152 MB / 318.1 MB Notification: Performance of Templates: time 0.01055/0.2561, allocations: 6.063 MB / 399.3 MB, free: 1.223 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches