Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.00116/0.00116, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001728/0.002888, allocations: 449.7 kB / 10.37 MB, free: 328 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.001093/0.001093, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001426/0.002519, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.035/1.035, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09786/1.133, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.2844/0.2844, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02568/0.3101, allocations: 13.09 MB / 291.3 MB, free: 7.367 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.573e-05, allocations: 2.969 kB / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.001971/0.001987, allocations: 1.816 MB / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.00316, allocations: 1.014 MB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.332e-05/0.003234, allocations: 4 kB / 295.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.003438, allocations: 55.69 kB / 295.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.003681, allocations: 99.47 kB / 295.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.003874, allocations: 75.66 kB / 295.8 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.004046, allocations: 107.6 kB / 295.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.025e-05/0.004126, allocations: 11.94 kB / 295.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.004243, allocations: 79.86 kB / 296 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.004312, allocations: 31.86 kB / 296 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.004327, allocations: 7.938 kB / 296 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.7e-05/0.004414, allocations: 47.91 kB / 296.1 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.004464, allocations: 23.92 kB / 296.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.004498, allocations: 23.88 kB / 296.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.004654, allocations: 107.6 kB / 296.2 MB, free: 2.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.004667, allocations: 0 / 296.2 MB, free: 2.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004668, allocations: 0 / 296.2 MB, free: 2.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.00468, allocations: 0 / 296.2 MB, free: 2.703 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.0004269/0.005107, allocations: 368.8 kB / 296.6 MB, free: 2.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.005136, allocations: 8.031 kB / 296.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.005166, allocations: 20.86 kB / 296.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.005315, allocations: 158.4 kB / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.005328, allocations: 384 / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.005344, allocations: 4.375 kB / 296.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.393e-05/0.005438, allocations: 61.77 kB / 296.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.005446, allocations: 3.938 kB / 296.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.005453, allocations: 4 kB / 296.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.005457, allocations: 0 / 296.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.501e-05/0.005482, allocations: 7.984 kB / 296.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.00567, allocations: 173.9 kB / 297 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.506e-05/0.005755, allocations: 89.3 kB / 297.1 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.005774, allocations: 12.86 kB / 297.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.005784, allocations: 0 / 297.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.229e-05/0.005876, allocations: 70.14 kB / 297.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.82e-07/0.005877, allocations: 0 / 297.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002705/0.006148, allocations: 113.5 kB / 297.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.006178, allocations: 51.41 kB / 297.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.006303, allocations: 221.2 kB / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.006316, allocations: 29.7 kB / 297.6 MB, free: 1.191 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.006353, allocations: 100.1 kB / 297.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.006376, allocations: 19.86 kB / 297.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.006409, allocations: 25.69 kB / 297.7 MB, free: 1.039 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.173e-05/0.006481, allocations: 326.8 kB / 298 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.006496, allocations: 10.83 kB / 298 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.084e-05/0.006517, allocations: 21.7 kB / 298.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.866e-05/0.006556, allocations: 40.52 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.006557, allocations: 3.938 kB / 298.1 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.292e-05/0.006629, allocations: 88.42 kB / 298.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.006641, allocations: 8 kB / 298.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.006645, allocations: 0 / 298.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.006653, allocations: 0 / 298.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.26e-05/0.006715, allocations: 19.94 kB / 298.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.006718, allocations: 0 / 298.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.006743, allocations: 3.984 kB / 298.2 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.006749, allocations: 7.984 kB / 298.2 MB, free: 500 kB / 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.14e-05/0.00682, allocations: 120.6 kB / 298.4 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.006835, allocations: 15.92 kB / 298.4 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.886e-05/0.006934, allocations: 79.11 kB / 298.4 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.006937, allocations: 3.984 kB / 298.4 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.006939, allocations: 0 / 298.4 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.006943, allocations: 4 kB / 298.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.007192, allocations: 299.4 kB / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.007194, allocations: 0 / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.007227, allocations: 15.98 kB / 298.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.007243, allocations: 15.89 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.007245, allocations: 384 / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.007252, allocations: 4 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.007256, allocations: 8.031 kB / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.007258, allocations: 0 / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.00738, allocations: 223 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.007396, allocations: 4 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.715e-05/0.007433, allocations: 0 / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.007465, allocations: 7.984 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.00748, allocations: 8 kB / 299 MB, free: 15.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.54e-05/0.007546, allocations: 79.73 kB / 299.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007546, allocations: 0 / 299.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001659/0.007712, allocations: 20 kB / 299.1 MB, free: 15.53 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.001783/0.009495, allocations: 0.6405 MB / 299.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.009624, allocations: 40.72 kB / 299.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/0.009636, allocations: 8.062 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.173e-05/0.009678, allocations: 28.97 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.009931, allocations: 47.89 kB / 299.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005307/0.01046, allocations: 264.2 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.277e-05/0.01051, allocations: 71.33 kB / 300.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.367e-05/0.01056, allocations: 16.97 kB / 300.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.01063, allocations: 67.44 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01063, allocations: 0 / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of Templates: time 0.004233/0.01486, allocations: 2.077 MB / 302.4 MB, free: 12.61 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.042968837544322]