Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.001124/0.001124, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003783/0.004907, 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.001129/0.001129, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001448/0.002577, 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.022/1.022, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.124, allocations: 53.87 MB / 243.8 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.3467/0.3467, allocations: 34.86 MB / 279.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02741/0.3741, allocations: 13.23 MB / 292.6 MB, free: 6.469 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 294 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.875e-05, allocations: 4.766 kB / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00205/0.002069, allocations: 1.799 MB / 295.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.003289, allocations: 1.033 MB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.003366, allocations: 0 / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.00356, allocations: 51.69 kB / 296.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.0038, allocations: 95.53 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.004006, allocations: 83.61 kB / 297 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.004184, allocations: 107.6 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.549e-05/0.004269, allocations: 4 kB / 297.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.004393, allocations: 87.73 kB / 297.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.505e-05/0.004468, allocations: 23.92 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.004483, allocations: 4 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.561e-05/0.004569, allocations: 43.92 kB / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.004614, allocations: 31.86 kB / 297.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.004655, allocations: 15.94 kB / 297.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.004823, allocations: 119.5 kB / 297.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.659e-05/0.00484, allocations: 4 kB / 297.5 MB, free: 1.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004841, allocations: 0 / 297.5 MB, free: 1.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.004857, allocations: 0 / 297.5 MB, free: 1.59 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.0004575/0.005315, allocations: 368.8 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.005348, allocations: 8.922 kB / 297.8 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.005382, allocations: 16.92 kB / 297.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.005541, allocations: 153.5 kB / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.005557, allocations: 8.312 kB / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.005573, allocations: 384 / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.005688, allocations: 65.77 kB / 298.1 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.005698, allocations: 4.125 kB / 298.1 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.005707, allocations: 12.36 kB / 298.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.005713, allocations: 3.938 kB / 298.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.8e-05/0.005741, allocations: 11.98 kB / 298.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.005946, allocations: 169.9 kB / 298.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/0.006039, allocations: 89.27 kB / 298.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.006058, allocations: 8.859 kB / 298.4 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.00607, allocations: 8 kB / 298.4 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.843e-05/0.006168, allocations: 62.16 kB / 298.4 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.00617, allocations: 0 / 298.4 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003067/0.006476, allocations: 117.5 kB / 298.5 MB, free: 408 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.006505, allocations: 51.41 kB / 298.6 MB, free: 344 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.006647, allocations: 222.7 kB / 298.8 MB, free: 108 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.006664, allocations: 25.7 kB / 298.8 MB, free: 76 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.006708, allocations: 104 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.006737, allocations: 27.78 kB / 299 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.006771, allocations: 25.7 kB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.006854, allocations: 330.8 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.006875, allocations: 14.81 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-05/0.0069, allocations: 18.66 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.461e-05/0.006944, allocations: 48.44 kB / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.006945, allocations: 0 / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.858e-05/0.007024, allocations: 76.5 kB / 299.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.007036, allocations: 7.938 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.00704, allocations: 0 / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.007049, allocations: 4 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.007116, allocations: 20.02 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.00712, allocations: 4 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/0.007147, allocations: 0 / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.007153, allocations: 4 kB / 299.5 MB, free: 15.36 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.341e-05/0.007216, allocations: 115.1 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.007231, allocations: 15.92 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.007338, allocations: 83.62 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.00734, allocations: 3.938 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.007343, allocations: 0 / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.007346, allocations: 384 / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.007572, allocations: 311.5 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.007576, allocations: 7.938 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.993e-05/0.007606, allocations: 12 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.007618, allocations: 11.91 kB / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.007621, allocations: 0 / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.007627, allocations: 3.938 kB / 300.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.007632, allocations: 7.984 kB / 300.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007633, allocations: 0 / 300.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.007738, allocations: 214.7 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.007757, allocations: 4 kB / 300.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.294e-05/0.0078, allocations: 11.95 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.007826, allocations: 4 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.007841, allocations: 11.98 kB / 300.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.131e-05/0.007902, allocations: 71.62 kB / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007902, allocations: 0 / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001509/0.008053, allocations: 31.92 kB / 300.4 MB, free: 14.4 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.001399/0.009452, allocations: 0.6055 MB / 301 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.009554, allocations: 44.77 kB / 301.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.009561, allocations: 0 / 301.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.316e-05/0.009594, allocations: 36.86 kB / 301.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.009785, allocations: 47.5 kB / 301.1 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.01026, allocations: 280.7 kB / 301.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.45e-05/0.0103, allocations: 75.33 kB / 301.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.73e-05/0.01034, allocations: 12.98 kB / 301.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/0.01041, allocations: 71.36 kB / 301.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01041, allocations: 3.938 kB / 301.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of Templates: time 0.00398/0.01439, allocations: 2.064 MB / 303.6 MB, free: 11.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.9247264908626676]