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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009208/0.0009208, allocations: 106.3 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007794/0.0007795, allocations: 43.94 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1858, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003713/0.1895, allocations: 2.887 MB / 376.7 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1911, allocations: 1.177 MB / 377.9 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.1913, allocations: 7.156 kB / 377.9 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.1917, allocations: 165.6 kB / 378 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.192, allocations: 181.7 kB / 378.2 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1923, allocations: 126.6 kB / 378.3 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.1928, allocations: 437.3 kB / 378.8 MB, free: 42.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.1929, allocations: 94.81 kB / 378.9 MB, free: 42.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.1931, allocations: 169.9 kB / 379 MB, free: 41.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.1934, allocations: 200.1 kB / 379.2 MB, free: 41.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.1934, allocations: 21.62 kB / 379.3 MB, free: 41.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.1935, allocations: 62.75 kB / 379.3 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.835e-05/0.1936, allocations: 74.44 kB / 379.4 MB, free: 41.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.1938, allocations: 195.4 kB / 379.6 MB, free: 41.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.1942, allocations: 468.2 kB / 380 MB, free: 41.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1942, allocations: 0.9375 kB / 380 MB, free: 41.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1942, allocations: 0 / 380 MB, free: 41.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1942, allocations: 0 / 380 MB, free: 41.28 MB / 298.7 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.0008517/0.1951, allocations: 0.6914 MB / 380.7 MB, free: 40.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.1951, allocations: 9.969 kB / 380.7 MB, free: 40.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.568e-05/0.1952, allocations: 51.25 kB / 380.8 MB, free: 40.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.1955, allocations: 347.8 kB / 381.1 MB, free: 40.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1955, allocations: 12.88 kB / 381.1 MB, free: 40.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.1956, allocations: 28.89 kB / 381.2 MB, free: 40.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.1959, allocations: 290.6 kB / 381.4 MB, free: 40.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.196, allocations: 3.938 kB / 381.5 MB, free: 40.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.196, allocations: 7.188 kB / 381.5 MB, free: 40.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.196, allocations: 5.562 kB / 381.5 MB, free: 40.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.1963, allocations: 151.3 kB / 381.6 MB, free: 39.97 MB / 298.7 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.001016/0.1973, allocations: 0.814 MB / 382.4 MB, free: 39.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.1976, allocations: 194.7 kB / 382.6 MB, free: 39.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1978, allocations: 74.97 kB / 382.7 MB, free: 39.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.1978, allocations: 11.66 kB / 382.7 MB, free: 39.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.198, allocations: 135 kB / 382.8 MB, free: 39.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.334e-06/0.198, allocations: 7.984 kB / 382.8 MB, free: 39.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006679/0.1987, allocations: 402.1 kB / 383.2 MB, free: 38.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.1988, allocations: 320.5 kB / 383.5 MB, free: 38.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.1991, allocations: 442 kB / 384 MB, free: 38.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1992, allocations: 31.83 kB / 384 MB, free: 38.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.346e-05/0.1993, allocations: 201.8 kB / 384.2 MB, free: 37.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.1993, allocations: 76.78 kB / 384.3 MB, free: 37.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.1994, allocations: 56.36 kB / 384.3 MB, free: 37.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.267e-05/0.1994, allocations: 349 kB / 384.7 MB, free: 37.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.1996, allocations: 68.53 kB / 384.7 MB, free: 37.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.1997, allocations: 171.9 kB / 384.9 MB, free: 37.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.2, allocations: 174.5 kB / 385.1 MB, free: 37.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2, allocations: 3.938 kB / 385.1 MB, free: 37.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003761/0.2004, allocations: 279.6 kB / 385.4 MB, free: 36.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2004, allocations: 5.156 kB / 385.4 MB, free: 36.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2004, allocations: 1.344 kB / 385.4 MB, free: 36.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/0.2005, allocations: 32.59 kB / 385.4 MB, free: 36.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.2007, allocations: 52.84 kB / 385.4 MB, free: 36.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009266/0.2016, allocations: 1.455 MB / 386.9 MB, free: 35.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.2018, allocations: 32.88 kB / 386.9 MB, free: 35.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.2019, allocations: 6.375 kB / 386.9 MB, free: 35.48 MB / 298.7 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.000128/0.202, allocations: 170.8 kB / 387.1 MB, free: 35.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.202, allocations: 39.81 kB / 387.1 MB, free: 35.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.411e-05/0.2021, allocations: 44.45 kB / 387.2 MB, free: 35.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2021, allocations: 2.156 kB / 387.2 MB, free: 35.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.2021, allocations: 1.094 kB / 387.2 MB, free: 35.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003277/0.2025, allocations: 0.5819 MB / 387.8 MB, free: 34.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000668/0.2031, allocations: 0.7046 MB / 388.5 MB, free: 34.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2032, allocations: 5.062 kB / 388.5 MB, free: 34.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.2033, allocations: 52.42 kB / 388.5 MB, free: 34.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2033, allocations: 0 / 388.5 MB, free: 34.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.2034, allocations: 8.094 kB / 388.5 MB, free: 34.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2034, allocations: 3.938 kB / 388.5 MB, free: 34.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2034, allocations: 0 / 388.5 MB, free: 34.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.205, allocations: 1.924 MB / 390.5 MB, free: 31.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/0.2052, allocations: 136.7 kB / 390.6 MB, free: 31.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.2052, allocations: 11.94 kB / 390.6 MB, free: 31.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.2054, allocations: 19.95 kB / 390.6 MB, free: 31.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.2055, allocations: 16.02 kB / 390.7 MB, free: 31.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.2055, allocations: 8 kB / 390.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002133/0.2057, allocations: 315.1 kB / 391 MB, free: 31.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2057, allocations: 0 / 391 MB, free: 31.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004284/0.2061, allocations: 115.9 kB / 391.1 MB, free: 31.32 MB / 298.7 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.0007134/0.2069, allocations: 411.8 kB / 391.5 MB, free: 30.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004294/0.2073, allocations: 318.3 kB / 391.8 MB, free: 30.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2073, allocations: 0 / 391.8 MB, free: 30.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.2074, allocations: 76.33 kB / 391.9 MB, free: 30.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.2079, allocations: 107.9 kB / 392 MB, free: 30.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.2091, allocations: 1.07 MB / 393 MB, free: 29.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.2093, allocations: 0.8041 MB / 393.9 MB, free: 28.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000149/0.2094, allocations: 42.95 kB / 393.9 MB, free: 28.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.2095, allocations: 35.42 kB / 393.9 MB, free: 28.43 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2095, allocations: 0 / 393.9 MB, free: 28.43 MB / 298.7 MB Notification: Performance of Templates: time 0.007834/0.2173, allocations: 6.113 MB / 400 MB, free: 22.3 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches