Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.001194/0.001194, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001825/0.003018, 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.001118/0.001118, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009915/0.00211, 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 1.037/1.037, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1041/1.141, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.2673/0.2673, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02691/0.2942, 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 294 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.334e-05, allocations: 7.516 kB / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003618/0.003651, allocations: 1.801 MB / 295.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.005506, allocations: 1.025 MB / 296.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.917e-05/0.005606, allocations: 0 / 296.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.005884, allocations: 55.67 kB / 296.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.006235, allocations: 95.48 kB / 296.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.006494, allocations: 83.66 kB / 297 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.006717, allocations: 107.6 kB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.006815, allocations: 11.92 kB / 297.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.007, allocations: 67.89 kB / 297.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.0071, allocations: 31.89 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.007121, allocations: 11.88 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.007236, allocations: 43.92 kB / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.007296, allocations: 23.94 kB / 297.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.007343, allocations: 15.94 kB / 297.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.007584, allocations: 115.5 kB / 297.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.722e-05/0.007601, allocations: 0 / 297.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.007602, allocations: 4 kB / 297.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.007621, allocations: 0 / 297.4 MB, free: 1.602 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.0006541/0.008275, allocations: 368.8 kB / 297.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.008321, allocations: 8.922 kB / 297.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.008373, allocations: 16.86 kB / 297.8 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.008595, allocations: 158.4 kB / 298 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.008613, allocations: 4.375 kB / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.008632, allocations: 384 / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.008785, allocations: 69.75 kB / 298.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.008797, allocations: 192 / 298.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.008808, allocations: 4.375 kB / 298.1 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.008818, allocations: 3.938 kB / 298.1 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.207e-05/0.00886, allocations: 12 kB / 298.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.00915, allocations: 173.9 kB / 298.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.00927, allocations: 85.28 kB / 298.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.009295, allocations: 8.859 kB / 298.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.009308, allocations: 0 / 298.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.009441, allocations: 66.2 kB / 298.4 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.009443, allocations: 0 / 298.4 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003889/0.009832, allocations: 121.4 kB / 298.5 MB, free: 424 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.00987, allocations: 55.41 kB / 298.6 MB, free: 356 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.01005, allocations: 216 kB / 298.8 MB, free: 124 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.01007, allocations: 25.7 kB / 298.8 MB, free: 92 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.01014, allocations: 100.2 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.01017, allocations: 27.77 kB / 298.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.01022, allocations: 17.72 kB / 299 MB, free: 15.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.01032, allocations: 330.8 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-05/0.01035, allocations: 10.83 kB / 299.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.01038, allocations: 26.27 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.321e-05/0.01045, allocations: 40.59 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01045, allocations: 0 / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000132/0.01058, allocations: 80.42 kB / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.0106, allocations: 11.88 kB / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.0106, allocations: 0 / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.01061, allocations: 0 / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.01071, allocations: 23.92 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.01071, allocations: 0 / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.058e-05/0.01075, allocations: 4 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.01076, allocations: 4.031 kB / 299.5 MB, free: 15.39 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 9.077e-05/0.01085, allocations: 128.6 kB / 299.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.01087, allocations: 15.92 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.01103, allocations: 80.84 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01103, allocations: 4 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01103, allocations: 0 / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01104, allocations: 0 / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.01136, allocations: 299.4 kB / 300 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.01137, allocations: 4.312 kB / 300 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.01142, allocations: 16.03 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.01144, allocations: 11.91 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.01144, allocations: 0 / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.01146, allocations: 11.98 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01146, allocations: 0 / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.01146, allocations: 0 / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.01164, allocations: 219 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.01166, allocations: 0 / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.01174, allocations: 7.984 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.01177, allocations: 4 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.01179, allocations: 7.984 kB / 300.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.79e-05/0.01187, allocations: 75.62 kB / 300.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01187, allocations: 0 / 300.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.01211, allocations: 24 kB / 300.4 MB, free: 14.43 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.001588/0.0137, allocations: 0.6208 MB / 301 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.01384, allocations: 44.75 kB / 301 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.01385, allocations: 4 kB / 301 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.967e-05/0.01388, allocations: 16.86 kB / 301.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.01411, allocations: 51.83 kB / 301.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.01461, allocations: 272.5 kB / 301.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.029e-05/0.01465, allocations: 75.31 kB / 301.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.576e-05/0.01469, allocations: 20.97 kB / 301.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.01475, allocations: 67.36 kB / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01475, allocations: 0 / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Templates: time 0.003508/0.01826, allocations: 2.075 MB / 303.6 MB, free: 11.48 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.869242714717984]