Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.00122, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001255/0.001255, allocations: 168.7 kB / 15.95 MB, free: 204 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.928/1.928, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.4349/0.4349, allocations: 40 MB / 310.4 MB, free: 9.984 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.0006033/0.0006035, allocations: 16 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.16, allocations: 57.96 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002558/0.1626, allocations: 1.386 MB / 438.2 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1642, allocations: 0.746 MB / 438.9 MB, free: 420 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.1643, allocations: 3.938 kB / 438.9 MB, free: 416 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.1648, allocations: 47.88 kB / 439 MB, free: 368 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.1651, allocations: 47.81 kB / 439 MB, free: 320 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.1655, allocations: 71.84 kB / 439.1 MB, free: 248 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.1657, allocations: 87.69 kB / 439.2 MB, free: 160 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1658, allocations: 8.219 kB / 439.2 MB, free: 152 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.166, allocations: 47.78 kB / 439.2 MB, free: 104 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.098e-05/0.1661, allocations: 31.84 kB / 439.3 MB, free: 72 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.1661, allocations: 4 kB / 439.3 MB, free: 68 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1662, allocations: 35.98 kB / 439.3 MB, free: 32 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.1663, allocations: 19.92 kB / 439.3 MB, free: 12 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.843e-05/0.1664, allocations: 41.64 kB / 439.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.1666, allocations: 100.1 kB / 439.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1666, allocations: 3.984 kB / 439.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.1666, allocations: 0 / 439.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.1666, allocations: 3.938 kB / 439.5 MB, free: 15.86 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000598/0.1672, allocations: 426.6 kB / 439.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1673, allocations: 8.031 kB / 439.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.1673, allocations: 19.8 kB / 439.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.1676, allocations: 202.9 kB / 440.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1676, allocations: 0 / 440.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.1676, allocations: 7.984 kB / 440.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1678, allocations: 57.67 kB / 440.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1678, allocations: 7.906 kB / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1678, allocations: 0 / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.1679, allocations: 3.953 kB / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.527e-05/0.1679, allocations: 31.86 kB / 440.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.1684, allocations: 281 kB / 440.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.1685, allocations: 58.67 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.565e-05/0.1686, allocations: 20.86 kB / 440.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.1686, allocations: 7.984 kB / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.1688, allocations: 71.28 kB / 440.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1688, allocations: 0 / 440.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005594/0.1694, allocations: 181 kB / 440.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1694, allocations: 55.39 kB / 440.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.1697, allocations: 266.5 kB / 441.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1697, allocations: 29.64 kB / 441.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.1698, allocations: 116 kB / 441.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.1699, allocations: 19.75 kB / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.1699, allocations: 0 / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.17, allocations: 330.8 kB / 441.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/0.1701, allocations: 20 kB / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.043e-05/0.1702, allocations: 37.7 kB / 441.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.964e-05/0.1702, allocations: 20 kB / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1702, allocations: 0 / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002016/0.1704, allocations: 109.4 kB / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1705, allocations: 4 kB / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1705, allocations: 0 / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1705, allocations: 4 kB / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.465e-05/0.1706, allocations: 23.92 kB / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1706, allocations: 0 / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.1707, allocations: 8.031 kB / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1707, allocations: 0 / 441.9 MB, free: 13.25 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.1708, allocations: 141.6 kB / 442 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.1709, allocations: 19.77 kB / 442 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.171, allocations: 21.39 kB / 442 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.171, allocations: 0 / 442 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.171, allocations: 0 / 442 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.171, allocations: 0 / 442 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/0.1715, allocations: 419.3 kB / 442.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1715, allocations: 0 / 442.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.1716, allocations: 8.375 kB / 442.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1716, allocations: 4.188 kB / 442.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1716, allocations: 0 / 442.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1716, allocations: 7.938 kB / 442.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1716, allocations: 0 / 442.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.1718, allocations: 216.2 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.1719, allocations: 92.88 kB / 442.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.1719, allocations: 4 kB / 442.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.172, allocations: 4 kB / 442.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.1721, allocations: 7.984 kB / 442.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.1721, allocations: 4 kB / 442.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001797/0.1723, allocations: 207.9 kB / 443 MB, free: 12.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1723, allocations: 4 kB / 443 MB, free: 12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002842/0.1726, allocations: 20 kB / 443 MB, free: 11.98 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 (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.001045/0.1736, allocations: 452.8 kB / 443.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.1738, allocations: 63.91 kB / 443.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1738, allocations: 0 / 443.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.05e-05/0.1739, allocations: 31.92 kB / 443.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.1743, allocations: 27.84 kB / 443.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000569/0.1749, allocations: 310.9 kB / 443.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.1752, allocations: 0.716 MB / 444.6 MB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.383e-05/0.1753, allocations: 21.17 kB / 444.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.1753, allocations: 15.44 kB / 444.6 MB, free: 10.33 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1753, allocations: 0 / 444.6 MB, free: 10.33 MB / 382.1 MB Notification: Performance of Templates: time 0.005317/0.1806, allocations: 1.618 MB / 446.3 MB, free: 8.711 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) Environment - environmentSimulation: