Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.001236/0.001236, allocations: 118.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.001305/0.001305, allocations: 206.6 kB / 22.12 MB, free: 0.9219 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.538/1.538, allocations: 230.3 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.2519/0.2519, allocations: 46.93 MB / 358.2 MB, free: 10.52 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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [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.002497/0.002497, allocations: 83.84 kB / 0.4925 GB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.155, allocations: 66 MB / 0.557 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.004034/0.159, allocations: 1.711 MB / 0.5587 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1602, allocations: 0.5995 MB / 0.5592 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.426e-05/0.1603, allocations: 4 kB / 0.5592 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.1606, allocations: 27.84 kB / 0.5593 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.1609, allocations: 75.56 kB / 0.5593 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.1613, allocations: 190.9 kB / 0.5595 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.1615, allocations: 91.7 kB / 0.5596 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1616, allocations: 19.97 kB / 0.5596 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.009e-05/0.1617, allocations: 43.84 kB / 0.5597 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.1618, allocations: 39.83 kB / 0.5597 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1618, allocations: 8 kB / 0.5597 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.162, allocations: 111.9 kB / 0.5598 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.1621, allocations: 23.91 kB / 0.5599 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.1622, allocations: 39.73 kB / 0.5599 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.1625, allocations: 167.4 kB / 0.5601 GB, free: 2.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1625, allocations: 0 / 0.5601 GB, free: 2.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1625, allocations: 0 / 0.5601 GB, free: 2.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1625, allocations: 0 / 0.5601 GB, free: 2.621 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007399/0.1632, allocations: 438.6 kB / 0.5605 GB, free: 2.141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1633, allocations: 23.91 kB / 0.5605 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.1633, allocations: 12.84 kB / 0.5605 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.1636, allocations: 203.2 kB / 0.5607 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.1636, allocations: 4.359 kB / 0.5607 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.1637, allocations: 8.375 kB / 0.5607 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.164, allocations: 95.42 kB / 0.5608 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.164, allocations: 0 / 0.5608 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.164, allocations: 4 kB / 0.5608 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.164, allocations: 0 / 0.5608 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.1643, allocations: 75.91 kB / 0.5609 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006581/0.165, allocations: 340.8 kB / 0.5612 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.1652, allocations: 74.47 kB / 0.5613 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.1654, allocations: 48.94 kB / 0.5613 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1654, allocations: 0 / 0.5613 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1655, allocations: 34.56 kB / 0.5614 GB, free: 1.117 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.1655, allocations: 0 / 0.5614 GB, free: 1.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001718/0.1672, allocations: 413.2 kB / 0.5617 GB, free: 0.707 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.1672, allocations: 81.11 kB / 0.5618 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.1674, allocations: 162.4 kB / 0.562 GB, free: 444 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.1675, allocations: 29.7 kB / 0.562 GB, free: 408 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.1675, allocations: 100.1 kB / 0.5621 GB, free: 304 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.1676, allocations: 31.73 kB / 0.5621 GB, free: 272 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.1676, allocations: 25.7 kB / 0.5622 GB, free: 240 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1678, allocations: 322.8 kB / 0.5625 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.1681, allocations: 83.91 kB / 0.5625 GB, free: 15.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.1684, allocations: 89.62 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005963/0.169, allocations: 181 kB / 0.5628 GB, free: 15.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.169, allocations: 0 / 0.5628 GB, free: 15.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006739/0.1697, allocations: 213.4 kB / 0.563 GB, free: 15.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1697, allocations: 11.94 kB / 0.563 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1697, allocations: 0 / 0.563 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1697, allocations: 0 / 0.563 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.1699, allocations: 35.95 kB / 0.5631 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1699, allocations: 4 kB / 0.5631 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.1701, allocations: 35.84 kB / 0.5631 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1701, allocations: 4 kB / 0.5631 GB, free: 15.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001105/0.1702, allocations: 117.8 kB / 0.5632 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.1703, allocations: 11.95 kB / 0.5632 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007264/0.171, allocations: 222.2 kB / 0.5634 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.171, allocations: 0 / 0.5634 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.171, allocations: 0 / 0.5634 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.171, allocations: 3.938 kB / 0.5634 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.172, allocations: 0.5217 MB / 0.5639 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.172, allocations: 0 / 0.5639 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.1722, allocations: 35.95 kB / 0.564 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.1722, allocations: 3.938 kB / 0.564 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1722, allocations: 0 / 0.564 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1722, allocations: 8 kB / 0.564 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1722, allocations: 0 / 0.564 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000725/0.1729, allocations: 311.5 kB / 0.5643 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.173, allocations: 89 kB / 0.5644 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.173, allocations: 0 / 0.5644 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.1732, allocations: 27.97 kB / 0.5644 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.1733, allocations: 7.984 kB / 0.5644 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1733, allocations: 0 / 0.5644 GB, free: 13.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1734, allocations: 127.9 kB / 0.5645 GB, free: 13.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1734, allocations: 0 / 0.5645 GB, free: 13.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.1737, allocations: 51.86 kB / 0.5646 GB, free: 13.62 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.001782/0.1755, allocations: 0.496 MB / 0.5651 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006998/0.1762, allocations: 175.7 kB / 0.5652 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1762, allocations: 0 / 0.5652 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.1765, allocations: 87.84 kB / 0.5653 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1769, allocations: 27.92 kB / 0.5653 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.1775, allocations: 255.9 kB / 0.5656 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.1778, allocations: 0.7002 MB / 0.5663 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.1779, allocations: 23.42 kB / 0.5663 GB, free: 11.97 MB / 430.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1779, allocations: 0 / 0.5663 GB, free: 11.97 MB / 430.1 MB Notification: Performance of Templates: time 0.00497/0.1829, allocations: 2.624 MB / 0.5689 GB, free: 9.352 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_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: 7.844046280006296]