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.001164/0.001165, allocations: 99.86 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.001369/0.001369, allocations: 177.3 kB / 15.95 MB, free: 216 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.421/1.421, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3323/0.3323, allocations: 39.99 MB / 310.4 MB, free: 9.992 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.000521/0.0005209, allocations: 19.98 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1057, allocations: 57.96 MB / 436.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002587/0.1084, allocations: 1.857 MB / 438.6 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.1104, allocations: 1.292 MB / 439.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.1106, allocations: 7.938 kB / 439.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.111, allocations: 111.6 kB / 440 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.1114, allocations: 183.5 kB / 440.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1127, allocations: 0.5301 MB / 440.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004275/0.1131, allocations: 327.4 kB / 441.1 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.1132, allocations: 65.19 kB / 441.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.1135, allocations: 195.1 kB / 441.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.1137, allocations: 167.2 kB / 441.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.1137, allocations: 8 kB / 441.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.1139, allocations: 103.9 kB / 441.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.1141, allocations: 115.6 kB / 441.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.413e-05/0.1142, allocations: 97.45 kB / 441.8 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.1146, allocations: 427.3 kB / 442.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1146, allocations: 0 / 442.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1146, allocations: 0 / 442.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1146, allocations: 0 / 442.2 MB, free: 13.11 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.001042/0.1157, allocations: 0.8164 MB / 443 MB, free: 12.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.1157, allocations: 12.03 kB / 443 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.379e-05/0.1158, allocations: 51.34 kB / 443.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.1164, allocations: 439.3 kB / 443.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.1165, allocations: 16.23 kB / 443.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.1165, allocations: 8 kB / 443.5 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.1169, allocations: 257.4 kB / 443.8 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1169, allocations: 4 kB / 443.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.117, allocations: 11.94 kB / 443.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.117, allocations: 4 kB / 443.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.1172, allocations: 103.9 kB / 443.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009889/0.1182, allocations: 0.8796 MB / 444.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000596/0.1189, allocations: 298.9 kB / 445.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.1189, allocations: 8.219 kB / 445.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004053/0.1193, allocations: 218.6 kB / 445.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.1193, allocations: 0 / 445.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008381/0.1202, allocations: 396.8 kB / 445.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.1203, allocations: 342.1 kB / 446 MB, free: 8.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006309/0.1209, allocations: 0.6315 MB / 446.7 MB, free: 8.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.121, allocations: 41.69 kB / 446.7 MB, free: 8.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.1211, allocations: 228.5 kB / 446.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.1212, allocations: 71.17 kB / 447 MB, free: 7.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.1212, allocations: 4 kB / 447 MB, free: 7.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1214, allocations: 366.7 kB / 447.4 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.1216, allocations: 79.95 kB / 447.4 MB, free: 7.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.1218, allocations: 241.1 kB / 447.7 MB, free: 7.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.1221, allocations: 100.9 kB / 447.8 MB, free: 7.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1221, allocations: 0 / 447.8 MB, free: 7.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005417/0.1226, allocations: 312.8 kB / 448.1 MB, free: 6.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1226, allocations: 12.12 kB / 448.1 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1226, allocations: 0 / 448.1 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1227, allocations: 4 kB / 448.1 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.1229, allocations: 59.89 kB / 448.1 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1229, allocations: 4 kB / 448.2 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.1231, allocations: 35.73 kB / 448.2 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.1232, allocations: 8 kB / 448.2 MB, free: 6.664 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 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002168/0.1234, allocations: 233.6 kB / 448.4 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.1235, allocations: 47.44 kB / 448.5 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.152e-05/0.1235, allocations: 59.91 kB / 448.5 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1236, allocations: 0 / 448.5 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1236, allocations: 4 kB / 448.5 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1236, allocations: 0 / 448.5 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.124, allocations: 405.4 kB / 448.9 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.124, allocations: 4 kB / 448.9 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.1241, allocations: 35.91 kB / 449 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1241, allocations: 4 kB / 449 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.1241, allocations: 8 kB / 449 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1241, allocations: 0 / 449 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1241, allocations: 4 kB / 449 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005865/0.1247, allocations: 399.8 kB / 449.4 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.1249, allocations: 140.5 kB / 449.5 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.984e-05/0.1249, allocations: 8 kB / 449.5 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.1251, allocations: 19.98 kB / 449.5 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.1252, allocations: 35.91 kB / 449.6 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.1252, allocations: 19.98 kB / 449.6 MB, free: 5.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000443/0.1257, allocations: 466.8 kB / 450 MB, free: 4.688 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1257, allocations: 0 / 450 MB, free: 4.688 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.1261, allocations: 95.89 kB / 450.1 MB, free: 4.594 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 (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.0009546/0.1271, allocations: 472.4 kB / 450.6 MB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004928/0.1276, allocations: 223.8 kB / 450.8 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1276, allocations: 4.25 kB / 450.8 MB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.128, allocations: 171.8 kB / 451 MB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.1285, allocations: 127.2 kB / 451.1 MB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.1296, allocations: 0.8235 MB / 451.9 MB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.13, allocations: 0.8509 MB / 452.8 MB, free: 1.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002218/0.1303, allocations: 87.19 kB / 452.9 MB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.1304, allocations: 51.41 kB / 452.9 MB, free: 1.777 MB / 382.1 MB Notification: Performance of SimCode: time 1.482e-06/0.1304, allocations: 7.938 kB / 452.9 MB, free: 1.77 MB / 382.1 MB Notification: Performance of Templates: time 0.2096/0.34, allocations: 6.854 MB / 459.8 MB, free: 47.59 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: