Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.0007128/0.0007128, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.00175, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006809/0.0006809, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009393/0.00162, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.008/1.008, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09228/1.1, allocations: 53.65 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2543/0.2543, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02602/0.2804, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.511e-05, allocations: 4.531 kB / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003075/0.0031, allocations: 1.821 MB / 294.7 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.004708, allocations: 1.015 MB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.558e-05/0.004784, allocations: 0 / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.005006, allocations: 43.59 kB / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.005265, allocations: 99.47 kB / 295.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.005468, allocations: 91.53 kB / 296 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.00566, allocations: 103.6 kB / 296.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.678e-05/0.005757, allocations: 4 kB / 296.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.005923, allocations: 87.73 kB / 296.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.006018, allocations: 23.92 kB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.006036, allocations: 4 kB / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.006143, allocations: 43.92 kB / 296.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.006195, allocations: 15.92 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.006234, allocations: 15.94 kB / 296.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.006434, allocations: 111.5 kB / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.381e-05/0.006448, allocations: 0 / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.00645, allocations: 0 / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.006461, allocations: 0 / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005117/0.006973, allocations: 333 kB / 296.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.00701, allocations: 8.031 kB / 296.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.007048, allocations: 8.938 kB / 296.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.007234, allocations: 150.2 kB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.007252, allocations: 4.375 kB / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.007273, allocations: 4.375 kB / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.007405, allocations: 69.7 kB / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.007416, allocations: 3.938 kB / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.007423, allocations: 0 / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.00743, allocations: 0 / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.317e-05/0.007463, allocations: 15.98 kB / 297 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.007694, allocations: 154 kB / 297.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.007805, allocations: 89.27 kB / 297.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.007833, allocations: 24.84 kB / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.007846, allocations: 3.938 kB / 297.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.007964, allocations: 66.16 kB / 297.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.007965, allocations: 0 / 297.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003692/0.008334, allocations: 121.5 kB / 297.4 MB, free: 1.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.008366, allocations: 51.41 kB / 297.5 MB, free: 1.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.008507, allocations: 177.3 kB / 297.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.008527, allocations: 29.7 kB / 297.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.008571, allocations: 96.11 kB / 297.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.008602, allocations: 23.83 kB / 297.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.008641, allocations: 21.72 kB / 297.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.008745, allocations: 326.8 kB / 298.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.639e-05/0.008771, allocations: 10.83 kB / 298.1 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.514e-05/0.008806, allocations: 33.69 kB / 298.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.5e-05/0.008861, allocations: 36.47 kB / 298.2 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.008863, allocations: 0 / 298.2 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001099/0.008973, allocations: 76.44 kB / 298.3 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.008988, allocations: 8 kB / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.008992, allocations: 0 / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.009009, allocations: 3.984 kB / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.009095, allocations: 16 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-06/0.009099, allocations: 4.031 kB / 298.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.833e-05/0.009137, allocations: 8 kB / 298.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.009144, allocations: 3.984 kB / 298.3 MB, free: 0.5078 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.886e-05/0.009223, allocations: 120.6 kB / 298.5 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.009245, allocations: 15.88 kB / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.009382, allocations: 75.12 kB / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.009384, allocations: 0 / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.009386, allocations: 0 / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.009389, allocations: 0 / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.009716, allocations: 303.4 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.009718, allocations: 0 / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.677e-05/0.009765, allocations: 15.92 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.009779, allocations: 7.953 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.009782, allocations: 4 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.00979, allocations: 0 / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.009793, allocations: 3.938 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.009796, allocations: 4 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.009953, allocations: 223 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.009974, allocations: 0 / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.01006, allocations: 4 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.01009, allocations: 16.02 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.0101, allocations: 384 / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.503e-05/0.01017, allocations: 51.64 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01017, allocations: 0 / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002579/0.01043, allocations: 20 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.00208/0.01251, allocations: 0.6415 MB / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.01262, allocations: 52.75 kB / 299.9 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/0.01263, allocations: 4 kB / 299.9 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.014e-05/0.01268, allocations: 28.78 kB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.01302, allocations: 176.4 kB / 300.1 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.01362, allocations: 223.8 kB / 300.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.246e-05/0.01368, allocations: 71.33 kB / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.987e-05/0.01373, allocations: 8.984 kB / 300.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.607e-05/0.01382, allocations: 71.36 kB / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01382, allocations: 0 / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of Templates: time 0.0051/0.01892, allocations: 2.058 MB / 302.5 MB, free: 12.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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: 2.8150280779227614]