Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001223/0.001223, allocations: 172.7 kB / 15.95 MB, free: 208 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.86/1.86, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.4035/0.4035, allocations: 39.99 MB / 310.4 MB, free: 9.828 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.0005545/0.0005552, allocations: 12 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1472, allocations: 57.96 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002337/0.1496, allocations: 1.389 MB / 438.2 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.151, allocations: 0.7344 MB / 438.9 MB, free: 448 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.83e-05/0.1511, allocations: 0 / 438.9 MB, free: 448 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.1515, allocations: 35.83 kB / 439 MB, free: 412 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.1517, allocations: 43.83 kB / 439 MB, free: 368 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.1519, allocations: 87.77 kB / 439.1 MB, free: 280 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.1521, allocations: 75.77 kB / 439.2 MB, free: 204 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.177e-05/0.1522, allocations: 12.22 kB / 439.2 MB, free: 192 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.249e-05/0.1523, allocations: 43.77 kB / 439.2 MB, free: 148 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.601e-05/0.1523, allocations: 23.86 kB / 439.2 MB, free: 124 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1524, allocations: 4 kB / 439.2 MB, free: 120 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.015e-05/0.1524, allocations: 35.94 kB / 439.3 MB, free: 84 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.1525, allocations: 15.97 kB / 439.3 MB, free: 68 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.1525, allocations: 49.62 kB / 439.3 MB, free: 12 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.1527, allocations: 76.11 kB / 439.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1527, allocations: 0 / 439.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1527, allocations: 0 / 439.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1527, allocations: 3.938 kB / 439.4 MB, free: 15.93 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.0005145/0.1533, allocations: 402.8 kB / 439.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.1533, allocations: 15.97 kB / 439.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.1534, allocations: 7.906 kB / 439.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.1536, allocations: 206.9 kB / 440 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1537, allocations: 4 kB / 440 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.1537, allocations: 4 kB / 440 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1538, allocations: 53.67 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1539, allocations: 0 / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1539, allocations: 3.984 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1539, allocations: 3.953 kB / 440.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.998e-05/0.154, allocations: 23.92 kB / 440.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.1543, allocations: 281 kB / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.1545, allocations: 58.67 kB / 440.5 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.1545, allocations: 16.86 kB / 440.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1546, allocations: 3.984 kB / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.1548, allocations: 79.19 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1548, allocations: 4 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005379/0.1553, allocations: 161.5 kB / 440.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1554, allocations: 59.39 kB / 440.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.1555, allocations: 178.2 kB / 441 MB, free: 14.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1556, allocations: 29.7 kB / 441 MB, free: 14.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.1556, allocations: 108 kB / 441.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.1557, allocations: 23.7 kB / 441.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.1557, allocations: 0 / 441.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1558, allocations: 326.8 kB / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.096e-05/0.1559, allocations: 20 kB / 441.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/0.1559, allocations: 33.7 kB / 441.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.403e-05/0.156, allocations: 20 kB / 441.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.156, allocations: 0 / 441.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001686/0.1562, allocations: 109.7 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1562, allocations: 8.031 kB / 441.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1562, allocations: 0 / 441.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1562, allocations: 4 kB / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-05/0.1563, allocations: 23.92 kB / 441.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1564, allocations: 160 / 441.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.1564, allocations: 8.125 kB / 441.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.1564, allocations: 4 kB / 441.7 MB, free: 13.47 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.0001038/0.1565, allocations: 134.6 kB / 441.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.1566, allocations: 11.86 kB / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.1566, allocations: 20.7 kB / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1566, allocations: 0 / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1566, allocations: 4 kB / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1566, allocations: 0 / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.1571, allocations: 399.2 kB / 442.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1571, allocations: 0 / 442.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.009e-05/0.1571, allocations: 8 kB / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1571, allocations: 0 / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1571, allocations: 8.031 kB / 442.2 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1572, allocations: 0 / 442.2 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1572, allocations: 0 / 442.2 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.1574, allocations: 204.2 kB / 442.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.1574, allocations: 96.86 kB / 442.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.1575, allocations: 4 kB / 442.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.617e-05/0.1575, allocations: 8 kB / 442.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.1576, allocations: 7.984 kB / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.1576, allocations: 4 kB / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1577, allocations: 148 kB / 442.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1577, allocations: 0 / 442.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.158, allocations: 20 kB / 442.7 MB, free: 12.31 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.001012/0.159, allocations: 464.5 kB / 443.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.1592, allocations: 59.89 kB / 443.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1592, allocations: 0 / 443.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.529e-05/0.1593, allocations: 31.92 kB / 443.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.1596, allocations: 39.98 kB / 443.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.1601, allocations: 230.4 kB / 443.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.1604, allocations: 0.7083 MB / 444.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.495e-05/0.1605, allocations: 21.16 kB / 444.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.1605, allocations: 19.42 kB / 444.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1605, allocations: 0 / 444.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of Templates: time 0.004598/0.1651, allocations: 1.579 MB / 445.8 MB, free: 9.145 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) Environment - environmentSimulation: