Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001512/0.001512, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.002383/0.002383, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3618/0.3618, allocations: 38.03 MB / 308.4 MB, free: 10.52 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005874/0.0005875, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1457, allocations: 57.51 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002693/0.1484, allocations: 1.563 MB / 435.5 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.15, allocations: 0.7809 MB / 436.3 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1502, allocations: 0 / 436.3 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.1505, allocations: 27.84 kB / 436.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.1508, allocations: 51.81 kB / 436.3 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.1511, allocations: 95.69 kB / 436.4 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.1513, allocations: 79.84 kB / 436.5 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1515, allocations: 33.45 kB / 436.5 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.1516, allocations: 47.78 kB / 436.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.459e-05/0.1517, allocations: 39.72 kB / 436.6 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.1517, allocations: 4 kB / 436.6 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.285e-05/0.1518, allocations: 27.98 kB / 436.7 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.896e-05/0.1519, allocations: 19.92 kB / 436.7 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.1519, allocations: 37.64 kB / 436.7 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1521, allocations: 116 kB / 436.8 MB, free: 2.645 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.1522, allocations: 4 kB / 436.8 MB, free: 2.641 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1522, allocations: 0 / 436.8 MB, free: 2.641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1522, allocations: 0 / 436.8 MB, free: 2.641 MB / 366.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.0007142/0.1529, allocations: 460.4 kB / 437.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1529, allocations: 8.031 kB / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.413e-05/0.153, allocations: 23.77 kB / 437.3 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.1533, allocations: 211.6 kB / 437.5 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.1534, allocations: 15.94 kB / 437.5 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1534, allocations: 7.906 kB / 437.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.1537, allocations: 112.2 kB / 437.7 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1537, allocations: 0 / 437.7 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1537, allocations: 0 / 437.7 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1537, allocations: 0 / 437.7 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.1539, allocations: 59.92 kB / 437.7 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006126/0.1545, allocations: 0.5009 MB / 438.2 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.1548, allocations: 106.5 kB / 438.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1549, allocations: 0 / 438.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.1551, allocations: 79.38 kB / 438.4 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.1551, allocations: 7.938 kB / 438.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004013/0.1555, allocations: 141.5 kB / 438.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.1556, allocations: 55.41 kB / 438.6 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.1558, allocations: 187.4 kB / 438.8 MB, free: 488 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1558, allocations: 33.7 kB / 438.8 MB, free: 448 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/0.1559, allocations: 120 kB / 438.9 MB, free: 324 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.1559, allocations: 19.72 kB / 439 MB, free: 304 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.156, allocations: 0 / 439 MB, free: 304 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1561, allocations: 330.8 kB / 439.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.838e-05/0.1562, allocations: 35.97 kB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.1563, allocations: 60.28 kB / 439.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.464e-05/0.1564, allocations: 36.36 kB / 439.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1564, allocations: 0 / 439.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002661/0.1567, allocations: 153.3 kB / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.1567, allocations: 8 kB / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1568, allocations: 0 / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1568, allocations: 0 / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1569, allocations: 27.92 kB / 439.6 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.1569, allocations: 4 kB / 439.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.295e-05/0.157, allocations: 11.84 kB / 439.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.157, allocations: 11.98 kB / 439.6 MB, free: 15.6 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.1571, allocations: 130.9 kB / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.1572, allocations: 15.77 kB / 439.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.1572, allocations: 21.39 kB / 439.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.1573, allocations: 4 kB / 439.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.1573, allocations: 0 / 439.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1573, allocations: 0 / 439.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.1575, allocations: 209.8 kB / 440 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1575, allocations: 0 / 440 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/0.1576, allocations: 12 kB / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1576, allocations: 7.984 kB / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1576, allocations: 3.953 kB / 440 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1576, allocations: 0 / 440 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1576, allocations: 0 / 440 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.158, allocations: 184.8 kB / 440.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.1581, allocations: 101 kB / 440.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1581, allocations: 7.938 kB / 440.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.436e-05/0.1582, allocations: 7.953 kB / 440.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.1583, allocations: 7.984 kB / 440.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.1583, allocations: 8 kB / 440.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1584, allocations: 137.2 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1584, allocations: 192 / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000238/0.1587, allocations: 32.03 kB / 440.5 MB, free: 14.63 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 (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.000921/0.1596, allocations: 413.7 kB / 440.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.1599, allocations: 83.89 kB / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1599, allocations: 0 / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.16, allocations: 44.3 kB / 441 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.1603, allocations: 40.09 kB / 441.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/0.1608, allocations: 297.5 kB / 441.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.1611, allocations: 0.7123 MB / 442.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.6e-05/0.1612, allocations: 25.41 kB / 442.1 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.1612, allocations: 27.42 kB / 442.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1612, allocations: 0 / 442.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of Templates: time 0.005203/0.1665, allocations: 1.72 MB / 443.8 MB, free: 11.26 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) Environment - environmentSimulation: