Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.001541/0.001541, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.002615/0.002615, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.512/1.512, allocations: 230.2 MB / 255.2 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2408/0.2408, allocations: 46.89 MB / 358.1 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 87.86 kB / 0.4925 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1303, allocations: 65.98 MB / 0.5569 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003888/0.1342, allocations: 1.785 MB / 0.5586 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1363, allocations: 1.036 MB / 0.5596 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.522e-05/0.1364, allocations: 4 kB / 0.5596 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.1368, allocations: 111.6 kB / 0.5598 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003889/0.1372, allocations: 131.5 kB / 0.5599 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.1374, allocations: 79.67 kB / 0.56 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.1377, allocations: 143.6 kB / 0.5601 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.1378, allocations: 9.406 kB / 0.5601 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.138, allocations: 67.75 kB / 0.5602 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.1381, allocations: 79.72 kB / 0.5602 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.1382, allocations: 4 kB / 0.5602 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.1383, allocations: 59.92 kB / 0.5603 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.619e-05/0.1384, allocations: 39.84 kB / 0.5603 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.077e-05/0.1385, allocations: 47.67 kB / 0.5604 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.1389, allocations: 163.3 kB / 0.5605 GB, free: 2.062 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1389, allocations: 0 / 0.5605 GB, free: 2.062 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1389, allocations: 0 / 0.5605 GB, free: 2.062 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1389, allocations: 4 kB / 0.5605 GB, free: 2.059 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000793/0.1397, allocations: 466.3 kB / 0.561 GB, free: 1.555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1397, allocations: 11.97 kB / 0.561 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.742e-05/0.1398, allocations: 24.83 kB / 0.561 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.1402, allocations: 225.1 kB / 0.5612 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.1403, allocations: 4.375 kB / 0.5612 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.1403, allocations: 4.375 kB / 0.5613 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.1405, allocations: 73.97 kB / 0.5613 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1405, allocations: 3.953 kB / 0.5613 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.1406, allocations: 7.984 kB / 0.5613 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1406, allocations: 4 kB / 0.5613 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.1407, allocations: 47.78 kB / 0.5614 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.1413, allocations: 328.7 kB / 0.5617 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.1416, allocations: 70.55 kB / 0.5618 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.337e-05/0.1416, allocations: 20.84 kB / 0.5618 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.1417, allocations: 11.94 kB / 0.5618 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.1419, allocations: 71.38 kB / 0.5619 GB, free: 0.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1419, allocations: 4 kB / 0.5619 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009292/0.1428, allocations: 305.8 kB / 0.5622 GB, free: 240 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.1428, allocations: 55.39 kB / 0.5622 GB, free: 172 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.1431, allocations: 267.6 kB / 0.5625 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1431, allocations: 25.7 kB / 0.5625 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.1432, allocations: 120.1 kB / 0.5626 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.1433, allocations: 43.64 kB / 0.5626 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.1433, allocations: 33.72 kB / 0.5627 GB, free: 15.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1435, allocations: 330.8 kB / 0.563 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.744e-05/0.1436, allocations: 39.98 kB / 0.563 GB, free: 15.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.1437, allocations: 58.81 kB / 0.5631 GB, free: 15.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.1439, allocations: 97.66 kB / 0.5632 GB, free: 15.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1439, allocations: 4 kB / 0.5632 GB, free: 15.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002713/0.1442, allocations: 164.9 kB / 0.5633 GB, free: 14.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1442, allocations: 7.938 kB / 0.5633 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1442, allocations: 0 / 0.5633 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1442, allocations: 0 / 0.5633 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.941e-05/0.1443, allocations: 27.98 kB / 0.5634 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1443, allocations: 3.938 kB / 0.5634 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.1443, allocations: 8 kB / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1444, allocations: 4 kB / 0.5634 GB, free: 14.91 MB / 430.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 (16): * Single equations (assignments): 16 * 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.0001416/0.1445, allocations: 145.8 kB / 0.5635 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.1445, allocations: 19.86 kB / 0.5635 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.381e-05/0.1446, allocations: 21.62 kB / 0.5636 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1446, allocations: 3.938 kB / 0.5636 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.1446, allocations: 11.94 kB / 0.5636 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1446, allocations: 0 / 0.5636 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006518/0.1453, allocations: 0.4999 MB / 0.5641 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1453, allocations: 4.062 kB / 0.5641 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.1453, allocations: 19.94 kB / 0.5641 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1453, allocations: 0 / 0.5641 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.1453, allocations: 11.98 kB / 0.5641 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1454, allocations: 4 kB / 0.5641 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1454, allocations: 0 / 0.5641 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.1457, allocations: 261.1 kB / 0.5644 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.1457, allocations: 93.02 kB / 0.5644 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.1458, allocations: 0 / 0.5644 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.1459, allocations: 8 kB / 0.5645 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.1459, allocations: 12.2 kB / 0.5645 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.1459, allocations: 11.98 kB / 0.5645 GB, free: 13.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.1461, allocations: 197.4 kB / 0.5647 GB, free: 13.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1461, allocations: 3.938 kB / 0.5647 GB, free: 13.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.1464, allocations: 35.94 kB / 0.5647 GB, free: 13.44 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001842/0.1482, allocations: 0.5045 MB / 0.5652 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.1485, allocations: 91.91 kB / 0.5653 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1485, allocations: 3.938 kB / 0.5653 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.1486, allocations: 47.92 kB / 0.5653 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.149, allocations: 43 kB / 0.5654 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/0.1496, allocations: 370.2 kB / 0.5657 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.15, allocations: 0.7201 MB / 0.5664 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.1501, allocations: 23.44 kB / 0.5665 GB, free: 11.79 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1501, allocations: 0 / 0.5665 GB, free: 11.79 MB / 430.1 MB Notification: Performance of Templates: time 0.004812/0.1549, allocations: 2.535 MB / 0.5689 GB, free: 9.258 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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: 8.016977632185444]