Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.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.001631/0.001631, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001951/0.001951, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.513/1.513, allocations: 230.2 MB / 255.2 MB, free: 15.26 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.24/0.24, allocations: 46.87 MB / 358.1 MB, free: 10.55 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87") [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.002275/0.002275, allocations: 83.88 kB / 0.4925 GB, free: 8.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1358, allocations: 66 MB / 0.5569 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004242/0.14, allocations: 2.278 MB / 0.5591 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.1426, allocations: 1.33 MB / 0.5604 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.1427, allocations: 7.938 kB / 0.5604 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.1432, allocations: 135.3 kB / 0.5606 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006081/0.1438, allocations: 266.8 kB / 0.5608 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.1443, allocations: 183.5 kB / 0.561 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006023/0.1449, allocations: 466.6 kB / 0.5614 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.145, allocations: 45.06 kB / 0.5615 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004547/0.1455, allocations: 342.9 kB / 0.5618 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.1457, allocations: 175.1 kB / 0.562 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.1458, allocations: 20 kB / 0.562 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.146, allocations: 71.98 kB / 0.5621 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.1461, allocations: 147.4 kB / 0.5622 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.1463, allocations: 206.3 kB / 0.5624 GB, free: 300 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006037/0.1469, allocations: 489.4 kB / 0.5629 GB, free: 15.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1469, allocations: 0 / 0.5629 GB, free: 15.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1469, allocations: 0 / 0.5629 GB, free: 15.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1469, allocations: 0 / 0.5629 GB, free: 15.81 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001289/0.1482, allocations: 0.9172 MB / 0.5638 GB, free: 14.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1483, allocations: 8.031 kB / 0.5638 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.1484, allocations: 72.47 kB / 0.5638 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.149, allocations: 452.8 kB / 0.5643 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.1491, allocations: 8.375 kB / 0.5643 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.1491, allocations: 24.31 kB / 0.5643 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004141/0.1495, allocations: 201.2 kB / 0.5645 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1495, allocations: 3.938 kB / 0.5645 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.1496, allocations: 15.97 kB / 0.5645 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.1496, allocations: 4 kB / 0.5645 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.1498, allocations: 87.92 kB / 0.5646 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1509, allocations: 0.8367 MB / 0.5654 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006639/0.1515, allocations: 230.5 kB / 0.5656 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.1517, allocations: 83.52 kB / 0.5657 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.1518, allocations: 7.938 kB / 0.5657 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004063/0.1522, allocations: 200.3 kB / 0.5659 GB, free: 12.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.1522, allocations: 0 / 0.5659 GB, free: 12.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.00258/0.1547, allocations: 1.198 MB / 0.5671 GB, free: 11.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.1549, allocations: 144.5 kB / 0.5672 GB, free: 11.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.156, allocations: 0.9497 MB / 0.5682 GB, free: 10.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/0.156, allocations: 37.7 kB / 0.5682 GB, free: 10.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.1563, allocations: 277 kB / 0.5685 GB, free: 9.785 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.1564, allocations: 150.8 kB / 0.5686 GB, free: 9.637 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.1565, allocations: 82.02 kB / 0.5687 GB, free: 9.547 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1567, allocations: 325.9 kB / 0.569 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.1569, allocations: 112.8 kB / 0.5691 GB, free: 9.113 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.1572, allocations: 191.1 kB / 0.5693 GB, free: 8.906 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.1577, allocations: 311.1 kB / 0.5696 GB, free: 8.578 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.1577, allocations: 4 kB / 0.5696 GB, free: 8.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007774/0.1585, allocations: 449.1 kB / 0.57 GB, free: 8.129 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1585, allocations: 4 kB / 0.57 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.1585, allocations: 4 kB / 0.57 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1586, allocations: 0 / 0.57 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.1588, allocations: 91.89 kB / 0.5701 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.1589, allocations: 8.125 kB / 0.5701 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.159, allocations: 16 kB / 0.5701 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.159, allocations: 23.92 kB / 0.5702 GB, free: 7.984 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002844/0.1593, allocations: 251.9 kB / 0.5704 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1594, allocations: 83.42 kB / 0.5705 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.1596, allocations: 90.67 kB / 0.5706 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.1596, allocations: 8 kB / 0.5706 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1596, allocations: 0 / 0.5706 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1596, allocations: 0 / 0.5706 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.1614, allocations: 1.349 MB / 0.5719 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.1614, allocations: 7.984 kB / 0.5719 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.1615, allocations: 59.86 kB / 0.5719 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.1616, allocations: 4 kB / 0.572 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.1616, allocations: 19.98 kB / 0.572 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.1616, allocations: 4 kB / 0.572 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1616, allocations: 4 kB / 0.572 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009539/0.1626, allocations: 0.8019 MB / 0.5728 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.1627, allocations: 180.5 kB / 0.5729 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.767e-05/0.1628, allocations: 16 kB / 0.573 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.1631, allocations: 15.98 kB / 0.573 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/0.1632, allocations: 51.83 kB / 0.573 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.1632, allocations: 23.98 kB / 0.573 GB, free: 4.867 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007939/0.164, allocations: 0.6982 MB / 0.5737 GB, free: 4.176 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.164, allocations: 0 / 0.5737 GB, free: 4.176 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005204/0.1645, allocations: 92.3 kB / 0.5738 GB, free: 4.086 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001943/0.1665, allocations: 0.534 MB / 0.5743 GB, free: 3.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000637/0.1671, allocations: 291.6 kB / 0.5746 GB, free: 3.461 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1671, allocations: 3.938 kB / 0.5746 GB, free: 3.457 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.1674, allocations: 143.8 kB / 0.5747 GB, free: 3.316 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009403/0.1684, allocations: 121 kB / 0.5749 GB, free: 3.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.1702, allocations: 1.27 MB / 0.5761 GB, free: 1.863 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006101/0.1708, allocations: 0.9205 MB / 0.577 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.171, allocations: 55.42 kB / 0.5771 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.171, allocations: 0 / 0.5771 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of Templates: time 0.01101/0.182, allocations: 6.861 MB / 0.5838 GB, free: 10.03 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.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.99971182201989]