Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 104.5 kB / 16.4 MB, free: 6.508 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.001197/0.001197, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.235/0.235, allocations: 43.51 MB / 314.1 MB, free: 460 kB / 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.00234/0.00234, allocations: 65.47 kB / 441.9 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1619, allocations: 57.79 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.005301/0.1673, allocations: 1.9 MB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1688, allocations: 0.8468 MB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1689, allocations: 3.938 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.1693, allocations: 43.7 kB / 0.4907 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.1696, allocations: 59.7 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.1699, allocations: 111.7 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.1701, allocations: 135.6 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.1703, allocations: 37.45 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1704, allocations: 55.72 kB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1705, allocations: 43.72 kB / 0.4911 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.1705, allocations: 8 kB / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1706, allocations: 47.97 kB / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.297e-05/0.1707, allocations: 35.78 kB / 0.4912 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.651e-05/0.1708, allocations: 55.62 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.1711, allocations: 139.6 kB / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1711, allocations: 0 / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1711, allocations: 0 / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1711, allocations: 0 / 0.4914 GB, free: 8.195 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007262/0.1718, allocations: 492.3 kB / 0.4918 GB, free: 7.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.1719, allocations: 15.89 kB / 0.4919 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.172, allocations: 12.75 kB / 0.4919 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.1724, allocations: 224.1 kB / 0.4921 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.1724, allocations: 8.375 kB / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.1724, allocations: 8.125 kB / 0.4921 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.1727, allocations: 112.1 kB / 0.4922 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1727, allocations: 0 / 0.4922 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.1727, allocations: 4 kB / 0.4922 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1728, allocations: 0 / 0.4922 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.1729, allocations: 55.95 kB / 0.4923 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007101/0.1737, allocations: 0.5008 MB / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.174, allocations: 94.61 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.1741, allocations: 36.83 kB / 0.4929 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.1742, allocations: 4 kB / 0.4929 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.1744, allocations: 79.38 kB / 0.493 GB, free: 6.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.1744, allocations: 0 / 0.493 GB, free: 6.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000416/0.1748, allocations: 145.5 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.1749, allocations: 55.34 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1751, allocations: 191.4 kB / 0.4933 GB, free: 5.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1751, allocations: 25.7 kB / 0.4934 GB, free: 5.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/0.1752, allocations: 120 kB / 0.4935 GB, free: 5.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.1752, allocations: 27.97 kB / 0.4935 GB, free: 5.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.1753, allocations: 29.7 kB / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1754, allocations: 330.8 kB / 0.4938 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.869e-05/0.1755, allocations: 27.98 kB / 0.4939 GB, free: 5.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1756, allocations: 64.2 kB / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.1758, allocations: 96.22 kB / 0.494 GB, free: 5.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1758, allocations: 7.984 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000262/0.1761, allocations: 129.4 kB / 0.4941 GB, free: 5.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1761, allocations: 4 kB / 0.4942 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1761, allocations: 8.109 kB / 0.4942 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1761, allocations: 11.92 kB / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1762, allocations: 23.88 kB / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.1763, allocations: 4 kB / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.1763, allocations: 15.89 kB / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1764, allocations: 4 kB / 0.4942 GB, free: 4.996 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001227/0.1765, allocations: 125.8 kB / 0.4943 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.1765, allocations: 19.8 kB / 0.4944 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.1766, allocations: 21.34 kB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1766, allocations: 3.938 kB / 0.4944 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1766, allocations: 8 kB / 0.4944 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1766, allocations: 3.984 kB / 0.4944 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.1768, allocations: 213.5 kB / 0.4946 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1768, allocations: 0 / 0.4946 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.1769, allocations: 11.98 kB / 0.4946 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1769, allocations: 0 / 0.4946 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.1769, allocations: 8 kB / 0.4946 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1769, allocations: 3.938 kB / 0.4946 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1769, allocations: 0 / 0.4946 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.1773, allocations: 188.8 kB / 0.4948 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.1774, allocations: 85.05 kB / 0.4949 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1774, allocations: 0 / 0.4949 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.1775, allocations: 15.92 kB / 0.4949 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1775, allocations: 4 kB / 0.4949 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.1775, allocations: 4 kB / 0.4949 GB, free: 4.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1777, allocations: 141.3 kB / 0.495 GB, free: 4.055 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1777, allocations: 0 / 0.495 GB, free: 4.055 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.1779, allocations: 28.12 kB / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (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.001019/0.1789, allocations: 433 kB / 0.4955 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.1792, allocations: 71.91 kB / 0.4955 GB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1792, allocations: 256 / 0.4955 GB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.1793, allocations: 43.92 kB / 0.4956 GB, free: 3.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1797, allocations: 46.45 kB / 0.4956 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.1803, allocations: 259.9 kB / 0.4959 GB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.1806, allocations: 0.7162 MB / 0.4966 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.506e-05/0.1807, allocations: 13.42 kB / 0.4966 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.1807, allocations: 19.44 kB / 0.4966 GB, free: 2.43 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1807, allocations: 0 / 0.4966 GB, free: 2.43 MB / 382.1 MB Notification: Performance of Templates: time 0.005316/0.1861, allocations: 1.889 MB / 0.4985 GB, free: 0.543 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches