Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 99.7 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.001854/0.001854, 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.712/1.712, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.3858/0.3858, allocations: 38.03 MB / 308.4 MB, free: 10.43 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.0009452/0.0009453, allocations: 19.98 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1674, allocations: 57.52 MB / 433.9 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002827/0.1703, allocations: 1.358 MB / 435.3 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.1719, allocations: 0.7498 MB / 436 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.172, allocations: 0 / 436 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.1723, allocations: 27.91 kB / 436.1 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.1726, allocations: 55.73 kB / 436.1 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.1729, allocations: 71.84 kB / 436.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.1731, allocations: 67.84 kB / 436.3 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1733, allocations: 12.22 kB / 436.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.1734, allocations: 39.83 kB / 436.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.606e-05/0.1735, allocations: 27.86 kB / 436.3 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.1736, allocations: 0 / 436.3 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1737, allocations: 31.94 kB / 436.4 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.606e-05/0.1737, allocations: 27.89 kB / 436.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.1738, allocations: 53.52 kB / 436.5 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.174, allocations: 96.09 kB / 436.5 MB, free: 2.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.174, allocations: 0 / 436.5 MB, free: 2.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.174, allocations: 0 / 436.5 MB, free: 2.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.174, allocations: 0 / 436.5 MB, free: 2.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.0007333/0.1748, allocations: 422.7 kB / 437 MB, free: 2.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.1749, allocations: 8.031 kB / 437 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.525e-05/0.1749, allocations: 15.86 kB / 437 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.1754, allocations: 202.8 kB / 437.2 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.1754, allocations: 8 kB / 437.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.1755, allocations: 7.938 kB / 437.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.1757, allocations: 49.67 kB / 437.2 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1757, allocations: 7.938 kB / 437.3 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1757, allocations: 0 / 437.3 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1757, allocations: 4 kB / 437.3 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.573e-05/0.1758, allocations: 19.94 kB / 437.3 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.1764, allocations: 296.9 kB / 437.6 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1766, allocations: 58.61 kB / 437.6 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.1766, allocations: 4 kB / 437.6 MB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.1769, allocations: 63.52 kB / 437.7 MB, free: 1.609 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.1769, allocations: 0 / 437.7 MB, free: 1.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006884/0.1776, allocations: 196.9 kB / 437.9 MB, free: 1.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.1776, allocations: 51.41 kB / 437.9 MB, free: 1.348 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.1779, allocations: 258.5 kB / 438.2 MB, free: 1.078 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.178, allocations: 25.7 kB / 438.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.1781, allocations: 112.1 kB / 438.3 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.1781, allocations: 23.66 kB / 438.3 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.1781, allocations: 4 kB / 438.3 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1783, allocations: 326.8 kB / 438.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.954e-05/0.1784, allocations: 27.94 kB / 438.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.517e-05/0.1784, allocations: 33.7 kB / 438.7 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.387e-05/0.1785, allocations: 23.98 kB / 438.7 MB, free: 500 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1785, allocations: 0 / 438.7 MB, free: 500 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002044/0.1787, allocations: 109.4 kB / 438.9 MB, free: 384 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1788, allocations: 4 kB / 438.9 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1788, allocations: 3.953 kB / 438.9 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.1788, allocations: 4.188 kB / 438.9 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1789, allocations: 20.02 kB / 438.9 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1789, allocations: 3.938 kB / 438.9 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.179, allocations: 4 kB / 438.9 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.179, allocations: 384 / 438.9 MB, free: 344 kB / 366.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.00012/0.1792, allocations: 134.9 kB / 439 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.1792, allocations: 15.81 kB / 439 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.1792, allocations: 21.39 kB / 439.1 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1792, allocations: 3.953 kB / 439.1 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.1793, allocations: 8 kB / 439.1 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1793, allocations: 3.938 kB / 439.1 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.1798, allocations: 399.4 kB / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1798, allocations: 3.938 kB / 439.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.1799, allocations: 19.88 kB / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1799, allocations: 4 kB / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1799, allocations: 0 / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1799, allocations: 0 / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1799, allocations: 4.031 kB / 439.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.1802, allocations: 221.9 kB / 439.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.1802, allocations: 92.92 kB / 439.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1803, allocations: 0 / 439.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.842e-05/0.1803, allocations: 7.984 kB / 439.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.1804, allocations: 11.94 kB / 439.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.1804, allocations: 8 kB / 439.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001806/0.1806, allocations: 200 kB / 440 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1806, allocations: 0 / 440 MB, free: 15.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.1809, allocations: 20 kB / 440 MB, free: 15.07 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.00112/0.182, allocations: 469 kB / 440.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.1822, allocations: 59.84 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1823, allocations: 0 / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.1823, allocations: 31.98 kB / 440.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.1826, allocations: 23.94 kB / 440.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/0.1833, allocations: 303 kB / 440.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.1838, allocations: 0.7278 MB / 441.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.047e-05/0.1839, allocations: 8.891 kB / 441.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.1839, allocations: 19.42 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1839, allocations: 0 / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of Templates: time 0.004973/0.1889, allocations: 1.63 MB / 443.3 MB, free: 11.78 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) Environment - environmentSimulation: