Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.00195/0.00195, allocations: 116.3 kB / 18.45 MB, free: 4.59 MB / 14.72 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.002374/0.002374, allocations: 209 kB / 21.41 MB, free: 1.645 MB / 14.72 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.6/1.6, allocations: 227.4 MB / 251.7 MB, free: 64 kB / 190.1 MB " [Timeout remaining time 178] 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.2395/0.2395, allocations: 46.17 MB / 351.1 MB, free: 14.29 MB / 286.1 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 79.75 kB / 490.3 MB, free: 27.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1496, allocations: 62.45 MB / 0.5398 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003373/0.153, allocations: 1.731 MB / 0.5414 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.1552, allocations: 1.021 MB / 0.5424 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1553, allocations: 7.875 kB / 0.5425 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.1557, allocations: 35.77 kB / 0.5425 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.1561, allocations: 99.53 kB / 0.5426 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.1563, allocations: 71.73 kB / 0.5426 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.1566, allocations: 107.7 kB / 0.5428 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1567, allocations: 12 kB / 0.5428 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1568, allocations: 47.77 kB / 0.5428 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1569, allocations: 35.8 kB / 0.5428 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.157, allocations: 4 kB / 0.5428 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1571, allocations: 43.98 kB / 0.5429 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/0.1572, allocations: 19.91 kB / 0.5429 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.109e-05/0.1572, allocations: 31.75 kB / 0.5429 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.1575, allocations: 119.4 kB / 0.5431 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1576, allocations: 0 / 0.5431 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1576, allocations: 0 / 0.5431 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.1576, allocations: 7.984 kB / 0.5431 GB, free: 0.75 MB / 398.1 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.0006639/0.1583, allocations: 410.8 kB / 0.5435 GB, free: 308 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1583, allocations: 8.031 kB / 0.5435 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.1584, allocations: 16.84 kB / 0.5435 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.1587, allocations: 208.2 kB / 0.5437 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1588, allocations: 4.375 kB / 0.5437 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1588, allocations: 4.359 kB / 0.5437 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.159, allocations: 61.92 kB / 0.5437 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.159, allocations: 11.94 kB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.159, allocations: 0 / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.1591, allocations: 3.984 kB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.068e-05/0.1591, allocations: 19.98 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.1596, allocations: 284.8 kB / 0.544 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.1598, allocations: 58.62 kB / 0.5441 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.831e-05/0.1599, allocations: 24.84 kB / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1599, allocations: 0 / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.1601, allocations: 67.39 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1601, allocations: 0 / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005997/0.1607, allocations: 181.3 kB / 0.5444 GB, free: 15.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.1608, allocations: 51.41 kB / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.1611, allocations: 185.2 kB / 0.5446 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.1612, allocations: 29.7 kB / 0.5446 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.017e-05/0.1613, allocations: 96.14 kB / 0.5447 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.1613, allocations: 31.77 kB / 0.5447 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.1614, allocations: 21.72 kB / 0.5448 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003232/0.1617, allocations: 326.8 kB / 0.5451 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.093e-05/0.1618, allocations: 19.98 kB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.442e-05/0.1618, allocations: 49.58 kB / 0.5451 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.162, allocations: 57.7 kB / 0.5452 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.162, allocations: 0 / 0.5452 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002131/0.1622, allocations: 105.6 kB / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1622, allocations: 4 kB / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1622, allocations: 0 / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1623, allocations: 0 / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.888e-05/0.1624, allocations: 24.02 kB / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1624, allocations: 0 / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.1624, allocations: 8 kB / 0.5453 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1625, allocations: 0 / 0.5453 GB, free: 14.19 MB / 414.1 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 0.00014/0.1626, allocations: 131.1 kB / 0.5455 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.1626, allocations: 11.95 kB / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.709e-05/0.1627, allocations: 13.41 kB / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1627, allocations: 3.984 kB / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1627, allocations: 0 / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.1627, allocations: 4 kB / 0.5455 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005372/0.1633, allocations: 403.2 kB / 0.5459 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1633, allocations: 0 / 0.5459 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.1633, allocations: 12 kB / 0.5459 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1633, allocations: 0 / 0.5459 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1634, allocations: 7.984 kB / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1634, allocations: 3.938 kB / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1634, allocations: 0 / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1636, allocations: 200.3 kB / 0.5461 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.575e-05/0.1637, allocations: 93.02 kB / 0.5462 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.1638, allocations: 0 / 0.5462 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.1638, allocations: 12.3 kB / 0.5462 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.1639, allocations: 4 kB / 0.5462 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.1639, allocations: 8 kB / 0.5462 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.1641, allocations: 144.9 kB / 0.5463 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1641, allocations: 0 / 0.5463 GB, free: 13.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1643, allocations: 23.94 kB / 0.5464 GB, free: 13.02 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.001775/0.1661, allocations: 452 kB / 0.5468 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.1663, allocations: 67.89 kB / 0.5469 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1664, allocations: 0 / 0.5469 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.79e-05/0.1664, allocations: 23.98 kB / 0.5469 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.1669, allocations: 36.42 kB / 0.5469 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.1674, allocations: 219 kB / 0.5471 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/0.168, allocations: 0.7119 MB / 0.5478 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.803e-05/0.168, allocations: 20.86 kB / 0.5478 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.1681, allocations: 23.42 kB / 0.5479 GB, free: 11.59 MB / 414.1 MB Notification: Performance of SimCode: time 2e-07/0.1681, allocations: 0 / 0.5479 GB, free: 11.59 MB / 414.1 MB Notification: Performance of Templates: time 0.005495/0.1736, allocations: 1.729 MB / 0.5495 GB, free: 9.883 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.432407350279391]