Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 98.11 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 178.7 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2295/0.2295, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003618, allocations: 8 kB / 409.5 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1575, allocations: 61.92 MB / 471.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002594/0.1602, allocations: 1.394 MB / 472.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1618, allocations: 0.8075 MB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.162, allocations: 0 / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.1624, allocations: 27.91 kB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.1627, allocations: 47.81 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.1631, allocations: 91.69 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.1633, allocations: 63.92 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1634, allocations: 16.2 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1636, allocations: 35.8 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.1637, allocations: 27.84 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.1637, allocations: 4 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.164, allocations: 47.84 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.164, allocations: 11.92 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.1641, allocations: 41.69 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.1644, allocations: 92.08 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1644, allocations: 4 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1644, allocations: 0 / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1644, allocations: 0 / 474.2 MB, free: 10.99 MB / 350.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.0007419/0.1652, allocations: 398.9 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.1652, allocations: 8.562 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.1653, allocations: 7.906 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.1656, allocations: 199 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.1656, allocations: 3.953 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.1657, allocations: 11.91 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.1659, allocations: 71.39 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1659, allocations: 3.938 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1659, allocations: 4 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1659, allocations: 0 / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.551e-05/0.166, allocations: 15.98 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.1665, allocations: 280.9 kB / 475.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.1667, allocations: 66.55 kB / 475.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.1667, allocations: 0 / 475.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.1669, allocations: 71.5 kB / 475.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.1669, allocations: 0 / 475.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007349/0.1677, allocations: 205.2 kB / 475.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.1678, allocations: 77.11 kB / 475.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.168, allocations: 159.5 kB / 475.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.168, allocations: 29.7 kB / 475.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.1681, allocations: 92.33 kB / 475.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.1681, allocations: 27.64 kB / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.1681, allocations: 4 kB / 475.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1683, allocations: 326.8 kB / 476.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.1684, allocations: 39.86 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.1684, allocations: 50.56 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.831e-05/0.1685, allocations: 31.98 kB / 476.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1685, allocations: 0 / 476.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000228/0.1688, allocations: 121.4 kB / 476.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1688, allocations: 8 kB / 476.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1688, allocations: 4.062 kB / 476.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1688, allocations: 96 / 476.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1689, allocations: 27.92 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.169, allocations: 0 / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.169, allocations: 4 kB / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.169, allocations: 4 kB / 476.5 MB, free: 8.445 MB / 350.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.1692, allocations: 133.7 kB / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.1692, allocations: 7.906 kB / 476.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.947e-05/0.1693, allocations: 12.72 kB / 476.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1693, allocations: 8 kB / 476.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1693, allocations: 0 / 476.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1693, allocations: 3.984 kB / 476.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.1698, allocations: 419.2 kB / 477 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1699, allocations: 0 / 477 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.1699, allocations: 15.94 kB / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1699, allocations: 4.031 kB / 477.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.1699, allocations: 11.97 kB / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1699, allocations: 0 / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1699, allocations: 0 / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.1702, allocations: 225.9 kB / 477.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.1703, allocations: 93 kB / 477.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1703, allocations: 4 kB / 477.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.1704, allocations: 12 kB / 477.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.1705, allocations: 11.94 kB / 477.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.1705, allocations: 4 kB / 477.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001096/0.1706, allocations: 117.5 kB / 477.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1706, allocations: 0 / 477.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.1709, allocations: 39.98 kB / 477.6 MB, free: 7.23 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001318/0.1723, allocations: 0.5136 MB / 478.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.1725, allocations: 75.91 kB / 478.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1725, allocations: 4 kB / 478.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.183e-05/0.1726, allocations: 35.92 kB / 478.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.1729, allocations: 28.09 kB / 478.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005639/0.1735, allocations: 226.7 kB / 478.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.174, allocations: 0.7004 MB / 479.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.1741, allocations: 24.62 kB / 479.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.1741, allocations: 19.42 kB / 479.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.498e-06/0.1742, allocations: 0 / 479.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of Templates: time 0.006296/0.1805, allocations: 1.972 MB / 481.2 MB, free: 3.785 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches