Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.0009168/0.0009168, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001305/0.002222, allocations: 449.7 kB / 10.37 MB, free: 324 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.0009022/0.0009022, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002289, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9946/0.9946, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09132/1.086, allocations: 53.85 MB / 243.7 MB, free: 14.92 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.2723/0.2723, allocations: 34.86 MB / 279.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02585/0.2981, allocations: 13.23 MB / 292.6 MB, free: 6.48 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 294 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.648e-06/1.109e-05, allocations: 2.859 kB / 294 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.001883/0.001894, allocations: 1.804 MB / 295.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.003056, allocations: 1.031 MB / 296.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.003123, allocations: 4 kB / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.003294, allocations: 47.7 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.0035, allocations: 95.53 kB / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.003653, allocations: 83.53 kB / 297 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.003793, allocations: 95.72 kB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.623e-05/0.003869, allocations: 19.97 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.003982, allocations: 75.77 kB / 297.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.004053, allocations: 31.89 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.004066, allocations: 4 kB / 297.2 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.372e-05/0.00414, allocations: 43.92 kB / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.00418, allocations: 23.88 kB / 297.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.004214, allocations: 15.94 kB / 297.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.004372, allocations: 107.6 kB / 297.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-05/0.004387, allocations: 0 / 297.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004387, allocations: 0 / 297.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.004404, allocations: 0 / 297.4 MB, free: 1.621 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.0004411/0.004845, allocations: 356.8 kB / 297.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.004875, allocations: 12.92 kB / 297.8 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.004904, allocations: 4.938 kB / 297.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.00505, allocations: 155 kB / 297.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.005064, allocations: 4.375 kB / 297.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.005081, allocations: 4.375 kB / 297.9 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.547e-05/0.005176, allocations: 61.77 kB / 298 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.005183, allocations: 192 / 298 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-06/0.005189, allocations: 384 / 298 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.005196, allocations: 3.938 kB / 298 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.108e-05/0.005227, allocations: 23.92 kB / 298 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.005417, allocations: 165.9 kB / 298.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.35e-05/0.005501, allocations: 85.28 kB / 298.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.005522, allocations: 20.91 kB / 298.3 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.005532, allocations: 0 / 298.3 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.607e-05/0.005618, allocations: 62.16 kB / 298.4 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.52e-07/0.005619, allocations: 0 / 298.4 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002577/0.005876, allocations: 113.5 kB / 298.5 MB, free: 472 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.005904, allocations: 55.41 kB / 298.5 MB, free: 404 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.006016, allocations: 196.1 kB / 298.7 MB, free: 192 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.006031, allocations: 29.7 kB / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.854e-05/0.00606, allocations: 92.11 kB / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.006086, allocations: 31.73 kB / 298.9 MB, free: 28 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.006126, allocations: 25.7 kB / 298.9 MB, free: 16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.006207, allocations: 326.8 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.00622, allocations: 6.828 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.006247, allocations: 34.56 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.58e-05/0.006293, allocations: 40.47 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.006294, allocations: 4 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.326e-05/0.006367, allocations: 76.55 kB / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.006379, allocations: 7.938 kB / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.006383, allocations: 4.016 kB / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.006391, allocations: 0 / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.006454, allocations: 19.98 kB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.006458, allocations: 3.984 kB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/0.006482, allocations: 4 kB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.006487, allocations: 0 / 299.4 MB, free: 15.45 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 6.385e-05/0.006551, allocations: 124.7 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.006565, allocations: 11.94 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.006665, allocations: 79.62 kB / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.006668, allocations: 4 kB / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.006669, allocations: 0 / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.006672, allocations: 0 / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.006871, allocations: 295.5 kB / 299.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.006873, allocations: 3.938 kB / 299.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.006898, allocations: 12.38 kB / 299.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.006909, allocations: 15.91 kB / 299.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.00691, allocations: 4.031 kB / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.006917, allocations: 4 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.006918, allocations: 3.984 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.006922, allocations: 7.938 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.173e-05/0.007013, allocations: 210.7 kB / 300.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.007028, allocations: 4 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.467e-05/0.007062, allocations: 4 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.007085, allocations: 11.92 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.007094, allocations: 0 / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.7e-05/0.007141, allocations: 69.69 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007141, allocations: 4 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001441/0.007285, allocations: 27.94 kB / 300.3 MB, free: 14.51 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.001424/0.008709, allocations: 0.6111 MB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.353e-05/0.008803, allocations: 40.78 kB / 300.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.008811, allocations: 4 kB / 300.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.144e-05/0.008843, allocations: 32.92 kB / 301 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.009023, allocations: 46.86 kB / 301 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.009473, allocations: 242.6 kB / 301.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.361e-05/0.009516, allocations: 71.33 kB / 301.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.916e-05/0.009555, allocations: 17.09 kB / 301.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.009621, allocations: 71.34 kB / 301.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.009622, allocations: 0 / 301.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of Templates: time 0.003599/0.01322, allocations: 2.054 MB / 303.5 MB, free: 11.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.975525607354939]