Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001211/0.001211, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002191/0.003401, 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.001361/0.001361, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001817/0.003178, 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 0.9979/0.9979, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09372/1.092, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2569/0.2569, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02544/0.2823, allocations: 13.1 MB / 291.3 MB, free: 7.371 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.429e-05, allocations: 4.562 kB / 292.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002198/0.002213, allocations: 1.768 MB / 294.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.00369, allocations: 1.002 MB / 295.5 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.003783, allocations: 0 / 295.5 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.004008, allocations: 55.69 kB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.004248, allocations: 103.5 kB / 295.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.00442, allocations: 75.62 kB / 295.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.004596, allocations: 103.7 kB / 295.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.004639, allocations: 4.234 kB / 295.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.004781, allocations: 79.75 kB / 295.9 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.658e-05/0.004867, allocations: 27.91 kB / 295.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.004883, allocations: 4 kB / 295.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.429e-05/0.004967, allocations: 27.94 kB / 295.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.005029, allocations: 27.86 kB / 296 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.005068, allocations: 15.94 kB / 296 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.00525, allocations: 103.6 kB / 296.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-05/0.005271, allocations: 4 kB / 296.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.005273, allocations: 0 / 296.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.007e-05/0.005293, allocations: 3.938 kB / 296.1 MB, free: 2.797 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004986/0.005791, allocations: 352.9 kB / 296.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.005823, allocations: 8.031 kB / 296.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.005855, allocations: 12.92 kB / 296.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.006006, allocations: 154.5 kB / 296.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.006021, allocations: 384 / 296.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.006033, allocations: 4.375 kB / 296.6 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.006147, allocations: 61.77 kB / 296.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.006159, allocations: 7.938 kB / 296.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-06/0.006165, allocations: 0 / 296.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.006169, allocations: 0 / 296.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.593e-05/0.006195, allocations: 11.92 kB / 296.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.331e-05/0.006289, allocations: 70.7 kB / 296.8 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.061e-05/0.006379, allocations: 37.42 kB / 296.8 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.006404, allocations: 16.84 kB / 296.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.006417, allocations: 0 / 296.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001043/0.006521, allocations: 62.22 kB / 296.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.006522, allocations: 4 kB / 296.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001127/0.006635, allocations: 61.61 kB / 296.9 MB, free: 1.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.006664, allocations: 59.28 kB / 297 MB, free: 1.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.006789, allocations: 213.3 kB / 297.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.006802, allocations: 29.7 kB / 297.2 MB, free: 1.512 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.00683, allocations: 100.1 kB / 297.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.006856, allocations: 15.83 kB / 297.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.006884, allocations: 17.72 kB / 297.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.006975, allocations: 326.8 kB / 297.7 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.006987, allocations: 10.83 kB / 297.7 MB, free: 1.031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.947e-05/0.007007, allocations: 25.69 kB / 297.7 MB, free: 1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.489e-05/0.007042, allocations: 35.3 kB / 297.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.007043, allocations: 0 / 297.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.15e-05/0.007105, allocations: 68.44 kB / 297.8 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.007117, allocations: 4 kB / 297.8 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.007121, allocations: 0 / 297.8 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.007129, allocations: 0 / 297.8 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.007187, allocations: 15.94 kB / 297.8 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.00719, allocations: 0 / 297.8 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.007215, allocations: 8.031 kB / 297.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.007221, allocations: 3.984 kB / 297.9 MB, free: 0.8516 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 (7): * Single equations (assignments): 7 * 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.092e-05/0.007282, allocations: 116.7 kB / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.007298, allocations: 15.97 kB / 298 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.829e-05/0.007376, allocations: 62.77 kB / 298 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007377, allocations: 0 / 298 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.007382, allocations: 7.938 kB / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007384, allocations: 0 / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.86e-05/0.007453, allocations: 89.86 kB / 298.1 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007454, allocations: 0 / 298.1 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.007471, allocations: 12.36 kB / 298.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.007483, allocations: 11.91 kB / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.007485, allocations: 0 / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.00749, allocations: 8 kB / 298.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007491, allocations: 0 / 298.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.007494, allocations: 3.938 kB / 298.2 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.572e-05/0.00755, allocations: 86.69 kB / 298.3 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.007565, allocations: 8 kB / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.572e-05/0.007581, allocations: 0 / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.007603, allocations: 11.92 kB / 298.3 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.00761, allocations: 0 / 298.3 MB, free: 380 kB / 282.7 MB Notification: Performance of sorting global known variables: time 8.504e-05/0.007696, allocations: 83.69 kB / 298.4 MB, free: 292 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007696, allocations: 0 / 298.4 MB, free: 292 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001097/0.007805, allocations: 23.94 kB / 298.4 MB, free: 268 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001194/0.008999, allocations: 0.5453 MB / 298.9 MB, free: 16 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.281e-05/0.009092, allocations: 32.84 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.0091, allocations: 4 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.009124, allocations: 20.84 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.009261, allocations: 44.94 kB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.009688, allocations: 231.2 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.694e-05/0.009724, allocations: 75.33 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.722e-05/0.009752, allocations: 4.5 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.009806, allocations: 67.36 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.009806, allocations: 0 / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of Templates: time 0.003153/0.01296, allocations: 1.838 MB / 301.2 MB, free: 13.69 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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: 2.8754116566851735]