Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.001106/0.001106, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001141/0.001141, allocations: 166.8 kB / 25.61 MB, free: 8.582 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 1.078/1.078, allocations: 177 MB / 205.9 MB, free: 4.465 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.1651/0.1651, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 179] 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 4 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.59e-05, allocations: 2.312 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002063/0.002079, allocations: 1.744 MB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.003696, allocations: 1.726 MB / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.335e-05/0.003789, allocations: 0 / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.004114, allocations: 39.7 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.004476, allocations: 99.53 kB / 383.7 MB, free: 19.03 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.00467, allocations: 83.48 kB / 383.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.004833, allocations: 115.6 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.004941, allocations: 8 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.415e-05/0.005035, allocations: 55.83 kB / 384 MB, free: 18.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.00515, allocations: 31.91 kB / 384 MB, free: 18.74 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.005169, allocations: 8 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.005336, allocations: 103.8 kB / 384.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.62e-05/0.005392, allocations: 27.91 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.005429, allocations: 15.94 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.005646, allocations: 155.5 kB / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.005649, allocations: 4 kB / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.00565, allocations: 0 / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005654, allocations: 0 / 384.3 MB, free: 18.43 MB / 314.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.0004517/0.006106, allocations: 463.6 kB / 384.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.006149, allocations: 8.031 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.006196, allocations: 20.89 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.006357, allocations: 144 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.006376, allocations: 4.375 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.006397, allocations: 8.359 kB / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.006536, allocations: 108 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.00655, allocations: 7.922 kB / 385.1 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.006559, allocations: 0 / 385.1 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.006565, allocations: 0 / 385.1 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.072e-05/0.006596, allocations: 15.94 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.006826, allocations: 256.4 kB / 385.3 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.299e-05/0.006918, allocations: 55.16 kB / 385.4 MB, free: 17.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.006941, allocations: 11.69 kB / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.006957, allocations: 7.938 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.597e-05/0.007053, allocations: 72.97 kB / 385.5 MB, free: 17.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.007055, allocations: 0 / 385.5 MB, free: 17.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003531/0.007408, allocations: 141.4 kB / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.007439, allocations: 77.11 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.007534, allocations: 206.9 kB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.007544, allocations: 33.7 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.007583, allocations: 150.8 kB / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.007609, allocations: 23.84 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.007643, allocations: 27.36 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.007705, allocations: 0.4962 MB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.007719, allocations: 8 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.007754, allocations: 64.75 kB / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.101e-05/0.007795, allocations: 47.28 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.007797, allocations: 384 / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.034e-05/0.007887, allocations: 93.55 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.007899, allocations: 7.938 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.007904, allocations: 0 / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.007917, allocations: 4 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.837e-05/0.007986, allocations: 19.98 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.00799, allocations: 0 / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/0.008024, allocations: 7.891 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.00803, allocations: 4 kB / 386.9 MB, free: 15.63 MB / 314.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.076e-05/0.008091, allocations: 166.3 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.008112, allocations: 15.89 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.008238, allocations: 102.5 kB / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.008241, allocations: 0 / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.008243, allocations: 0 / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.008248, allocations: 0 / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.008472, allocations: 361.6 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.008474, allocations: 0 / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.738e-05/0.008502, allocations: 19.92 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.008505, allocations: 0 / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.008512, allocations: 0 / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.008514, allocations: 4 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.008515, allocations: 4.031 kB / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.008628, allocations: 251.4 kB / 387.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.008641, allocations: 11.95 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.008657, allocations: 0 / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.378e-05/0.008701, allocations: 7.984 kB / 387.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.008732, allocations: 8 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.008745, allocations: 7.984 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.836e-05/0.008793, allocations: 155.2 kB / 387.9 MB, free: 14.47 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008793, allocations: 0 / 387.9 MB, free: 14.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.009004, allocations: 47.88 kB / 388 MB, free: 14.42 MB / 314.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.001087/0.01009, allocations: 0.5348 MB / 388.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.01022, allocations: 43.61 kB / 388.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01022, allocations: 0 / 388.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.01025, allocations: 35.55 kB / 388.6 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.01047, allocations: 48.12 kB / 388.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.01077, allocations: 207.7 kB / 388.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.209e-05/0.0108, allocations: 63.34 kB / 388.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.217e-05/0.01084, allocations: 21.09 kB / 388.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.01091, allocations: 98.12 kB / 389 MB, free: 13.52 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01091, allocations: 0 / 389 MB, free: 13.52 MB / 314.7 MB Notification: Performance of Templates: time 0.004229/0.01514, allocations: 2.81 MB / 391.8 MB, free: 10.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.710764122195542]