Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 103.9 kB / 16.41 MB, free: 6.504 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.001443/0.001444, allocations: 192.2 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.408/1.408, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.2206/0.2206, allocations: 43.52 MB / 314.1 MB, free: 456 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.001353/0.001353, allocations: 73.47 kB / 441.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1427, allocations: 57.78 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004005/0.1467, allocations: 2.005 MB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1484, allocations: 0.8934 MB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1485, allocations: 4 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.1488, allocations: 43.7 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.1491, allocations: 75.56 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.1494, allocations: 131.6 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.1497, allocations: 203.4 kB / 0.4912 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.1499, allocations: 29.66 kB / 0.4912 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1501, allocations: 83.58 kB / 0.4913 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.1502, allocations: 83.66 kB / 0.4914 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.1502, allocations: 12 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1503, allocations: 44 kB / 0.4915 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-05/0.1504, allocations: 39.83 kB / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1505, allocations: 71.53 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.1509, allocations: 199.3 kB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1509, allocations: 0 / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1509, allocations: 4 kB / 0.4918 GB, free: 7.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1509, allocations: 0 / 0.4918 GB, free: 7.801 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009761/0.1519, allocations: 0.5565 MB / 0.4923 GB, free: 7.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1519, allocations: 11.89 kB / 0.4923 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.152, allocations: 20.75 kB / 0.4923 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.1524, allocations: 248.8 kB / 0.4926 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1524, allocations: 8.281 kB / 0.4926 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.1524, allocations: 16.12 kB / 0.4926 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.1528, allocations: 154.6 kB / 0.4927 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1529, allocations: 0 / 0.4927 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.1529, allocations: 4 kB / 0.4927 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1529, allocations: 0 / 0.4927 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.1533, allocations: 115.9 kB / 0.4929 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006484/0.154, allocations: 0.536 MB / 0.4934 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006123/0.1546, allocations: 166.5 kB / 0.4935 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.1548, allocations: 72.8 kB / 0.4936 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.1549, allocations: 7.984 kB / 0.4936 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003553/0.1552, allocations: 131.3 kB / 0.4937 GB, free: 5.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.884e-06/0.1553, allocations: 0 / 0.4937 GB, free: 5.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008938/0.1562, allocations: 257.2 kB / 0.494 GB, free: 5.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.1562, allocations: 67.33 kB / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.1564, allocations: 223.1 kB / 0.4943 GB, free: 5.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1565, allocations: 33.7 kB / 0.4943 GB, free: 4.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1566, allocations: 124.4 kB / 0.4944 GB, free: 4.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.1566, allocations: 31.55 kB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/0.1567, allocations: 41.7 kB / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1568, allocations: 330.8 kB / 0.4948 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.1571, allocations: 63.94 kB / 0.4949 GB, free: 4.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.1573, allocations: 103.8 kB / 0.495 GB, free: 4.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.1578, allocations: 197.8 kB / 0.4951 GB, free: 4.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1578, allocations: 7.938 kB / 0.4951 GB, free: 4.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006017/0.1584, allocations: 250.9 kB / 0.4954 GB, free: 3.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.1585, allocations: 33.7 kB / 0.4954 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1585, allocations: 0 / 0.4954 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.1585, allocations: 8.125 kB / 0.4954 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.1587, allocations: 43.84 kB / 0.4955 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.1587, allocations: 0 / 0.4955 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.1589, allocations: 35.81 kB / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1589, allocations: 4 kB / 0.4955 GB, free: 3.652 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001261/0.1591, allocations: 137.8 kB / 0.4956 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.1591, allocations: 15.81 kB / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.042e-05/0.1592, allocations: 29.39 kB / 0.4957 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1592, allocations: 3.938 kB / 0.4957 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.1592, allocations: 0 / 0.4957 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1592, allocations: 3.938 kB / 0.4957 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.1594, allocations: 229.6 kB / 0.4959 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1594, allocations: 3.984 kB / 0.4959 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.1596, allocations: 19.98 kB / 0.4959 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1596, allocations: 0 / 0.4959 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.1596, allocations: 7.984 kB / 0.4959 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1596, allocations: 3.938 kB / 0.4959 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1596, allocations: 4 kB / 0.4959 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.1604, allocations: 309 kB / 0.4962 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.1605, allocations: 93.02 kB / 0.4963 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.1606, allocations: 4 kB / 0.4963 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1607, allocations: 23.91 kB / 0.4964 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.1608, allocations: 19.92 kB / 0.4964 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.1608, allocations: 7.984 kB / 0.4964 GB, free: 2.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.161, allocations: 164.6 kB / 0.4965 GB, free: 2.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.161, allocations: 0 / 0.4965 GB, free: 2.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.1612, allocations: 43.98 kB / 0.4966 GB, free: 2.445 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009582/0.1622, allocations: 414.2 kB / 0.497 GB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005673/0.1628, allocations: 211.2 kB / 0.4972 GB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1628, allocations: 4 kB / 0.4972 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.1631, allocations: 84.12 kB / 0.4973 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.1634, allocations: 51.95 kB / 0.4973 GB, free: 1.719 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007943/0.1642, allocations: 312.3 kB / 0.4976 GB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.1646, allocations: 0.7318 MB / 0.4983 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.147e-05/0.1647, allocations: 21.53 kB / 0.4983 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.1648, allocations: 23.38 kB / 0.4984 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1648, allocations: 0 / 0.4984 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of Templates: time 0.00647/0.1713, allocations: 2.814 MB / 0.5011 GB, free: 13.78 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)