Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 108 kB / 15.6 MB, free: 132 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.001993/0.001993, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.67/1.67, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.4032/0.4032, allocations: 37.99 MB / 307.7 MB, free: 9.992 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.001633/0.001633, allocations: 72.52 kB / 375.2 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1484, allocations: 56.46 MB / 431.7 MB, free: 6.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003792/0.1522, allocations: 1.782 MB / 433.5 MB, free: 4.805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.1538, allocations: 0.8755 MB / 434.4 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.196e-05/0.1538, allocations: 0 / 434.4 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005707/0.1544, allocations: 311.3 kB / 434.7 MB, free: 3.617 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.1549, allocations: 211.3 kB / 434.9 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.1553, allocations: 131.7 kB / 435 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.1557, allocations: 243.3 kB / 435.2 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.1558, allocations: 21.52 kB / 435.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1559, allocations: 119.6 kB / 435.4 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.1563, allocations: 203.5 kB / 435.6 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.1563, allocations: 11.94 kB / 435.6 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.1565, allocations: 43.98 kB / 435.6 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.1567, allocations: 135.6 kB / 435.8 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.1569, allocations: 150.8 kB / 435.9 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.1573, allocations: 351 kB / 436.3 MB, free: 2.023 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.1573, allocations: 0 / 436.3 MB, free: 2.023 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1573, allocations: 0 / 436.3 MB, free: 2.023 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1573, allocations: 4 kB / 436.3 MB, free: 2.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001151/0.1585, allocations: 0.7308 MB / 437 MB, free: 1.238 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1585, allocations: 11.89 kB / 437 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.331e-05/0.1586, allocations: 52.28 kB / 437.1 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.1592, allocations: 451.8 kB / 437.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1592, allocations: 4.375 kB / 437.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.1592, allocations: 4.125 kB / 437.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.1594, allocations: 87.36 kB / 437.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1595, allocations: 0 / 437.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1595, allocations: 4 kB / 437.6 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1595, allocations: 0 / 437.6 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.1596, allocations: 35.91 kB / 437.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.1601, allocations: 374.4 kB / 438 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.1604, allocations: 105.2 kB / 438.1 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.1605, allocations: 41.64 kB / 438.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1606, allocations: 7.938 kB / 438.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002985/0.1609, allocations: 109 kB / 438.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1609, allocations: 0 / 438.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005194/0.1614, allocations: 197 kB / 438.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.1615, allocations: 77.11 kB / 438.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.1626, allocations: 1.038 MB / 439.6 MB, free: 14.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1627, allocations: 33.64 kB / 439.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.1629, allocations: 232.1 kB / 439.8 MB, free: 14.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.97e-05/0.163, allocations: 35.55 kB / 439.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.163, allocations: 33.7 kB / 439.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.1632, allocations: 366.8 kB / 440.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-05/0.1633, allocations: 23.98 kB / 440.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.171e-05/0.1634, allocations: 59.41 kB / 440.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.1636, allocations: 95.86 kB / 440.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1636, allocations: 0 / 440.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003014/0.1639, allocations: 169 kB / 440.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.1639, allocations: 8 kB / 440.6 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.164, allocations: 0 / 440.6 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.164, allocations: 0 / 440.6 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.1641, allocations: 27.92 kB / 440.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1641, allocations: 4.062 kB / 440.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.1642, allocations: 15.84 kB / 440.6 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1643, allocations: 4 kB / 440.6 MB, free: 13.35 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002273/0.1645, allocations: 221.7 kB / 440.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.1646, allocations: 55.34 kB / 440.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.554e-05/0.1647, allocations: 56 kB / 441 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1647, allocations: 4 kB / 441 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1647, allocations: 0 / 441 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1647, allocations: 0 / 441 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.1651, allocations: 345.4 kB / 441.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.1651, allocations: 0 / 441.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.1652, allocations: 11.94 kB / 441.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1652, allocations: 0 / 441.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.1652, allocations: 7.984 kB / 441.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1652, allocations: 0 / 441.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1652, allocations: 0 / 441.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.1656, allocations: 213.1 kB / 441.5 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.1657, allocations: 132.5 kB / 441.7 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.1658, allocations: 4.125 kB / 441.7 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.68e-05/0.1659, allocations: 7.984 kB / 441.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.1659, allocations: 11.98 kB / 441.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.166, allocations: 8 kB / 441.7 MB, free: 12.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008391/0.1668, allocations: 0.7644 MB / 442.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1668, allocations: 3.938 kB / 442.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.1671, allocations: 43.98 kB / 442.5 MB, free: 11.38 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001141/0.1683, allocations: 414.4 kB / 442.9 MB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002943/0.1686, allocations: 95.83 kB / 443 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1686, allocations: 0 / 443 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.1687, allocations: 40.3 kB / 443 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.1692, allocations: 89.28 kB / 443.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.1705, allocations: 0.8669 MB / 444 MB, free: 9.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/0.171, allocations: 0.8466 MB / 444.8 MB, free: 9.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.1712, allocations: 58.92 kB / 444.9 MB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.1713, allocations: 27.44 kB / 444.9 MB, free: 8.922 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1713, allocations: 3.938 kB / 444.9 MB, free: 8.918 MB / 382.1 MB Notification: Performance of Templates: time 0.009328/0.1806, allocations: 3.706 MB / 448.6 MB, free: 5.215 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)