Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.001338/0.001338, allocations: 83.67 kB / 21.7 MB, free: 2.852 MB / 18.57 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.001532/0.001532, allocations: 160.2 kB / 24.99 MB, free: 9.289 MB / 18.57 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.923/0.923, allocations: 177 MB / 205.2 MB, free: 5.578 MB / 186.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.2645/0.2645, allocations: 34.86 MB / 296.6 MB, free: 0.5469 MB / 266.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 378.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.366e-05, allocations: 4.703 kB / 378.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002342/0.002366, allocations: 1.762 MB / 380.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.00357, allocations: 1.012 MB / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.106e-05/0.003661, allocations: 0 / 381.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.003969, allocations: 51.69 kB / 381.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.004267, allocations: 111.5 kB / 381.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.004455, allocations: 75.67 kB / 381.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.004607, allocations: 107.6 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.54e-05/0.004693, allocations: 4 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.09e-05/0.004774, allocations: 59.81 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.004839, allocations: 27.86 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.004854, allocations: 4 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.806e-05/0.004932, allocations: 43.92 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.004984, allocations: 31.84 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.005023, allocations: 27.92 kB / 382.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.005196, allocations: 107.6 kB / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.005199, allocations: 4 kB / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.0052, allocations: 0 / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.005203, allocations: 0 / 382.3 MB, free: 14.86 MB / 362.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.0004481/0.005651, allocations: 479.6 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.005684, allocations: 11.97 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.005732, allocations: 16.84 kB / 382.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.005901, allocations: 161.3 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.00592, allocations: 4.375 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.005938, allocations: 8.375 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.006064, allocations: 62.94 kB / 383 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.006073, allocations: 4.125 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.006083, allocations: 4.375 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.006091, allocations: 3.938 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.326e-05/0.006124, allocations: 11.98 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.006416, allocations: 303.7 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.838e-05/0.006515, allocations: 55.17 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.006543, allocations: 15.69 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.006554, allocations: 4 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.46e-05/0.006648, allocations: 72.92 kB / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.00665, allocations: 0 / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003683/0.007018, allocations: 169.2 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.007046, allocations: 55.41 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.007205, allocations: 273.6 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.007217, allocations: 25.7 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.007281, allocations: 166.9 kB / 384.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.007308, allocations: 27.78 kB / 384.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.00734, allocations: 31.38 kB / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.007451, allocations: 0.5001 MB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.007477, allocations: 15.98 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.007512, allocations: 31.36 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.781e-05/0.00757, allocations: 51.31 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.007571, allocations: 0 / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001051/0.007676, allocations: 97.5 kB / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.007687, allocations: 8 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.007691, allocations: 0 / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.007702, allocations: 7.969 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/0.007775, allocations: 12 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.007781, allocations: 4 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.942e-05/0.007811, allocations: 7.984 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.007816, allocations: 4 kB / 384.9 MB, free: 11.97 MB / 362.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.069e-05/0.007887, allocations: 160.6 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.007905, allocations: 19.84 kB / 385.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.008048, allocations: 111 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.00805, allocations: 0 / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.008054, allocations: 3.984 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.008057, allocations: 4 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.008331, allocations: 413.3 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.008333, allocations: 0 / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.008359, allocations: 12 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.008362, allocations: 4 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.00837, allocations: 3.984 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.008371, allocations: 3.938 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.008374, allocations: 4 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.00851, allocations: 259.4 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.008522, allocations: 19.94 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.008539, allocations: 4 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.047e-05/0.00858, allocations: 0 / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.008611, allocations: 11.98 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.008623, allocations: 4 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.615e-05/0.008719, allocations: 192.5 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008719, allocations: 0 / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.008895, allocations: 31.92 kB / 386.2 MB, free: 10.65 MB / 362.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.0009652/0.00986, allocations: 430.2 kB / 386.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.009974, allocations: 63.53 kB / 386.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.009976, allocations: 0 / 386.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.916e-05/0.01002, allocations: 35.61 kB / 386.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.01024, allocations: 27.98 kB / 386.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.01059, allocations: 258.5 kB / 387 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.8e-05/0.01064, allocations: 71.33 kB / 387 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.716e-05/0.01068, allocations: 25.39 kB / 387.1 MB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.01071, allocations: 16.5 kB / 387.1 MB, free: 9.809 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01071, allocations: 0 / 387.1 MB, free: 9.809 MB / 362.7 MB Notification: Performance of Templates: time 0.003442/0.01415, allocations: 1.885 MB / 389 MB, free: 7.949 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.111104771029204]