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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008784/0.0008784, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002171/0.00305, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001867/0.002907, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.234/1.234, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2304/1.465, allocations: 49.51 MB / 220.7 MB, free: 1.352 MB / 218.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,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=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.842e-05/4.076e-05, allocations: 2.312 kB / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004792/0.004833, allocations: 2.903 MB / 224.9 MB, free: 13.14 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.007278, allocations: 1.204 MB / 226.1 MB, free: 11.93 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003008/0.007579, allocations: 7.938 kB / 226.1 MB, free: 11.92 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006105/0.008189, allocations: 191 kB / 226.3 MB, free: 11.73 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005723/0.008761, allocations: 222.6 kB / 226.5 MB, free: 11.52 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.009199, allocations: 151.5 kB / 226.6 MB, free: 11.37 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005984/0.009797, allocations: 473.6 kB / 227.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.01002, allocations: 70.58 kB / 227.2 MB, free: 10.84 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004692/0.01049, allocations: 318.5 kB / 227.5 MB, free: 10.53 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.01079, allocations: 163.5 kB / 227.6 MB, free: 10.37 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.98e-05/0.01085, allocations: 32 kB / 227.7 MB, free: 10.34 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.01103, allocations: 67.92 kB / 227.7 MB, free: 10.27 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.01115, allocations: 71.69 kB / 227.8 MB, free: 10.2 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.01128, allocations: 103.8 kB / 227.9 MB, free: 10.1 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004682/0.01174, allocations: 314.8 kB / 228.2 MB, free: 9.789 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.058e-05/0.01177, allocations: 0 / 228.2 MB, free: 9.789 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.01177, allocations: 0 / 228.2 MB, free: 9.789 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.01179, allocations: 4 kB / 228.2 MB, free: 9.785 MB / 234.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.001028/0.01281, allocations: 0.6819 MB / 228.9 MB, free: 9.078 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.01286, allocations: 12.03 kB / 228.9 MB, free: 9.066 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.427e-05/0.01295, allocations: 48.89 kB / 229 MB, free: 9.02 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.01334, allocations: 240 kB / 229.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.01337, allocations: 12.88 kB / 229.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.01342, allocations: 24.38 kB / 229.2 MB, free: 8.723 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.01393, allocations: 0.5497 MB / 229.8 MB, free: 8.051 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.01395, allocations: 3.938 kB / 229.8 MB, free: 8.047 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.01397, allocations: 16 kB / 229.8 MB, free: 8.031 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.01398, allocations: 4 kB / 229.8 MB, free: 8.027 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.01409, allocations: 62.28 kB / 229.9 MB, free: 7.969 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008979/0.01499, allocations: 478.8 kB / 230.3 MB, free: 7.477 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.0152, allocations: 149.1 kB / 230.5 MB, free: 7.32 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.01526, allocations: 36.84 kB / 230.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.01529, allocations: 8 kB / 230.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.0155, allocations: 165.4 kB / 230.7 MB, free: 7.086 MB / 234.7 MB Notification: Performance of pre-optimization done (n=23): time 3.587e-06/0.0155, allocations: 0 / 230.7 MB, free: 7.086 MB / 234.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004542/0.01596, allocations: 182.8 kB / 230.9 MB, free: 6.898 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.016, allocations: 59.41 kB / 230.9 MB, free: 6.828 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.01627, allocations: 348.9 kB / 231.3 MB, free: 6.477 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.01629, allocations: 33.7 kB / 231.3 MB, free: 6.438 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.0164, allocations: 165.4 kB / 231.5 MB, free: 6.27 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.01646, allocations: 83.25 kB / 231.5 MB, free: 6.188 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.01653, allocations: 57.67 kB / 231.6 MB, free: 6.125 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.01666, allocations: 354.7 kB / 231.9 MB, free: 5.77 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.86e-05/0.01671, allocations: 22.81 kB / 232 MB, free: 5.746 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.01695, allocations: 381 kB / 232.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.01709, allocations: 106.1 kB / 232.4 MB, free: 5.152 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.0171, allocations: 3.938 kB / 232.5 MB, free: 5.148 MB / 234.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002649/0.01736, allocations: 173.1 kB / 232.6 MB, free: 4.969 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.01738, allocations: 4 kB / 232.6 MB, free: 4.965 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.01739, allocations: 4 kB / 232.6 MB, free: 4.961 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001194/0.01751, allocations: 20.83 kB / 232.6 MB, free: 4.938 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.01774, allocations: 79.83 kB / 232.7 MB, free: 4.859 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.01892, allocations: 1.253 MB / 234 MB, free: 3.516 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.01908, allocations: 19.89 kB / 234 MB, free: 3.496 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.01909, allocations: 4 kB / 234 MB, free: 3.492 MB / 234.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.0001725/0.01926, allocations: 140.5 kB / 234.1 MB, free: 3.344 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.01931, allocations: 35.91 kB / 234.2 MB, free: 3.309 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.0196, allocations: 166.1 kB / 234.3 MB, free: 3.137 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.0196, allocations: 4 kB / 234.3 MB, free: 3.133 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.0196, allocations: 0 / 234.3 MB, free: 3.133 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003681/0.01997, allocations: 0.5007 MB / 234.8 MB, free: 2.527 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/0.02056, allocations: 477.2 kB / 235.3 MB, free: 2.031 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.02057, allocations: 0 / 235.3 MB, free: 2.031 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.02076, allocations: 71.94 kB / 235.4 MB, free: 1.961 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.859e-05/0.02085, allocations: 39.7 kB / 235.4 MB, free: 1.922 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.02086, allocations: 8 kB / 235.4 MB, free: 1.914 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.02088, allocations: 7.984 kB / 235.4 MB, free: 1.906 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.02089, allocations: 0 / 235.4 MB, free: 1.906 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.02089, allocations: 4 kB / 235.4 MB, free: 1.902 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.02117, allocations: 318.4 kB / 235.7 MB, free: 1.574 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.0212, allocations: 4 kB / 235.8 MB, free: 1.57 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.0213, allocations: 15.98 kB / 235.8 MB, free: 1.555 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.02134, allocations: 7.984 kB / 235.8 MB, free: 1.547 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.02136, allocations: 11.98 kB / 235.8 MB, free: 1.535 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.02152, allocations: 155.6 kB / 235.9 MB, free: 1.379 MB / 234.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02152, allocations: 0 / 235.9 MB, free: 1.379 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004568/0.02198, allocations: 99.83 kB / 236 MB, free: 1.281 MB / 234.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 (24): * Single equations (assignments): 22 * 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.001426/0.02341, allocations: 0.564 MB / 236.6 MB, free: 0.75 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004291/0.02383, allocations: 246.4 kB / 236.8 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.717e-05/0.02385, allocations: 12.09 kB / 236.9 MB, free: 496 kB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 8.946e-05/0.02394, allocations: 64.77 kB / 236.9 MB, free: 428 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008109/0.02475, allocations: 0.9342 MB / 237.8 MB, free: 15.3 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00457/0.02932, allocations: 0.6694 MB / 238.5 MB, free: 14.6 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.804e-05/0.02942, allocations: 105.3 kB / 238.6 MB, free: 14.47 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001935/0.02961, allocations: 42.94 kB / 238.7 MB, free: 14.43 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.02993, allocations: 185.2 kB / 238.8 MB, free: 14.25 MB / 250.7 MB Notification: Performance of SimCode: time 3.467e-06/0.02993, allocations: 0 / 238.8 MB, free: 14.25 MB / 250.7 MB Notification: Performance of Templates: time 0.01332/0.04325, allocations: 7.966 MB / 246.8 MB, free: 6.277 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4183552395552397]