Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.649/1.649, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.4218/0.4218, allocations: 37.99 MB / 307.8 MB, free: 10.03 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.001722/0.001722, allocations: 67.91 kB / 375.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1575, allocations: 56.47 MB / 431.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.004611/0.1622, allocations: 1.673 MB / 433.4 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.1645, allocations: 1.423 MB / 434.8 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.1647, allocations: 0 / 434.8 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005456/0.1652, allocations: 35.77 kB / 434.8 MB, free: 3.457 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000378/0.1656, allocations: 59.7 kB / 434.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.166, allocations: 83.75 kB / 435 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.1663, allocations: 91.7 kB / 435.1 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.1664, allocations: 12.22 kB / 435.1 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1666, allocations: 55.77 kB / 435.1 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.1668, allocations: 27.86 kB / 435.2 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.1668, allocations: 4 kB / 435.2 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.167, allocations: 63.95 kB / 435.2 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.048e-05/0.1671, allocations: 23.86 kB / 435.3 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.1672, allocations: 27.81 kB / 435.3 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.1675, allocations: 123.9 kB / 435.4 MB, free: 2.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.1676, allocations: 0 / 435.4 MB, free: 2.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1676, allocations: 0 / 435.4 MB, free: 2.895 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.1676, allocations: 0 / 435.4 MB, free: 2.895 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.0008608/0.1684, allocations: 403.1 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.407e-05/0.1685, allocations: 11.89 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.619e-05/0.1686, allocations: 8.844 kB / 435.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.1689, allocations: 219.6 kB / 436 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1689, allocations: 384 / 436 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.169, allocations: 8.109 kB / 436 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1692, allocations: 71.39 kB / 436.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1692, allocations: 7.984 kB / 436.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1692, allocations: 0 / 436.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1692, allocations: 4 kB / 436.1 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.578e-05/0.1693, allocations: 15.98 kB / 436.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.1698, allocations: 284.8 kB / 436.4 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.17, allocations: 50.69 kB / 436.5 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.17, allocations: 24.84 kB / 436.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.1701, allocations: 0 / 436.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.1703, allocations: 71.33 kB / 436.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1703, allocations: 0 / 436.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006242/0.171, allocations: 177.5 kB / 436.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.92e-05/0.1711, allocations: 81.05 kB / 436.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.1713, allocations: 149.8 kB / 437 MB, free: 1.137 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.1713, allocations: 29.7 kB / 437 MB, free: 1.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.1714, allocations: 100.1 kB / 437.1 MB, free: 1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.1714, allocations: 27.64 kB / 437.1 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.1715, allocations: 25.66 kB / 437.1 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.1717, allocations: 322.8 kB / 437.5 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.617e-05/0.1718, allocations: 23.98 kB / 437.5 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.196e-05/0.1719, allocations: 46.56 kB / 437.5 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.172, allocations: 61.72 kB / 437.6 MB, free: 484 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.172, allocations: 0 / 437.6 MB, free: 484 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002041/0.1722, allocations: 101.6 kB / 437.7 MB, free: 376 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1723, allocations: 4 kB / 437.7 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1723, allocations: 0 / 437.7 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1723, allocations: 64 / 437.7 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1724, allocations: 23.94 kB / 437.7 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1724, allocations: 3.984 kB / 437.7 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.1725, allocations: 3.938 kB / 437.7 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1725, allocations: 8 kB / 437.7 MB, free: 332 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 ($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.0001026/0.1726, allocations: 117.8 kB / 437.8 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.1726, allocations: 7.906 kB / 437.9 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.1727, allocations: 16.7 kB / 437.9 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1727, allocations: 0 / 437.9 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1727, allocations: 4 kB / 437.9 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1727, allocations: 3.938 kB / 437.9 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.1732, allocations: 383.3 kB / 438.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1732, allocations: 0 / 438.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.1732, allocations: 11.98 kB / 438.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1732, allocations: 0 / 438.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.1733, allocations: 7.938 kB / 438.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1733, allocations: 0 / 438.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1733, allocations: 7.969 kB / 438.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.1735, allocations: 204.2 kB / 438.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.1736, allocations: 85.02 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1736, allocations: 7.922 kB / 438.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.1737, allocations: 8 kB / 438.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.1737, allocations: 4 kB / 438.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.1738, allocations: 7.984 kB / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.825e-05/0.1739, allocations: 118.7 kB / 438.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1739, allocations: 3.938 kB / 438.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1741, allocations: 31.98 kB / 438.7 MB, free: 15.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.001179/0.1753, allocations: 0.4972 MB / 439.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.1756, allocations: 55.97 kB / 439.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1756, allocations: 0 / 439.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.032e-05/0.1757, allocations: 35.91 kB / 439.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.176, allocations: 39.91 kB / 439.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.1766, allocations: 190.8 kB / 439.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.177, allocations: 0.6963 MB / 440.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.195e-05/0.177, allocations: 25.05 kB / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.1771, allocations: 27.42 kB / 440.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1771, allocations: 0 / 440.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of Templates: time 0.006018/0.1831, allocations: 1.936 MB / 442.2 MB, free: 11.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1)