Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 108 kB / 15.61 MB, free: 152 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.001355/0.001355, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.613/1.613, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.4013/0.4013, allocations: 39.94 MB / 309.7 MB, free: 9.309 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.001646/0.001646, allocations: 67.91 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1328, allocations: 56.88 MB / 434.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003878/0.1367, allocations: 2.27 MB / 436.7 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.1391, allocations: 1.455 MB / 438.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.1393, allocations: 7.938 kB / 438.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004565/0.1398, allocations: 139.3 kB / 438.3 MB, free: 15.8 MB / 382.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.0004552/0.1403, allocations: 230.9 kB / 438.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.1417, allocations: 0.6043 MB / 439.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.1423, allocations: 0.522 MB / 439.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.1426, allocations: 84.98 kB / 439.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.1428, allocations: 219.1 kB / 440 MB, free: 14.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.1431, allocations: 215.1 kB / 440.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.391e-05/0.1431, allocations: 31.94 kB / 440.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.1434, allocations: 151.8 kB / 440.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.1436, allocations: 127.6 kB / 440.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.1438, allocations: 194.7 kB / 440.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005925/0.1444, allocations: 0.5649 MB / 441.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1445, allocations: 0 / 441.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1445, allocations: 3.938 kB / 441.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.1445, allocations: 0 / 441.3 MB, free: 12.87 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001352/0.1458, allocations: 0.8864 MB / 442.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1459, allocations: 15.88 kB / 442.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.146, allocations: 52.38 kB / 442.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006002/0.1466, allocations: 471.9 kB / 442.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.1467, allocations: 20.16 kB / 442.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.1467, allocations: 12 kB / 442.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.1472, allocations: 261.3 kB / 443 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1472, allocations: 0 / 443 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.1472, allocations: 8 kB / 443 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1473, allocations: 4 kB / 443 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.1476, allocations: 111.9 kB / 443.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.1487, allocations: 0.8758 MB / 444 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.1494, allocations: 294.5 kB / 444.3 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.1496, allocations: 103.4 kB / 444.4 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.1496, allocations: 4 kB / 444.4 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005017/0.1501, allocations: 234.4 kB / 444.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.1501, allocations: 0 / 444.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009659/0.1511, allocations: 404.8 kB / 445 MB, free: 8.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000225/0.1514, allocations: 346.1 kB / 445.3 MB, free: 8.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007708/0.1521, allocations: 0.6316 MB / 446 MB, free: 7.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.1522, allocations: 33.7 kB / 446 MB, free: 7.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.1524, allocations: 224.5 kB / 446.2 MB, free: 7.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/0.1524, allocations: 63.27 kB / 446.3 MB, free: 7.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.1525, allocations: 69.62 kB / 446.3 MB, free: 7.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1527, allocations: 362.8 kB / 446.7 MB, free: 7.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.1529, allocations: 83.95 kB / 446.8 MB, free: 6.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.1532, allocations: 253 kB / 447 MB, free: 6.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.1537, allocations: 227.8 kB / 447.2 MB, free: 6.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1537, allocations: 3.938 kB / 447.2 MB, free: 6.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000619/0.1543, allocations: 312.8 kB / 447.6 MB, free: 6.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.1544, allocations: 11.94 kB / 447.6 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.1544, allocations: 0 / 447.6 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.1544, allocations: 4 kB / 447.6 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.1547, allocations: 56.03 kB / 447.6 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1547, allocations: 4 kB / 447.6 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.1549, allocations: 27.83 kB / 447.7 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.1549, allocations: 15.94 kB / 447.7 MB, free: 5.961 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002957/0.1552, allocations: 214 kB / 447.9 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.1553, allocations: 59.22 kB / 447.9 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.1555, allocations: 51.91 kB / 448 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1555, allocations: 8 kB / 448 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.1555, allocations: 8 kB / 448 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1555, allocations: 0 / 448 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.156, allocations: 413.2 kB / 448.4 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.156, allocations: 0 / 448.4 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.1561, allocations: 23.98 kB / 448.4 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.1561, allocations: 7.938 kB / 448.4 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.1562, allocations: 11.98 kB / 448.4 MB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1562, allocations: 0 / 448.4 MB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1562, allocations: 0 / 448.4 MB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.1568, allocations: 358.7 kB / 448.8 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.1569, allocations: 128.5 kB / 448.9 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.157, allocations: 19.94 kB / 448.9 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.1572, allocations: 15.92 kB / 449 MB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.1573, allocations: 39.95 kB / 449 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.1574, allocations: 19.98 kB / 449 MB, free: 4.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005487/0.1579, allocations: 458.8 kB / 449.5 MB, free: 4.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1579, allocations: 0 / 449.5 MB, free: 4.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004944/0.1584, allocations: 99.98 kB / 449.6 MB, free: 3.961 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001196/0.1596, allocations: 472.9 kB / 450 MB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005575/0.1602, allocations: 231.7 kB / 450.3 MB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1602, allocations: 0 / 450.3 MB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003367/0.1606, allocations: 168.5 kB / 450.4 MB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006551/0.1612, allocations: 154 kB / 450.6 MB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.1625, allocations: 0.7777 MB / 451.3 MB, free: 2.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.163, allocations: 0.8428 MB / 452.2 MB, free: 1.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002435/0.1633, allocations: 87.22 kB / 452.3 MB, free: 1.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1634, allocations: 55.41 kB / 452.3 MB, free: 1.16 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1634, allocations: 3.938 kB / 452.3 MB, free: 1.156 MB / 382.1 MB Notification: Performance of Templates: time 0.2411/0.4045, allocations: 7.534 MB / 459.9 MB, free: 51.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.pipe 2>&1)