Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.0008578/0.0008578, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.001993, 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.0009003/0.0009003, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.002072, 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 1.031/1.031, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09377/1.125, allocations: 53.65 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.2753/0.2753, allocations: 34.24 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02531/0.3006, 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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.832e-05, allocations: 5.188 kB / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003759/0.003787, allocations: 1.811 MB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.005706, allocations: 1.018 MB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.005806, allocations: 3.938 kB / 295.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.006109, allocations: 31.77 kB / 295.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.006449, allocations: 99.42 kB / 295.7 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.006697, allocations: 79.66 kB / 295.8 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.006915, allocations: 107.6 kB / 295.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.007023, allocations: 15.92 kB / 295.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.007191, allocations: 77.44 kB / 295.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.966e-05/0.00729, allocations: 31.84 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.007308, allocations: 4 kB / 296 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.007422, allocations: 47.86 kB / 296 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.007479, allocations: 19.92 kB / 296.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.007519, allocations: 15.94 kB / 296.1 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.007687, allocations: 91.67 kB / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.788e-05/0.007705, allocations: 0 / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.007707, allocations: 0 / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.007723, allocations: 0 / 296.2 MB, free: 2.754 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.0005245/0.008247, allocations: 341 kB / 296.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.008284, allocations: 12.03 kB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.008322, allocations: 8.938 kB / 296.5 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.008496, allocations: 154.2 kB / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.008513, allocations: 384 / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.008534, allocations: 8.375 kB / 296.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.008656, allocations: 57.77 kB / 296.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.008665, allocations: 3.938 kB / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.008672, allocations: 0 / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.008676, allocations: 0 / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.971e-05/0.008706, allocations: 19.98 kB / 296.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.00891, allocations: 162 kB / 296.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.009014, allocations: 81.23 kB / 297 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.009041, allocations: 24.91 kB / 297 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.009056, allocations: 0 / 297 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.009168, allocations: 66.14 kB / 297.1 MB, free: 1.734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.009169, allocations: 0 / 297.1 MB, free: 1.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003025/0.009472, allocations: 113.5 kB / 297.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.009504, allocations: 55.41 kB / 297.2 MB, free: 1.551 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.009608, allocations: 181.3 kB / 297.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.009622, allocations: 29.7 kB / 297.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.009653, allocations: 96.11 kB / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.009681, allocations: 23.83 kB / 297.6 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.009711, allocations: 21.72 kB / 297.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.451e-05/0.009795, allocations: 326.8 kB / 297.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.009812, allocations: 10.77 kB / 297.9 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.417e-05/0.009836, allocations: 25.7 kB / 297.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.26e-05/0.009879, allocations: 44.45 kB / 298 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.00988, allocations: 4 kB / 298 MB, free: 0.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.293e-05/0.009953, allocations: 76.44 kB / 298.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.009965, allocations: 8 kB / 298.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.009969, allocations: 0 / 298.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.009977, allocations: 0 / 298.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.01005, allocations: 19.98 kB / 298.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.01005, allocations: 3.938 kB / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.01008, allocations: 4 kB / 298.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.01008, allocations: 4 kB / 298.1 MB, free: 0.6289 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.256e-05/0.01014, allocations: 124.6 kB / 298.2 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.01016, allocations: 11.94 kB / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.88e-05/0.01025, allocations: 79.06 kB / 298.3 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01026, allocations: 0 / 298.3 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.01026, allocations: 0 / 298.3 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01026, allocations: 0 / 298.3 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.01047, allocations: 299.4 kB / 298.6 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01047, allocations: 0 / 298.6 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.0105, allocations: 11.98 kB / 298.6 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.01051, allocations: 7.953 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.01052, allocations: 12.02 kB / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.01052, allocations: 384 / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01052, allocations: 0 / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.01053, allocations: 4 kB / 298.6 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.01068, allocations: 227 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.0107, allocations: 0 / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.46e-05/0.01074, allocations: 4 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.01077, allocations: 7.984 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.01078, allocations: 4 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.965e-05/0.01083, allocations: 51.62 kB / 298.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01083, allocations: 4 kB / 298.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001419/0.01097, allocations: 20 kB / 298.9 MB, free: 15.71 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.00165/0.01262, allocations: 0.638 MB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.01272, allocations: 44.78 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.01273, allocations: 4 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.494e-05/0.01277, allocations: 28.92 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.01297, allocations: 46.28 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005703/0.01354, allocations: 215.8 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.795e-05/0.01359, allocations: 71.33 kB / 300 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.931e-05/0.01363, allocations: 17.09 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.21e-05/0.01371, allocations: 67.36 kB / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of SimCode: time 1.392e-06/0.01371, allocations: 0 / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of Templates: time 0.003798/0.01751, allocations: 2.05 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.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.02249404322356]