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.001583/0.001583, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.599/1.599, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.0008262/0.0008265, allocations: 102.9 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000261/0.0002609, allocations: 8 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2364, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.3413, allocations: 83.22 MB / 459 MB, free: 13.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.3416, allocations: 83.89 kB / 459.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02341/0.365, allocations: 8.305 MB / 467.4 MB, free: 5.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3651, allocations: 0 / 467.4 MB, free: 5.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.674e-05/0.3651, allocations: 12 kB / 467.4 MB, free: 5.023 MB / 346.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.001018/0.3661, allocations: 0.6578 MB / 468.1 MB, free: 4.316 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3662, allocations: 8.031 kB / 468.1 MB, free: 4.309 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.525e-05/0.3663, allocations: 43.53 kB / 468.1 MB, free: 4.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005234/0.3668, allocations: 342.2 kB / 468.5 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.3669, allocations: 16.44 kB / 468.5 MB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.3669, allocations: 16 kB / 468.5 MB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.3674, allocations: 285.7 kB / 468.8 MB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3674, allocations: 0 / 468.8 MB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.3674, allocations: 12 kB / 468.8 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3675, allocations: 4 kB / 468.8 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.3678, allocations: 165.6 kB / 469 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.3692, allocations: 0.7901 MB / 469.7 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.3697, allocations: 215.3 kB / 470 MB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.3697, allocations: 4 kB / 470 MB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002791/0.37, allocations: 142.1 kB / 470.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.854e-06/0.37, allocations: 0 / 470.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008715/0.3709, allocations: 419.4 kB / 470.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.371, allocations: 312.4 kB / 470.8 MB, free: 1.324 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/0.3715, allocations: 388.7 kB / 471.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.3715, allocations: 37.7 kB / 471.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.3717, allocations: 208.2 kB / 471.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.3718, allocations: 78.84 kB / 471.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/0.3718, allocations: 8 kB / 471.5 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.372, allocations: 350.8 kB / 471.9 MB, free: 256 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.3721, allocations: 71.89 kB / 471.9 MB, free: 184 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.3723, allocations: 180.2 kB / 472.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.3725, allocations: 89.09 kB / 472.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3725, allocations: 0 / 472.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005194/0.3731, allocations: 280.5 kB / 472.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3731, allocations: 4 kB / 472.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3731, allocations: 4 kB / 472.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/0.3733, allocations: 32.92 kB / 472.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.3735, allocations: 55.86 kB / 472.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.3749, allocations: 1.472 MB / 474 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.3751, allocations: 27.78 kB / 474.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.3752, allocations: 16 kB / 474.1 MB, free: 13.84 MB / 362.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 () * Number of clocked 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.0002107/0.3754, allocations: 170.6 kB / 474.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.3754, allocations: 39.53 kB / 474.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005211/0.376, allocations: 279.9 kB / 474.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.376, allocations: 4 kB / 474.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.376, allocations: 0 / 474.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005369/0.3765, allocations: 0.5908 MB / 475.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.3776, allocations: 0.747 MB / 475.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3776, allocations: 0 / 475.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.3778, allocations: 47.91 kB / 475.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3778, allocations: 4 kB / 475.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.3779, allocations: 4 kB / 475.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3779, allocations: 4 kB / 476 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3779, allocations: 0 / 476 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/0.3785, allocations: 430.8 kB / 476.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.3787, allocations: 152.6 kB / 476.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.3787, allocations: 4 kB / 476.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.3789, allocations: 12 kB / 476.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.379, allocations: 15.98 kB / 476.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.379, allocations: 7.984 kB / 476.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003467/0.3794, allocations: 319.1 kB / 476.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3794, allocations: 4 kB / 476.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004242/0.3798, allocations: 123.7 kB / 477 MB, free: 10.7 MB / 362.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 (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.001001/0.3808, allocations: 430.5 kB / 477.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005946/0.3814, allocations: 323.2 kB / 477.7 MB, free: 9.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3814, allocations: 0 / 477.7 MB, free: 9.977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.3816, allocations: 99.77 kB / 477.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.3821, allocations: 90.39 kB / 477.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.3835, allocations: 0.9254 MB / 478.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.3839, allocations: 0.804 MB / 479.6 MB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.3841, allocations: 58.92 kB / 479.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.3842, allocations: 35.38 kB / 479.7 MB, free: 7.914 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3842, allocations: 0 / 479.7 MB, free: 7.914 MB / 362.7 MB Notification: Performance of Templates: time 0.01038/0.3946, allocations: 5.758 MB / 485.5 MB, free: 2.156 MB / 362.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