Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001836/0.001836, allocations: 189.6 kB / 16.25 MB, free: 6.633 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.642/1.642, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3713/0.3713, allocations: 39.92 MB / 309.4 MB, free: 9.355 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.2. 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.001772/0.001772, allocations: 64.38 kB / 377.1 MB, free: 13.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1533, allocations: 56.9 MB / 434 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003077/0.1565, allocations: 1.744 MB / 435.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1576, allocations: 0.7923 MB / 436.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.1577, allocations: 0 / 436.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.158, allocations: 31.83 kB / 436.6 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.1582, allocations: 51.83 kB / 436.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.1585, allocations: 71.84 kB / 436.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.1587, allocations: 99.69 kB / 436.8 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.86e-05/0.1588, allocations: 20.22 kB / 436.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.58e-05/0.1588, allocations: 39.78 kB / 436.9 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.1589, allocations: 35.8 kB / 436.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.1589, allocations: 4 kB / 436.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.264e-05/0.159, allocations: 39.97 kB / 436.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.1591, allocations: 19.92 kB / 436.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.1591, allocations: 35.73 kB / 437 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.1593, allocations: 115.9 kB / 437.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1593, allocations: 0 / 437.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1593, allocations: 0 / 437.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.1593, allocations: 4 kB / 437.1 MB, free: 0.918 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004901/0.1598, allocations: 414.9 kB / 437.5 MB, free: 476 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1599, allocations: 15.88 kB / 437.5 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.1599, allocations: 8.844 kB / 437.5 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.1601, allocations: 204.1 kB / 437.7 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1602, allocations: 4.375 kB / 437.7 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.1602, allocations: 12.11 kB / 437.7 MB, free: 192 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1603, allocations: 57.67 kB / 437.8 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1604, allocations: 4 kB / 437.8 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1604, allocations: 0 / 437.8 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1604, allocations: 0 / 437.8 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.481e-05/0.1605, allocations: 27.86 kB / 437.8 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.1608, allocations: 280.9 kB / 438.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.161, allocations: 62.67 kB / 438.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.1611, allocations: 24.78 kB / 438.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1611, allocations: 0 / 438.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.1613, allocations: 75.23 kB / 438.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1613, allocations: 0 / 438.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005045/0.1618, allocations: 165.3 kB / 438.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.1618, allocations: 55.41 kB / 438.5 MB, free: 15.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.162, allocations: 190.1 kB / 438.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1621, allocations: 25.7 kB / 438.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.1621, allocations: 100.1 kB / 438.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.1622, allocations: 27.69 kB / 438.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.1622, allocations: 25.72 kB / 438.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1624, allocations: 326.8 kB / 439.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.823e-05/0.1624, allocations: 19.98 kB / 439.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.1625, allocations: 41.7 kB / 439.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1626, allocations: 57.64 kB / 439.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1627, allocations: 0 / 439.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001854/0.1628, allocations: 97.59 kB / 439.4 MB, free: 14.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1629, allocations: 4 kB / 439.4 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1629, allocations: 0 / 439.4 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1629, allocations: 0 / 439.4 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.163, allocations: 27.95 kB / 439.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.163, allocations: 0 / 439.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.1631, allocations: 7.938 kB / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1631, allocations: 0 / 439.4 MB, free: 14.36 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001148/0.1632, allocations: 129.8 kB / 439.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.1632, allocations: 7.906 kB / 439.5 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.1633, allocations: 12.72 kB / 439.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1633, allocations: 0 / 439.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1633, allocations: 3.984 kB / 439.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1633, allocations: 11.94 kB / 439.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.1638, allocations: 391.6 kB / 440 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1638, allocations: 0 / 440 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.1638, allocations: 12 kB / 440 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1638, allocations: 7.875 kB / 440 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.1639, allocations: 7.938 kB / 440 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1639, allocations: 0 / 440 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1639, allocations: 432 / 440 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1641, allocations: 208.3 kB / 440.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.1642, allocations: 88.95 kB / 440.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.1642, allocations: 3.938 kB / 440.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.1643, allocations: 8 kB / 440.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.1643, allocations: 7.984 kB / 440.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.1643, allocations: 4 kB / 440.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1645, allocations: 148 kB / 440.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1645, allocations: 0 / 440.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1647, allocations: 20 kB / 440.5 MB, free: 13.21 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 (8): * Single equations (assignments): 6 * 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.001087/0.1658, allocations: 477.1 kB / 440.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.166, allocations: 63.89 kB / 441 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1661, allocations: 7.938 kB / 441 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.526e-05/0.1661, allocations: 27.98 kB / 441 MB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.1665, allocations: 27.84 kB / 441.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.167, allocations: 247.2 kB / 441.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.1673, allocations: 0.7041 MB / 442 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.905e-05/0.1674, allocations: 17.19 kB / 442 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.1674, allocations: 19.42 kB / 442 MB, free: 11.6 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1674, allocations: 0 / 442 MB, free: 11.6 MB / 382.1 MB Notification: Performance of Templates: time 0.004502/0.1719, allocations: 1.67 MB / 443.7 MB, free: 9.934 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)