Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.0009433/0.0009433, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001339/0.002282, 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.0008401/0.0008401, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009672/0.001807, 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.9982/0.9982, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1038/1.102, allocations: 53.66 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.3046/0.3046, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02738/0.332, allocations: 13.09 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.445e-05, allocations: 4.797 kB / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003019/0.003043, allocations: 1.808 MB / 294.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.005192, allocations: 1.014 MB / 295.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.005345, allocations: 0 / 295.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.005686, allocations: 39.77 kB / 295.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.006072, allocations: 99.41 kB / 295.7 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.006384, allocations: 79.66 kB / 295.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.006632, allocations: 107.6 kB / 295.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.006741, allocations: 11.94 kB / 295.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.006905, allocations: 75.86 kB / 295.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.933e-05/0.007004, allocations: 27.86 kB / 296 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.007022, allocations: 4 kB / 296 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.007142, allocations: 51.84 kB / 296 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.007197, allocations: 19.92 kB / 296 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.00724, allocations: 15.94 kB / 296.1 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.007456, allocations: 91.69 kB / 296.2 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.162e-05/0.007477, allocations: 0 / 296.2 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007478, allocations: 0 / 296.2 MB, free: 2.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.0075, allocations: 3.984 kB / 296.2 MB, free: 2.762 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.0005598/0.00806, allocations: 341 kB / 296.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.008101, allocations: 12.03 kB / 296.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.008141, allocations: 4.938 kB / 296.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.008362, allocations: 154.2 kB / 296.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.008386, allocations: 384 / 296.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.008415, allocations: 12.36 kB / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.008574, allocations: 61.77 kB / 296.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.008587, allocations: 3.938 kB / 296.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.008596, allocations: 0 / 296.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.008602, allocations: 0 / 296.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.01e-05/0.008642, allocations: 8 kB / 296.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.008944, allocations: 169.9 kB / 296.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.009074, allocations: 81.36 kB / 297 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.009105, allocations: 20.84 kB / 297 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.009121, allocations: 4 kB / 297 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.009269, allocations: 70.14 kB / 297.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.009271, allocations: 0 / 297.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004219/0.009693, allocations: 113.5 kB / 297.2 MB, free: 1.621 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.009731, allocations: 51.41 kB / 297.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.009864, allocations: 177.3 kB / 297.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.009882, allocations: 29.7 kB / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.00992, allocations: 96.11 kB / 297.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.009949, allocations: 19.86 kB / 297.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.009994, allocations: 29.69 kB / 297.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.967e-05/0.01009, allocations: 330.8 kB / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.01011, allocations: 6.828 kB / 297.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.418e-05/0.01015, allocations: 29.69 kB / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.249e-05/0.0102, allocations: 36.52 kB / 298 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.0102, allocations: 0 / 298 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001024/0.0103, allocations: 80.38 kB / 298.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.01032, allocations: 8 kB / 298.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01032, allocations: 0 / 298.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.01033, allocations: 4.031 kB / 298.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.651e-05/0.01042, allocations: 23.98 kB / 298.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.01043, allocations: 3.938 kB / 298.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.634e-05/0.01046, allocations: 7.984 kB / 298.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.01047, allocations: 0 / 298.1 MB, free: 0.6328 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 7.89e-05/0.01055, allocations: 123.1 kB / 298.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.01057, allocations: 11.92 kB / 298.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.0107, allocations: 83.06 kB / 298.3 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.0107, allocations: 0 / 298.3 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.0107, allocations: 0 / 298.3 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01071, allocations: 4 kB / 298.3 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.01099, allocations: 295.4 kB / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01099, allocations: 0 / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.01103, allocations: 11.98 kB / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.01104, allocations: 7.953 kB / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01104, allocations: 4 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.01105, allocations: 4.375 kB / 298.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01105, allocations: 0 / 298.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01106, allocations: 0 / 298.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.01122, allocations: 223 kB / 298.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.01124, allocations: 8.016 kB / 298.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.01131, allocations: 8 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.01133, allocations: 3.984 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.01135, allocations: 4 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.909e-05/0.01141, allocations: 51.64 kB / 298.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01141, allocations: 0 / 298.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.01163, allocations: 20 kB / 299 MB, free: 15.72 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.002009/0.01364, allocations: 0.6425 MB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.01376, allocations: 36.78 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/0.01378, allocations: 4 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.421e-05/0.01382, allocations: 28.92 kB / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.0141, allocations: 49.73 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006933/0.0148, allocations: 219.7 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.267e-05/0.01487, allocations: 71.33 kB / 300 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.042e-05/0.01493, allocations: 8.984 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.01503, allocations: 71.36 kB / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01503, allocations: 3.938 kB / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of Templates: time 0.005684/0.02072, allocations: 2.043 MB / 302.1 MB, free: 12.87 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.060941729694605]