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.001031/0.001031, allocations: 171.9 kB / 14.1 MB, free: 1.223 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.52/1.52, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0008704/0.0008703, allocations: 78.72 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.162e-05, allocations: 3.984 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08178/0.08181, allocations: 47.58 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3019/0.3837, allocations: 83.12 MB / 453.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.384, allocations: 74.53 kB / 453.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02164/0.4057, allocations: 8.284 MB / 461.5 MB, free: 3.215 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4057, allocations: 0 / 461.5 MB, free: 3.215 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.644e-05/0.4058, allocations: 16 kB / 461.5 MB, free: 3.199 MB / 330.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.000731/0.4065, allocations: 0.5854 MB / 462.1 MB, free: 2.594 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4065, allocations: 8.031 kB / 462.1 MB, free: 2.586 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.622e-05/0.4066, allocations: 43.53 kB / 462.2 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.4071, allocations: 334.6 kB / 462.5 MB, free: 2.203 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.4071, allocations: 19.62 kB / 462.5 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.4072, allocations: 15.62 kB / 462.5 MB, free: 2.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.4076, allocations: 291 kB / 462.8 MB, free: 1.922 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4076, allocations: 0 / 462.8 MB, free: 1.922 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.4077, allocations: 11.31 kB / 462.8 MB, free: 1.918 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4077, allocations: 4 kB / 462.8 MB, free: 1.914 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.408, allocations: 149.6 kB / 463 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.4092, allocations: 0.8017 MB / 463.8 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.4097, allocations: 203.3 kB / 464 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.4098, allocations: 84.84 kB / 464 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.4098, allocations: 0 / 464 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.4101, allocations: 135.6 kB / 464.2 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.4101, allocations: 0 / 464.2 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005558/0.4107, allocations: 261.8 kB / 464.4 MB, free: 232 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.4108, allocations: 320.4 kB / 464.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004289/0.4112, allocations: 382.9 kB / 465.1 MB, free: 15.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.4113, allocations: 33.7 kB / 465.1 MB, free: 15.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.4114, allocations: 204.2 kB / 465.3 MB, free: 15.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.4115, allocations: 78.84 kB / 465.4 MB, free: 15.13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.4115, allocations: 8 kB / 465.4 MB, free: 15.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4117, allocations: 346.8 kB / 465.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.4118, allocations: 63.98 kB / 465.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.412, allocations: 176.2 kB / 466 MB, free: 14.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.4122, allocations: 88.42 kB / 466.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4122, allocations: 0 / 466.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005184/0.4127, allocations: 296.4 kB / 466.4 MB, free: 14.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4128, allocations: 4 kB / 466.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4128, allocations: 0 / 466.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/0.413, allocations: 44.88 kB / 466.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.4132, allocations: 51.97 kB / 466.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.4146, allocations: 1.456 MB / 467.9 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.4147, allocations: 23.78 kB / 468 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.4148, allocations: 12.03 kB / 468 MB, free: 12.39 MB / 346.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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.4149, allocations: 129.7 kB / 468.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.415, allocations: 39.53 kB / 468.1 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005214/0.4155, allocations: 279.5 kB / 468.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.4155, allocations: 8.094 kB / 468.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.4155, allocations: 7.891 kB / 468.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005193/0.416, allocations: 0.5907 MB / 469 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009397/0.417, allocations: 0.7392 MB / 469.8 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.417, allocations: 0 / 469.8 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.4172, allocations: 55.91 kB / 469.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4173, allocations: 3.953 kB / 469.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.4173, allocations: 4 kB / 469.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.4173, allocations: 4 kB / 469.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4173, allocations: 3.984 kB / 469.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000575/0.4179, allocations: 418.8 kB / 470.2 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.4181, allocations: 148.6 kB / 470.4 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.4181, allocations: 15.94 kB / 470.4 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.4183, allocations: 4 kB / 470.4 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.4184, allocations: 20.05 kB / 470.4 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.4184, allocations: 11.98 kB / 470.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003517/0.4188, allocations: 301.2 kB / 470.7 MB, free: 9.418 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4188, allocations: 4 kB / 470.7 MB, free: 9.414 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00041/0.4192, allocations: 111.8 kB / 470.8 MB, free: 9.305 MB / 346.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001048/0.4202, allocations: 398.5 kB / 471.2 MB, free: 8.918 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005888/0.4208, allocations: 307.1 kB / 471.5 MB, free: 8.605 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4209, allocations: 0 / 471.5 MB, free: 8.605 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.421, allocations: 99.73 kB / 471.6 MB, free: 8.508 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.4215, allocations: 101.5 kB / 471.7 MB, free: 8.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009901/0.4225, allocations: 0.5579 MB / 472.3 MB, free: 7.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.4229, allocations: 0.8079 MB / 473.1 MB, free: 6.988 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.4231, allocations: 46.89 kB / 473.1 MB, free: 6.945 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.4232, allocations: 27.44 kB / 473.2 MB, free: 6.922 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4232, allocations: 7.938 kB / 473.2 MB, free: 6.914 MB / 346.7 MB Notification: Performance of Templates: time 0.01036/0.4336, allocations: 5.764 MB / 478.9 MB, free: 1.141 MB / 346.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/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