Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.001203/0.001203, allocations: 95.2 kB / 20.43 MB, free: 4.141 MB / 18.57 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.001091/0.001091, allocations: 165 kB / 23.79 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.993/0.993, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1368/0.1368, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.101e-05, allocations: 6.25 kB / 347.8 MB, free: 9.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002394/0.002425, allocations: 1.725 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000917/0.003342, allocations: 0.8076 MB / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.293e-05/0.003415, allocations: 0 / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.003751, allocations: 39.77 kB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.003965, allocations: 55.7 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.004183, allocations: 95.69 kB / 350.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.004334, allocations: 95.69 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.254e-05/0.004426, allocations: 8.219 kB / 350.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.455e-05/0.004501, allocations: 51.78 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.666e-05/0.004578, allocations: 23.91 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.004597, allocations: 4 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-05/0.004684, allocations: 43.92 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.004737, allocations: 23.92 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.004779, allocations: 23.91 kB / 350.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.004951, allocations: 99.53 kB / 350.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004954, allocations: 4 kB / 350.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.004955, allocations: 4 kB / 350.9 MB, free: 6.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.00496, allocations: 0 / 350.9 MB, free: 6.238 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.0004238/0.005384, allocations: 447.9 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.005422, allocations: 8.031 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.00547, allocations: 16.84 kB / 351.3 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.005627, allocations: 145.8 kB / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.005645, allocations: 384 / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.005669, allocations: 4.375 kB / 351.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.005797, allocations: 62.94 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.005806, allocations: 11.88 kB / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.005817, allocations: 4 kB / 351.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.005824, allocations: 0 / 351.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.288e-05/0.005867, allocations: 11.98 kB / 351.6 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.006205, allocations: 291.8 kB / 351.8 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.006326, allocations: 47.17 kB / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.00636, allocations: 27.56 kB / 351.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.006378, allocations: 3.938 kB / 351.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.006492, allocations: 65.05 kB / 352 MB, free: 4.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.315e-06/0.006494, allocations: 4 kB / 352 MB, free: 4.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003985/0.006893, allocations: 153.4 kB / 352.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.006914, allocations: 51.41 kB / 352.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.007021, allocations: 232 kB / 352.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.00703, allocations: 29.7 kB / 352.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.007071, allocations: 150.9 kB / 352.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.007097, allocations: 35.73 kB / 352.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.007128, allocations: 27.38 kB / 352.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.324e-05/0.007182, allocations: 0.4962 MB / 353.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.007208, allocations: 12.36 kB / 353.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/0.00724, allocations: 43.3 kB / 353.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.881e-05/0.007289, allocations: 47.31 kB / 353.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.007291, allocations: 4 kB / 353.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000101/0.007392, allocations: 93.64 kB / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.007406, allocations: 8 kB / 353.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.007411, allocations: 80 / 353.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.007437, allocations: 0 / 353.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.007527, allocations: 15.98 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.007534, allocations: 3.984 kB / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.007567, allocations: 8.031 kB / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.007573, allocations: 4 kB / 353.4 MB, free: 3.492 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 6.069e-05/0.007634, allocations: 172.4 kB / 353.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.007649, allocations: 11.91 kB / 353.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.007811, allocations: 103.1 kB / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.007814, allocations: 7.922 kB / 353.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.007818, allocations: 0 / 353.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.007823, allocations: 4 kB / 353.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.008062, allocations: 393 kB / 354.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.008064, allocations: 4.031 kB / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.608e-05/0.00809, allocations: 8 kB / 354.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.008093, allocations: 0 / 354.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.008101, allocations: 4 kB / 354.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.008104, allocations: 3.984 kB / 354.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008105, allocations: 0 / 354.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.008218, allocations: 263.3 kB / 354.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.008231, allocations: 7.953 kB / 354.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.008249, allocations: 8 kB / 354.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.042e-05/0.008289, allocations: 0 / 354.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.008329, allocations: 11.98 kB / 354.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.008344, allocations: 4 kB / 354.4 MB, free: 2.418 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.17e-05/0.008405, allocations: 171.8 kB / 354.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008405, allocations: 0 / 354.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.008586, allocations: 31.92 kB / 354.6 MB, free: 2.219 MB / 282.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.0008905/0.009477, allocations: 435.5 kB / 355 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.009607, allocations: 59.59 kB / 355 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.00961, allocations: 0 / 355 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.943e-05/0.009649, allocations: 35.83 kB / 355.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.009906, allocations: 39.98 kB / 355.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.01026, allocations: 217.1 kB / 355.3 MB, free: 1.504 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.786e-05/0.0103, allocations: 67.33 kB / 355.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.164e-05/0.01034, allocations: 12.48 kB / 355.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.01038, allocations: 16.5 kB / 355.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01038, allocations: 3.938 kB / 355.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of Templates: time 0.00436/0.01474, allocations: 1.841 MB / 357.3 MB, free: 15.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.5077604008838534]