Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.001149/0.001149, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.002172/0.002172, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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.037/1.037, allocations: 177 MB / 204.8 MB, free: 5.59 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.2981/0.2981, allocations: 34.87 MB / 296.3 MB, free: 0.5117 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 4 kB / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.569e-05, allocations: 2.312 kB / 378.9 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002237/0.002262, allocations: 1.764 MB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.004151, allocations: 1.737 MB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.004225, allocations: 7.938 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.004556, allocations: 27.83 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.004954, allocations: 115.3 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.00516, allocations: 79.61 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.005335, allocations: 103.7 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.478e-05/0.005419, allocations: 4 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.526e-05/0.005505, allocations: 71.75 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.704e-05/0.005602, allocations: 31.89 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.005617, allocations: 4 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.005761, allocations: 103.8 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.00581, allocations: 23.86 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.005848, allocations: 19.92 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.00607, allocations: 159.5 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.006073, allocations: 4 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006073, allocations: 0 / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.006078, allocations: 0 / 383.1 MB, free: 13.72 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.0005228/0.006601, allocations: 455.8 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.006638, allocations: 8.031 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.006692, allocations: 12.89 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.006878, allocations: 153 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.006896, allocations: 4.375 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.006915, allocations: 384 / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.007084, allocations: 120 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.007097, allocations: 7.891 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.007108, allocations: 0 / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.007116, allocations: 0 / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.007151, allocations: 11.98 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.00744, allocations: 279.8 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.007544, allocations: 55.11 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.007576, allocations: 23.61 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.007587, allocations: 0 / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.481e-05/0.007682, allocations: 73.05 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.007683, allocations: 0 / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003831/0.008066, allocations: 153.3 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.008105, allocations: 81.11 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.008232, allocations: 215.3 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.008244, allocations: 29.69 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.008293, allocations: 142.9 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.008317, allocations: 23.78 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.008349, allocations: 35.31 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.00846, allocations: 0.4923 MB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.008482, allocations: 15.98 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.251e-05/0.008524, allocations: 69.12 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.555e-05/0.00858, allocations: 51.31 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.008581, allocations: 3.938 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.909e-05/0.00868, allocations: 93.53 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.008692, allocations: 4 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.008698, allocations: 4 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.008711, allocations: 0 / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.849e-05/0.00878, allocations: 19.92 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.008784, allocations: 4.062 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.008813, allocations: 4 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.00882, allocations: 8 kB / 385.7 MB, free: 10.86 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.114e-05/0.008892, allocations: 166.9 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.008907, allocations: 11.95 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.00905, allocations: 106.5 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009052, allocations: 0 / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.009056, allocations: 3.984 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.00906, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.009321, allocations: 396.9 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.009322, allocations: 0 / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.506e-05/0.009347, allocations: 11.98 kB / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.009349, allocations: 0 / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.009358, allocations: 4 kB / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.009359, allocations: 0 / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.00936, allocations: 0 / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.009495, allocations: 255.4 kB / 386.6 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.009507, allocations: 11.95 kB / 386.6 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.009524, allocations: 4 kB / 386.7 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.029e-05/0.009564, allocations: 3.984 kB / 386.7 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.009594, allocations: 12.02 kB / 386.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.009607, allocations: 15.92 kB / 386.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.848e-05/0.009675, allocations: 161.5 kB / 386.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009675, allocations: 0 / 386.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001951/0.00987, allocations: 51.86 kB / 386.9 MB, free: 9.578 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.001073/0.01094, allocations: 0.5376 MB / 387.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.01107, allocations: 51.61 kB / 387.5 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01107, allocations: 0 / 387.5 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.054e-05/0.01111, allocations: 31.8 kB / 387.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.01132, allocations: 35.91 kB / 387.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.01166, allocations: 205.9 kB / 387.7 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.95e-05/0.0117, allocations: 63.34 kB / 387.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.157e-05/0.01174, allocations: 16.97 kB / 387.8 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.01177, allocations: 20.5 kB / 387.8 MB, free: 8.719 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01177, allocations: 0 / 387.8 MB, free: 8.719 MB / 362.7 MB Notification: Performance of Templates: time 0.004494/0.01627, allocations: 2.756 MB / 390.6 MB, free: 5.996 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.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.216278382577002]