Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001159/0.001159, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001863/0.003022, 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.001206/0.001206, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001606/0.002812, 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.9835/0.9835, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09228/1.076, allocations: 53.65 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.2763/0.2763, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03766/0.3139, allocations: 13.11 MB / 291.5 MB, free: 7.336 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.157e-06/1.014e-05, allocations: 4.734 kB / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002256/0.002267, allocations: 1.812 MB / 294.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.003398, allocations: 1.018 MB / 295.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.21e-05/0.00346, allocations: 7.938 kB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.003588, allocations: 39.64 kB / 295.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.003766, allocations: 91.48 kB / 295.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.003933, allocations: 91.53 kB / 296 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.004049, allocations: 103.6 kB / 296.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.004099, allocations: 11.97 kB / 296.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.0042, allocations: 79.83 kB / 296.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/0.004259, allocations: 31.89 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.004271, allocations: 4 kB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.107e-05/0.004342, allocations: 47.86 kB / 296.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.053e-05/0.004373, allocations: 11.94 kB / 296.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.004395, allocations: 15.94 kB / 296.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.004535, allocations: 99.61 kB / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.004543, allocations: 0 / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.004543, allocations: 0 / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.00455, allocations: 0 / 296.4 MB, free: 2.645 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.0002892/0.00484, allocations: 337 kB / 296.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.406e-05/0.004864, allocations: 16.03 kB / 296.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.102e-05/0.004885, allocations: 8.922 kB / 296.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.004992, allocations: 146.3 kB / 296.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.005, allocations: 4.375 kB / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.005012, allocations: 4.375 kB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.863e-05/0.005081, allocations: 61.77 kB / 296.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.005089, allocations: 3.938 kB / 296.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.005094, allocations: 3.984 kB / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.005098, allocations: 0 / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.258e-05/0.005121, allocations: 19.92 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.005258, allocations: 165.9 kB / 297.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.795e-05/0.005326, allocations: 81.3 kB / 297.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.005342, allocations: 20.86 kB / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.005348, allocations: 0 / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.187e-05/0.00542, allocations: 70.08 kB / 297.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 6.01e-07/0.005421, allocations: 0 / 297.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002191/0.00564, allocations: 117.5 kB / 297.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.005663, allocations: 55.39 kB / 297.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.005754, allocations: 185.3 kB / 297.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.005767, allocations: 29.7 kB / 297.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.005799, allocations: 96.11 kB / 297.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.005818, allocations: 15.86 kB / 297.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.005846, allocations: 29.69 kB / 297.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.961e-05/0.005916, allocations: 322.8 kB / 298.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.005929, allocations: 6.828 kB / 298.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-05/0.005951, allocations: 33.69 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.005987, allocations: 40.45 kB / 298.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.005988, allocations: 0 / 298.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.135e-05/0.00605, allocations: 76.5 kB / 298.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.006059, allocations: 8 kB / 298.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.006062, allocations: 0 / 298.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-06/0.00607, allocations: 0 / 298.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.926e-05/0.006119, allocations: 23.92 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-06/0.006121, allocations: 0 / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.006145, allocations: 8 kB / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-06/0.006148, allocations: 0 / 298.3 MB, free: 0.5156 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 5.873e-05/0.006207, allocations: 116.6 kB / 298.4 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.00622, allocations: 19.95 kB / 298.5 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.681e-05/0.006317, allocations: 79.06 kB / 298.5 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006319, allocations: 0 / 298.5 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.00632, allocations: 0 / 298.5 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006323, allocations: 0 / 298.5 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.006531, allocations: 303.4 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006532, allocations: 0 / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.006558, allocations: 12 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.006571, allocations: 11.94 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.006573, allocations: 0 / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.006578, allocations: 4.031 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006579, allocations: 3.938 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.006581, allocations: 4 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.006687, allocations: 215 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.006702, allocations: 0 / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.654e-05/0.006738, allocations: 7.984 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.00676, allocations: 11.98 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.006769, allocations: 384 / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.278e-05/0.006811, allocations: 55.58 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006811, allocations: 0 / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001397/0.006951, allocations: 20 kB / 299.2 MB, free: 15.6 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.001327/0.008278, allocations: 0.6432 MB / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.909e-05/0.008357, allocations: 48.83 kB / 299.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.008364, allocations: 4 kB / 299.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.527e-05/0.008399, allocations: 32.72 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.0001994/0.008598, allocations: 180.4 kB / 300.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.008962, allocations: 223.7 kB / 300.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.098e-05/0.009003, allocations: 63.34 kB / 300.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.475e-05/0.009038, allocations: 17.16 kB / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.009101, allocations: 71.36 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of SimCode: time 4.4e-07/0.009101, allocations: 0 / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of Templates: time 0.003657/0.01276, allocations: 2.054 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.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.9811392314732075]