Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001119/0.001119, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001631/0.00275, 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.001063/0.001063, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001396/0.002459, 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 0.9914/0.9914, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09007/1.081, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.2674/0.2674, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02474/0.2922, allocations: 13.1 MB / 291.5 MB, free: 7.34 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.587e-05, allocations: 4.734 kB / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002775/0.002801, allocations: 1.81 MB / 294.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.004728, allocations: 1.778 MB / 296.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.004803, allocations: 0 / 296.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.004993, allocations: 39.7 kB / 296.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.005247, allocations: 103.4 kB / 296.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.005443, allocations: 79.55 kB / 296.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.005612, allocations: 111.6 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.051e-05/0.005702, allocations: 7.984 kB / 296.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.005837, allocations: 83.81 kB / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.005953, allocations: 31.89 kB / 297 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.005972, allocations: 12 kB / 297 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.006161, allocations: 103.8 kB / 297.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.947e-05/0.006211, allocations: 23.88 kB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.006242, allocations: 12 kB / 297.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.006465, allocations: 155.4 kB / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.406e-05/0.006479, allocations: 0 / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.00648, allocations: 0 / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.006492, allocations: 0 / 297.3 MB, free: 1.758 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.0004583/0.00695, allocations: 348.9 kB / 297.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.006978, allocations: 12.03 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.007014, allocations: 8.922 kB / 297.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.007172, allocations: 142.2 kB / 297.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.007187, allocations: 4.375 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.007209, allocations: 4.312 kB / 297.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.00734, allocations: 112.5 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.007348, allocations: 0 / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.007355, allocations: 0 / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.00736, allocations: 4 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.315e-05/0.007383, allocations: 6.828 kB / 297.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.007599, allocations: 170 kB / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.772e-05/0.007697, allocations: 97.2 kB / 298.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.007717, allocations: 12.8 kB / 298.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.007728, allocations: 0 / 298.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.572e-05/0.007824, allocations: 62.22 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.007825, allocations: 0 / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003016/0.008126, allocations: 117.5 kB / 298.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.008151, allocations: 55.41 kB / 298.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.008252, allocations: 163.4 kB / 298.6 MB, free: 328 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.008267, allocations: 25.7 kB / 298.6 MB, free: 296 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.008307, allocations: 100.1 kB / 298.7 MB, free: 192 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.00834, allocations: 23.78 kB / 298.7 MB, free: 168 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.008386, allocations: 25.7 kB / 298.7 MB, free: 136 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.00848, allocations: 322.8 kB / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.008506, allocations: 18.75 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.648e-05/0.008543, allocations: 48.28 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.012e-05/0.008593, allocations: 48.44 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.008594, allocations: 0 / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.87e-05/0.008683, allocations: 76.5 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.008696, allocations: 8.062 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.0087, allocations: 3.938 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.008715, allocations: 4 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.008784, allocations: 15.98 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.008788, allocations: 4 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.008819, allocations: 3.953 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.008825, allocations: 7.938 kB / 299.3 MB, free: 15.54 MB / 298.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 6.526e-05/0.008891, allocations: 121.6 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.008904, allocations: 7.984 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.009011, allocations: 78.39 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.009013, allocations: 0 / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.009016, allocations: 4 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.00902, allocations: 3.984 kB / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.009247, allocations: 299.4 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.009249, allocations: 0 / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.009277, allocations: 12 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.009289, allocations: 11.94 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.009291, allocations: 0 / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.009297, allocations: 0 / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.009299, allocations: 4 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.0093, allocations: 4.031 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.00941, allocations: 215 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.009431, allocations: 4.359 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.088e-05/0.009472, allocations: 4 kB / 300 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.009498, allocations: 11.98 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.009516, allocations: 8 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.058e-05/0.009556, allocations: 37.89 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009556, allocations: 0 / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001891/0.009746, allocations: 55.8 kB / 300.1 MB, free: 14.61 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.001645/0.01139, allocations: 0.7876 MB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.0115, allocations: 40.78 kB / 301 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.01151, allocations: 0 / 301 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.01155, allocations: 36.86 kB / 301 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.01178, allocations: 179.8 kB / 301.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.01223, allocations: 211.5 kB / 301.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.651e-05/0.01226, allocations: 63.34 kB / 301.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.148e-05/0.01232, allocations: 21.41 kB / 301.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.869e-05/0.0124, allocations: 75.45 kB / 301.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0124, allocations: 8 kB / 301.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of Templates: time 0.004518/0.01692, allocations: 2.797 MB / 304.3 MB, free: 10.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.9571745162829757]