Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008222/0.0008222, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.001965, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006949/0.0006949, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009482/0.001643, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9719/0.9719, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1022/1.074, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2988/0.2988, allocations: 34.88 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02955/0.3283, allocations: 13.24 MB / 292.8 MB, free: 6.359 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 294.2 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.739e-05, allocations: 2.312 kB / 294.2 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003998/0.004025, allocations: 1.81 MB / 296 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.006027, allocations: 1.029 MB / 297 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.006155, allocations: 3.938 kB / 297 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.006494, allocations: 43.69 kB / 297.1 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004179/0.006912, allocations: 107.4 kB / 297.2 MB, free: 1.957 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.007272, allocations: 83.55 kB / 297.3 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.007569, allocations: 107.6 kB / 297.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.007732, allocations: 7.984 kB / 297.4 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.007968, allocations: 75.83 kB / 297.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.008084, allocations: 31.89 kB / 297.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.008109, allocations: 4 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.008253, allocations: 47.86 kB / 297.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.719e-05/0.00833, allocations: 19.88 kB / 297.6 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/0.008381, allocations: 15.94 kB / 297.6 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.008674, allocations: 107.5 kB / 297.7 MB, free: 1.465 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-05/0.008697, allocations: 4 kB / 297.7 MB, free: 1.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.0087, allocations: 0 / 297.7 MB, free: 1.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.008716, allocations: 0 / 297.7 MB, free: 1.461 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.0006033/0.00932, allocations: 356.9 kB / 298 MB, free: 1.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.009364, allocations: 8.922 kB / 298 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.009409, allocations: 8.938 kB / 298 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.009661, allocations: 158.3 kB / 298.2 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.009681, allocations: 4.375 kB / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.009708, allocations: 4.375 kB / 298.2 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.009876, allocations: 61.77 kB / 298.3 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.009887, allocations: 4.188 kB / 298.3 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.009896, allocations: 384 / 298.3 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.009906, allocations: 7.938 kB / 298.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.573e-05/0.009941, allocations: 11.92 kB / 298.3 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.01025, allocations: 165.9 kB / 298.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.01038, allocations: 89.34 kB / 298.5 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.01041, allocations: 16.83 kB / 298.6 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.01042, allocations: 4 kB / 298.6 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.01058, allocations: 66.16 kB / 298.6 MB, free: 420 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.01058, allocations: 3.938 kB / 298.6 MB, free: 416 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005284/0.01111, allocations: 121.5 kB / 298.7 MB, free: 288 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.01115, allocations: 51.41 kB / 298.8 MB, free: 224 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.01128, allocations: 192.1 kB / 299 MB, free: 16 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.01131, allocations: 33.7 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.01135, allocations: 92.11 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.01138, allocations: 31.72 kB / 299.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.01142, allocations: 25.7 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.01151, allocations: 322.8 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.01153, allocations: 6.828 kB / 299.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.01156, allocations: 34.62 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.489e-05/0.01161, allocations: 40.47 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01161, allocations: 0 / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.156e-05/0.0117, allocations: 76.55 kB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.01172, allocations: 11.92 kB / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01173, allocations: 0 / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.01174, allocations: 0 / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.848e-05/0.01184, allocations: 19.94 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.01184, allocations: 32 / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.01188, allocations: 16.36 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.01189, allocations: 0 / 299.7 MB, free: 15.27 MB / 298.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.691e-05/0.01197, allocations: 112.7 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.01199, allocations: 19.92 kB / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.0121, allocations: 75.08 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.0121, allocations: 0 / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.0121, allocations: 0 / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01211, allocations: 4 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.01236, allocations: 295.5 kB / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.01236, allocations: 7.969 kB / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.01239, allocations: 8 kB / 300.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/0.01241, allocations: 11.91 kB / 300.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.01242, allocations: 7.984 kB / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.01242, allocations: 0 / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01242, allocations: 0 / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01242, allocations: 0 / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.01253, allocations: 222.7 kB / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.01255, allocations: 3.938 kB / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-05/0.01259, allocations: 7.984 kB / 300.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.01262, allocations: 12 kB / 300.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.01263, allocations: 3.984 kB / 300.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.587e-05/0.01269, allocations: 69.64 kB / 300.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.01269, allocations: 0 / 300.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001466/0.01283, allocations: 27.94 kB / 300.5 MB, free: 14.34 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.001503/0.01434, allocations: 0.6131 MB / 301.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001573/0.01449, allocations: 44.77 kB / 301.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/0.01451, allocations: 4 kB / 301.2 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.27e-05/0.01456, allocations: 32.95 kB / 301.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.01489, allocations: 192 kB / 301.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.01547, allocations: 242.8 kB / 301.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.501e-05/0.01551, allocations: 71.33 kB / 301.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.248e-05/0.01555, allocations: 12.97 kB / 301.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.01562, allocations: 67.36 kB / 301.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01563, allocations: 0 / 301.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of Templates: time 0.003899/0.01952, allocations: 2.055 MB / 303.9 MB, free: 11.29 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9856913406401873]