Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001015/0.001015, allocations: 81.88 kB / 21.42 MB, free: 3.074 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.0009167/0.0009167, allocations: 173.4 kB / 24.82 MB, free: 8.934 MB / 18.57 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.9679/0.9679, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.252/0.252, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 376.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.9e-05, allocations: 10.25 kB / 376.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002925/0.002944, allocations: 1.76 MB / 378.3 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.004611, allocations: 0.9936 MB / 379.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.337e-05/0.004705, allocations: 4 kB / 379.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.005061, allocations: 47.69 kB / 379.4 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.005407, allocations: 103.5 kB / 379.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.005652, allocations: 87.59 kB / 379.6 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.005817, allocations: 99.7 kB / 379.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.005912, allocations: 7.984 kB / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.343e-05/0.006006, allocations: 59.77 kB / 379.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.00608, allocations: 23.91 kB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.006096, allocations: 8 kB / 379.8 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.4e-05/0.00618, allocations: 47.91 kB / 379.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.00623, allocations: 27.86 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.006266, allocations: 15.94 kB / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.006442, allocations: 107.6 kB / 379.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.006444, allocations: 4 kB / 380 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.006445, allocations: 0 / 380 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.006448, allocations: 3.938 kB / 380 MB, free: 0.9062 MB / 346.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.0004081/0.006856, allocations: 459.7 kB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.006893, allocations: 16.02 kB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.006927, allocations: 12.84 kB / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.007076, allocations: 157.2 kB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.007093, allocations: 4.375 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.00711, allocations: 4.375 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.00722, allocations: 62.88 kB / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.007232, allocations: 7.938 kB / 380.7 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.007238, allocations: 0 / 380.7 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.007245, allocations: 4 kB / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.736e-05/0.007273, allocations: 7.984 kB / 380.7 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.007578, allocations: 264.4 kB / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.007679, allocations: 51.09 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.698e-05/0.007706, allocations: 19.67 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.007722, allocations: 0 / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/0.007828, allocations: 68.98 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.007829, allocations: 4 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003272/0.008156, allocations: 133.8 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.008185, allocations: 55.39 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.008318, allocations: 259 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.008331, allocations: 25.7 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.008396, allocations: 162.8 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.008423, allocations: 23.78 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.008456, allocations: 31.36 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.008599, allocations: 0.5039 MB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.008617, allocations: 12.06 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.019e-05/0.008647, allocations: 39.28 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/0.008694, allocations: 43.36 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.008695, allocations: 0 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.781e-05/0.008793, allocations: 93.45 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.008806, allocations: 8 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.008811, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.008823, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.871e-05/0.008881, allocations: 15.98 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.008886, allocations: 4 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.674e-05/0.008913, allocations: 4.031 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.00892, allocations: 8 kB / 382.5 MB, free: 14.16 MB / 362.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.546e-05/0.008996, allocations: 160.5 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.009019, allocations: 23.84 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.009156, allocations: 103.2 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.009159, allocations: 0 / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.009161, allocations: 0 / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.009167, allocations: 3.984 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.009445, allocations: 365.5 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.009448, allocations: 8.031 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.009472, allocations: 8 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.009473, allocations: 0 / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.009482, allocations: 7.984 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.009483, allocations: 0 / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009484, allocations: 0 / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.009626, allocations: 263.4 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.009639, allocations: 7.953 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.009654, allocations: 0 / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.909e-05/0.009693, allocations: 4 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.009722, allocations: 11.98 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.009733, allocations: 4 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.839e-05/0.009812, allocations: 179.1 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009812, allocations: 0 / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001714/0.009983, allocations: 27.89 kB / 383.6 MB, free: 12.93 MB / 362.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.0008849/0.01087, allocations: 445.2 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.751e-05/0.01096, allocations: 39.67 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01096, allocations: 0 / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/0.011, allocations: 35.67 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.01122, allocations: 31.91 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.01151, allocations: 233.6 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.305e-05/0.01156, allocations: 71.33 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.643e-05/0.01159, allocations: 21.2 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.109e-05/0.01166, allocations: 94.19 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01166, allocations: 0 / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of Templates: time 0.003551/0.01522, allocations: 2.047 MB / 386.6 MB, free: 10.06 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.8555640769191086]