Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001397/0.001397, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001106/0.001106, allocations: 168.9 kB / 24.91 MB, free: 8.723 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.9652/0.9652, allocations: 177.1 MB / 205.3 MB, free: 4.488 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.1337/0.1337, allocations: 32.8 MB / 294.6 MB, free: 15.44 MB / 282.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 323.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.912e-05, allocations: 6.25 kB / 323.4 MB, free: 2.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002317/0.002336, allocations: 1.808 MB / 325.2 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.003539, allocations: 1.009 MB / 326.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.003605, allocations: 4 kB / 326.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.003862, allocations: 43.75 kB / 326.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.004094, allocations: 103.5 kB / 326.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.004238, allocations: 83.56 kB / 326.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.004384, allocations: 107.7 kB / 326.5 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.685e-05/0.004461, allocations: 12 kB / 326.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.324e-05/0.004544, allocations: 63.75 kB / 326.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.004608, allocations: 23.92 kB / 326.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.004622, allocations: 4 kB / 326.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.367e-05/0.004695, allocations: 43.92 kB / 326.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.004741, allocations: 31.84 kB / 326.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.004773, allocations: 27.86 kB / 326.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.004931, allocations: 107.7 kB / 326.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.004933, allocations: 0 / 326.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.004934, allocations: 0 / 326.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004938, allocations: 4 kB / 326.8 MB, free: 15.18 MB / 314.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.0003454/0.005283, allocations: 359.8 kB / 327.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.005315, allocations: 15.98 kB / 327.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.005343, allocations: 8.922 kB / 327.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.00549, allocations: 161.3 kB / 327.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.005502, allocations: 384 / 327.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.005518, allocations: 4.375 kB / 327.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.005613, allocations: 61.77 kB / 327.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.005622, allocations: 3.938 kB / 327.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.005629, allocations: 0 / 327.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.005633, allocations: 8 kB / 327.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.374e-05/0.005657, allocations: 11.92 kB / 327.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.00585, allocations: 177.9 kB / 327.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.817e-05/0.005928, allocations: 85.36 kB / 327.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/0.005946, allocations: 12.86 kB / 327.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/0.005955, allocations: 0 / 327.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.512e-05/0.00603, allocations: 70.09 kB / 327.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.006031, allocations: 0 / 327.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000257/0.006288, allocations: 109.6 kB / 327.9 MB, free: 14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.006315, allocations: 59.34 kB / 327.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.006442, allocations: 220.2 kB / 328.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.006456, allocations: 29.7 kB / 328.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.006489, allocations: 100.1 kB / 328.3 MB, free: 13.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.006512, allocations: 19.84 kB / 328.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.006541, allocations: 25.7 kB / 328.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.006619, allocations: 330.8 kB / 328.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.006635, allocations: 14.83 kB / 328.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.006659, allocations: 25.64 kB / 328.7 MB, free: 13.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.333e-05/0.006702, allocations: 48.45 kB / 328.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.006703, allocations: 3.938 kB / 328.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.366e-05/0.006777, allocations: 68.44 kB / 328.8 MB, free: 13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.006789, allocations: 8 kB / 328.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.006793, allocations: 0 / 328.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.006804, allocations: 0 / 328.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.006866, allocations: 23.92 kB / 328.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.006869, allocations: 4 kB / 328.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.006894, allocations: 0 / 328.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.0069, allocations: 4 kB / 328.8 MB, free: 12.96 MB / 314.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.965e-05/0.00696, allocations: 120.7 kB / 329 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.006973, allocations: 15.92 kB / 329 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.007076, allocations: 83.06 kB / 329.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.007079, allocations: 3.984 kB / 329.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.00708, allocations: 0 / 329.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007083, allocations: 0 / 329.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.007293, allocations: 303.3 kB / 329.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007294, allocations: 0 / 329.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.007318, allocations: 12.38 kB / 329.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.00732, allocations: 4.031 kB / 329.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.007327, allocations: 8 kB / 329.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007328, allocations: 0 / 329.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.007329, allocations: 0 / 329.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.007434, allocations: 219 kB / 329.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.007447, allocations: 15.86 kB / 329.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.007465, allocations: 8 kB / 329.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.856e-05/0.007503, allocations: 3.984 kB / 329.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.007528, allocations: 4 kB / 329.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.007538, allocations: 3.984 kB / 329.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.749e-05/0.007596, allocations: 89.02 kB / 329.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007596, allocations: 0 / 329.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001438/0.00774, allocations: 31.92 kB / 329.8 MB, free: 11.98 MB / 314.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.001372/0.009112, allocations: 0.568 MB / 330.3 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.873e-05/0.0092, allocations: 48.77 kB / 330.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.009204, allocations: 0 / 330.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.009243, allocations: 24.84 kB / 330.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.009434, allocations: 27.92 kB / 330.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.009756, allocations: 267.6 kB / 330.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.115e-05/0.009797, allocations: 79.45 kB / 330.8 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.56e-05/0.009833, allocations: 17.27 kB / 330.8 MB, free: 11.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.009896, allocations: 67.36 kB / 330.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009897, allocations: 0 / 330.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of Templates: time 0.003665/0.01356, allocations: 2.05 MB / 332.9 MB, free: 9.094 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.0245713950134814]