Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_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|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_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.0008925/0.0008925, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 173.6 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4774/0.4774, allocations: 43.58 MB / 314.6 MB, free: 9.035 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005351/0.0005353, allocations: 16 kB / 384 MB, free: 8.227 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1604, allocations: 58.87 MB / 442.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003161/0.1636, allocations: 1.402 MB / 444.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1653, allocations: 0.7578 MB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1655, allocations: 4 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003773/0.1659, allocations: 35.83 kB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.1661, allocations: 43.83 kB / 445.1 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.1664, allocations: 79.84 kB / 445.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.1666, allocations: 83.7 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1667, allocations: 12.2 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.714e-05/0.1668, allocations: 31.86 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.1669, allocations: 39.77 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1669, allocations: 0 / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.1671, allocations: 55.98 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.1671, allocations: 19.91 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.1672, allocations: 33.7 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.1674, allocations: 99.95 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1674, allocations: 0 / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1674, allocations: 0 / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1675, allocations: 0 / 445.5 MB, free: 10.54 MB / 382.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.0006821/0.1681, allocations: 398.9 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.1682, allocations: 12.02 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.1683, allocations: 15.91 kB / 445.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.1686, allocations: 202.8 kB / 446.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.1686, allocations: 0 / 446.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1686, allocations: 4 kB / 446.1 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.1688, allocations: 79.3 kB / 446.2 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1689, allocations: 3.953 kB / 446.2 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.1689, allocations: 4 kB / 446.2 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1689, allocations: 4 kB / 446.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.544e-05/0.169, allocations: 23.98 kB / 446.2 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.1695, allocations: 288.9 kB / 446.5 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1697, allocations: 62.48 kB / 446.6 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.1698, allocations: 24.92 kB / 446.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.1698, allocations: 0 / 446.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.17, allocations: 71.39 kB / 446.7 MB, free: 9.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.17, allocations: 0 / 446.7 MB, free: 9.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000613/0.1706, allocations: 185.2 kB / 446.9 MB, free: 9.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.1707, allocations: 85.09 kB / 446.9 MB, free: 8.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.1709, allocations: 145.8 kB / 447.1 MB, free: 8.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1709, allocations: 29.7 kB / 447.1 MB, free: 8.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.171, allocations: 100.1 kB / 447.2 MB, free: 8.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.171, allocations: 27.66 kB / 447.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.171, allocations: 4 kB / 447.2 MB, free: 8.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1712, allocations: 322.8 kB / 447.6 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.392e-05/0.1713, allocations: 19.98 kB / 447.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.1713, allocations: 50.5 kB / 447.6 MB, free: 8.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.855e-05/0.1714, allocations: 20.03 kB / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1714, allocations: 4 kB / 447.7 MB, free: 8.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001893/0.1716, allocations: 113.5 kB / 447.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1716, allocations: 8 kB / 447.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1716, allocations: 0 / 447.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1717, allocations: 4 kB / 447.8 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1718, allocations: 27.86 kB / 447.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1718, allocations: 0 / 447.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.1718, allocations: 8 kB / 447.8 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.1719, allocations: 0 / 447.8 MB, free: 8 MB / 382.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 (11): * Single equations (assignments): 11 * 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.0001118/0.172, allocations: 129.8 kB / 447.9 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.172, allocations: 7.906 kB / 447.9 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.1722, allocations: 114.3 kB / 448.1 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1723, allocations: 4 kB / 448.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1723, allocations: 0 / 448.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1723, allocations: 0 / 448.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.1727, allocations: 403.3 kB / 448.5 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1727, allocations: 0 / 448.5 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.1728, allocations: 12 kB / 448.5 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1728, allocations: 0 / 448.5 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1728, allocations: 7.984 kB / 448.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1728, allocations: 0 / 448.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1728, allocations: 3.938 kB / 448.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.173, allocations: 208.3 kB / 448.7 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.1731, allocations: 92.94 kB / 448.8 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.1731, allocations: 4 kB / 448.8 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.1732, allocations: 4 kB / 448.8 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.1733, allocations: 7.984 kB / 448.8 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.1733, allocations: 4 kB / 448.8 MB, free: 6.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1734, allocations: 126.5 kB / 448.9 MB, free: 6.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1734, allocations: 288 / 448.9 MB, free: 6.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1737, allocations: 31.91 kB / 448.9 MB, free: 6.754 MB / 382.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 (9): * Single equations (assignments): 7 * 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.001255/0.1749, allocations: 0.5103 MB / 449.5 MB, free: 6.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.1751, allocations: 67.84 kB / 449.5 MB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1752, allocations: 0 / 449.5 MB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.458e-05/0.1752, allocations: 31.94 kB / 449.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.1756, allocations: 23.97 kB / 449.6 MB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.176, allocations: 218.2 kB / 449.8 MB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.1763, allocations: 0.6926 MB / 450.5 MB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.812e-05/0.1764, allocations: 25.02 kB / 450.5 MB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.1764, allocations: 23.42 kB / 450.5 MB, free: 5.148 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1764, allocations: 3.938 kB / 450.5 MB, free: 5.145 MB / 382.1 MB Notification: Performance of Templates: time 0.005126/0.1816, allocations: 1.927 MB / 452.5 MB, free: 3.219 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches