Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001578/0.001578, allocations: 198.6 kB / 16.14 MB, free: 6.656 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.753/1.753, allocations: 205.1 MB / 222 MB, free: 4.984 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.3771/0.3771, allocations: 39.94 MB / 309.3 MB, free: 9.535 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.001296/0.001296, allocations: 70.41 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1521, allocations: 56.88 MB / 433.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003413/0.1556, allocations: 1.759 MB / 435.6 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1569, allocations: 0.7923 MB / 436.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.157, allocations: 0 / 436.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.1574, allocations: 103.7 kB / 436.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.1575, allocations: 71.78 kB / 436.5 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.1578, allocations: 75.84 kB / 436.6 MB, free: 1.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.158, allocations: 107.7 kB / 436.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1581, allocations: 16.2 kB / 436.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.1582, allocations: 51.78 kB / 436.8 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1583, allocations: 55.81 kB / 436.8 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1583, allocations: 0 / 436.8 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.376e-05/0.1584, allocations: 43.92 kB / 436.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-05/0.1585, allocations: 27.91 kB / 436.9 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.698e-05/0.1585, allocations: 43.66 kB / 436.9 MB, free: 1.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.1588, allocations: 127.8 kB / 437.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1588, allocations: 0 / 437.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1588, allocations: 0 / 437.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.1588, allocations: 0 / 437.1 MB, free: 1.145 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.000682/0.1595, allocations: 430.8 kB / 437.5 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.1595, allocations: 12.02 kB / 437.5 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.1596, allocations: 12.75 kB / 437.5 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.1599, allocations: 220.7 kB / 437.7 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1599, allocations: 384 / 437.7 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.1599, allocations: 16.11 kB / 437.7 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.1601, allocations: 53.67 kB / 437.8 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1601, allocations: 0 / 437.8 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1602, allocations: 4 kB / 437.8 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1602, allocations: 3.938 kB / 437.8 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.443e-05/0.1603, allocations: 19.98 kB / 437.8 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.1608, allocations: 289 kB / 438.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.161, allocations: 62.61 kB / 438.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/0.161, allocations: 20.86 kB / 438.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.1611, allocations: 0 / 438.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.1614, allocations: 75.31 kB / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.512e-06/0.1614, allocations: 0 / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006637/0.162, allocations: 165.2 kB / 438.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.1621, allocations: 63.34 kB / 438.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.1624, allocations: 242.1 kB / 438.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.1624, allocations: 33.7 kB / 438.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.1625, allocations: 112 kB / 438.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.1626, allocations: 19.72 kB / 438.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.1626, allocations: 29.7 kB / 438.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1628, allocations: 326.8 kB / 439.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.894e-05/0.1628, allocations: 23.98 kB / 439.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-05/0.1629, allocations: 41.7 kB / 439.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.163, allocations: 57.66 kB / 439.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.163, allocations: 0 / 439.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001757/0.1632, allocations: 101.5 kB / 439.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1632, allocations: 8 kB / 439.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1633, allocations: 384 / 439.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1633, allocations: 0 / 439.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.78e-05/0.1634, allocations: 15.94 kB / 439.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.1634, allocations: 16.02 kB / 439.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.639e-05/0.1635, allocations: 0 / 439.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.1635, allocations: 11.94 kB / 439.5 MB, free: 14.46 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.000123/0.1636, allocations: 129.6 kB / 439.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.1636, allocations: 15.81 kB / 439.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.492e-05/0.1637, allocations: 21.41 kB / 439.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1637, allocations: 0 / 439.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.1637, allocations: 3.984 kB / 439.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1637, allocations: 0 / 439.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.1642, allocations: 403.3 kB / 440.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1642, allocations: 0 / 440.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/0.1643, allocations: 8.188 kB / 440.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1643, allocations: 0 / 440.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.1643, allocations: 15.86 kB / 440.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1643, allocations: 3.938 kB / 440.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1643, allocations: 3.938 kB / 440.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.1646, allocations: 208.2 kB / 440.3 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.1646, allocations: 85.02 kB / 440.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.1647, allocations: 7.938 kB / 440.4 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.1647, allocations: 7.984 kB / 440.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.1648, allocations: 7.984 kB / 440.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1648, allocations: 4 kB / 440.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.165, allocations: 188.3 kB / 440.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.165, allocations: 0 / 440.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1652, allocations: 31.98 kB / 440.6 MB, free: 13.24 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.00102/0.1663, allocations: 465.5 kB / 441.1 MB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.1665, allocations: 55.98 kB / 441.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1665, allocations: 0 / 441.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.003e-05/0.1665, allocations: 27.92 kB / 441.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1669, allocations: 39.84 kB / 441.2 MB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.1674, allocations: 289.2 kB / 441.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.1677, allocations: 0.7082 MB / 442.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.581e-05/0.1677, allocations: 21.19 kB / 442.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.1678, allocations: 19.44 kB / 442.2 MB, free: 11.6 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1678, allocations: 0 / 442.2 MB, free: 11.6 MB / 382.1 MB Notification: Performance of Templates: time 0.004483/0.1723, allocations: 1.661 MB / 443.9 MB, free: 9.941 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)