Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001953/0.001953, 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.00272/0.00272, allocations: 192 kB / 16.53 MB, free: 6.391 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.715/1.715, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.3644/0.3644, allocations: 37.98 MB / 307.8 MB, free: 10.01 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.002252/0.002253, allocations: 68.53 kB / 375.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.151, allocations: 56.46 MB / 431.7 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003957/0.155, allocations: 1.677 MB / 433.4 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.1566, allocations: 0.8091 MB / 434.2 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.944e-05/0.1567, allocations: 0 / 434.2 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.1572, allocations: 91.67 kB / 434.3 MB, free: 4.035 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.0002697/0.1574, allocations: 71.73 kB / 434.4 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.1577, allocations: 83.69 kB / 434.4 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.1579, allocations: 107.7 kB / 434.5 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1581, allocations: 12.2 kB / 434.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.708e-05/0.1582, allocations: 51.78 kB / 434.6 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1583, allocations: 59.77 kB / 434.7 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.1583, allocations: 4 kB / 434.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1584, allocations: 35.98 kB / 434.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.819e-05/0.1585, allocations: 27.91 kB / 434.7 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.1586, allocations: 35.73 kB / 434.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1588, allocations: 115.9 kB / 434.9 MB, free: 3.441 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1588, allocations: 4 kB / 434.9 MB, free: 3.438 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1588, allocations: 0 / 434.9 MB, free: 3.438 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1589, allocations: 0 / 434.9 MB, free: 3.438 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.0006312/0.1595, allocations: 426.8 kB / 435.3 MB, free: 2.973 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1595, allocations: 11.89 kB / 435.3 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.1596, allocations: 8.844 kB / 435.3 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.1599, allocations: 216 kB / 435.5 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1599, allocations: 384 / 435.5 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.1599, allocations: 8.125 kB / 435.5 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1601, allocations: 53.67 kB / 435.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1601, allocations: 0 / 435.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1601, allocations: 0 / 435.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1601, allocations: 4 kB / 435.6 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.008e-05/0.1602, allocations: 23.92 kB / 435.6 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.1607, allocations: 284.9 kB / 435.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1609, allocations: 62.66 kB / 436 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.1609, allocations: 16.86 kB / 436 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.161, allocations: 7.938 kB / 436 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/0.1612, allocations: 79.31 kB / 436.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1612, allocations: 0 / 436.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005716/0.1618, allocations: 177.2 kB / 436.2 MB, free: 1.914 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1618, allocations: 55.41 kB / 436.3 MB, free: 1.848 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.1621, allocations: 215.1 kB / 436.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1621, allocations: 29.7 kB / 436.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.1622, allocations: 108.1 kB / 436.6 MB, free: 1.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.1622, allocations: 23.66 kB / 436.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.1622, allocations: 25.7 kB / 436.7 MB, free: 1.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1624, allocations: 326.8 kB / 437 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.724e-05/0.1624, allocations: 16 kB / 437 MB, free: 1.086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.072e-05/0.1625, allocations: 41.64 kB / 437.1 MB, free: 1.039 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.1626, allocations: 69.62 kB / 437.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1627, allocations: 0 / 437.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001767/0.1628, allocations: 97.66 kB / 437.2 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1629, allocations: 11.92 kB / 437.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1629, allocations: 0 / 437.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1629, allocations: 4 kB / 437.2 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.163, allocations: 12 kB / 437.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.163, allocations: 0 / 437.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.1631, allocations: 15.92 kB / 437.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1631, allocations: 4.031 kB / 437.3 MB, free: 0.8164 MB / 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.0001088/0.1632, allocations: 121.8 kB / 437.4 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.1632, allocations: 15.81 kB / 437.4 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.1633, allocations: 21.39 kB / 437.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1633, allocations: 0 / 437.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1633, allocations: 0 / 437.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.1633, allocations: 3.938 kB / 437.4 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.1638, allocations: 395.3 kB / 437.8 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.1638, allocations: 4 kB / 437.8 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.1638, allocations: 11.92 kB / 437.8 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1638, allocations: 4 kB / 437.8 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1639, allocations: 3.938 kB / 437.8 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1639, allocations: 0 / 437.8 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1639, allocations: 4 kB / 437.8 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.1641, allocations: 204.4 kB / 438 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.1642, allocations: 85.02 kB / 438.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.1642, allocations: 11.86 kB / 438.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.628e-05/0.1643, allocations: 0 / 438.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.1643, allocations: 8 kB / 438.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.1644, allocations: 7.984 kB / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1645, allocations: 159.2 kB / 438.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1645, allocations: 0 / 438.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1648, allocations: 28 kB / 438.3 MB, free: 15.64 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.001082/0.1659, allocations: 464.3 kB / 438.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.1661, allocations: 71.89 kB / 438.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1661, allocations: 0 / 438.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.292e-05/0.1662, allocations: 27.98 kB / 438.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.1665, allocations: 28.16 kB / 438.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/0.1671, allocations: 254.9 kB / 439.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.1674, allocations: 0.7041 MB / 439.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.9e-05/0.1675, allocations: 16.88 kB / 439.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.1676, allocations: 23.42 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1676, allocations: 0 / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of Templates: time 0.004744/0.1723, allocations: 1.7 MB / 441.6 MB, free: 12.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)