Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 118 kB / 18.46 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.639/1.639, allocations: 230.6 MB / 254.8 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2537/0.2537, allocations: 46.92 MB / 357.8 MB, free: 10.31 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 71.88 kB / 0.4922 GB, free: 7.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.153, allocations: 66 MB / 0.5566 GB, free: 5.227 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.00379/0.1568, allocations: 1.739 MB / 0.5583 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.1589, allocations: 1.058 MB / 0.5593 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.962e-05/0.159, allocations: 0 / 0.5593 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.1594, allocations: 39.77 kB / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.1598, allocations: 91.59 kB / 0.5595 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.16, allocations: 75.67 kB / 0.5595 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.1602, allocations: 111.6 kB / 0.5596 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.1604, allocations: 11.97 kB / 0.5597 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.1605, allocations: 55.77 kB / 0.5597 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1606, allocations: 47.77 kB / 0.5598 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.1606, allocations: 4 kB / 0.5598 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.1609, allocations: 115.9 kB / 0.5599 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.1609, allocations: 23.91 kB / 0.5599 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.161, allocations: 27.81 kB / 0.5599 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.1614, allocations: 179.3 kB / 0.5601 GB, free: 1.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1614, allocations: 0 / 0.5601 GB, free: 1.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1614, allocations: 0 / 0.5601 GB, free: 1.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1614, allocations: 0 / 0.5601 GB, free: 1.641 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006847/0.162, allocations: 442.5 kB / 0.5605 GB, free: 1.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1621, allocations: 12.03 kB / 0.5605 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/0.1622, allocations: 12.89 kB / 0.5605 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.1625, allocations: 208.2 kB / 0.5607 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.1625, allocations: 4.312 kB / 0.5607 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.1626, allocations: 12.11 kB / 0.5608 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.1628, allocations: 67.39 kB / 0.5608 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1628, allocations: 4 kB / 0.5608 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1628, allocations: 4 kB / 0.5608 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1628, allocations: 0 / 0.5608 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.1629, allocations: 23.98 kB / 0.5608 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.1633, allocations: 272.9 kB / 0.5611 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.1635, allocations: 66.55 kB / 0.5612 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.005e-05/0.1636, allocations: 28.97 kB / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1636, allocations: 0 / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.1638, allocations: 71.39 kB / 0.5613 GB, free: 272 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1638, allocations: 0 / 0.5613 GB, free: 272 kB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007373/0.1645, allocations: 213.2 kB / 0.5615 GB, free: 52 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.691e-05/0.1646, allocations: 77.11 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.1648, allocations: 173.6 kB / 0.5617 GB, free: 15.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.1649, allocations: 33.58 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.1649, allocations: 108.1 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.165, allocations: 27.75 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.165, allocations: 37.7 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1652, allocations: 322.8 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.983e-05/0.1653, allocations: 23.98 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.395e-05/0.1654, allocations: 50.56 kB / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1656, allocations: 85.61 kB / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1656, allocations: 0 / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002558/0.1658, allocations: 121.6 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1658, allocations: 7.938 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1658, allocations: 3.938 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1659, allocations: 0 / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.166, allocations: 23.98 kB / 0.5625 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.166, allocations: 0 / 0.5625 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.166, allocations: 11.94 kB / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.166, allocations: 4.031 kB / 0.5625 GB, free: 14.89 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 (13): * Single equations (assignments): 13 * 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.0001316/0.1662, allocations: 126.4 kB / 0.5627 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.1662, allocations: 15.91 kB / 0.5627 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.1663, allocations: 16.7 kB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1663, allocations: 3.938 kB / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1663, allocations: 0 / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.1663, allocations: 7.922 kB / 0.5627 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006071/0.1669, allocations: 427.2 kB / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1669, allocations: 0 / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.1669, allocations: 23.86 kB / 0.5631 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1669, allocations: 0 / 0.5631 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.1669, allocations: 0 / 0.5631 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/0.167, allocations: 8 kB / 0.5631 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.167, allocations: 0 / 0.5631 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.1673, allocations: 224.3 kB / 0.5633 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.1674, allocations: 85 kB / 0.5634 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.1674, allocations: 8 kB / 0.5634 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.1675, allocations: 0 / 0.5634 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.1675, allocations: 7.984 kB / 0.5634 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.1675, allocations: 8 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.1676, allocations: 130.1 kB / 0.5636 GB, free: 13.72 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1676, allocations: 0 / 0.5636 GB, free: 13.72 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003303/0.168, allocations: 59.81 kB / 0.5636 GB, free: 13.66 MB / 430.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 (10): * Single equations (assignments): 8 * 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.002073/0.1701, allocations: 0.5429 MB / 0.5642 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.1703, allocations: 71.89 kB / 0.5642 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1703, allocations: 4.062 kB / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.933e-05/0.1704, allocations: 39.86 kB / 0.5643 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.1708, allocations: 39.3 kB / 0.5643 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.1713, allocations: 244.7 kB / 0.5645 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.1717, allocations: 0.7007 MB / 0.5652 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.1717, allocations: 19.42 kB / 0.5652 GB, free: 12.16 MB / 430.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1717, allocations: 4 kB / 0.5653 GB, free: 12.15 MB / 430.1 MB Notification: Performance of Templates: time 0.006106/0.1779, allocations: 2.562 MB / 0.5678 GB, free: 9.59 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.468416315008653]