Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008047/0.0008047, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009003/0.0009004, allocations: 172.7 kB / 15.95 MB, free: 208 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.223/1.223, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.2655/0.2655, allocations: 38.04 MB / 308.4 MB, free: 10.3 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.0005061/0.0005063, allocations: 12 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.085/0.08552, allocations: 57.52 MB / 434 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00219/0.08775, allocations: 1.872 MB / 435.8 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.08976, allocations: 1.381 MB / 437.2 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.08998, allocations: 7.938 kB / 437.2 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.09034, allocations: 127.5 kB / 437.3 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003804/0.09074, allocations: 167.3 kB / 437.5 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.09205, allocations: 0.542 MB / 438 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.09257, allocations: 454.6 kB / 438.5 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.09272, allocations: 69.16 kB / 438.6 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.09299, allocations: 191 kB / 438.7 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.09321, allocations: 187.1 kB / 438.9 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.09326, allocations: 8 kB / 438.9 MB, free: 0.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.09348, allocations: 119.8 kB / 439 MB, free: 436 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.09361, allocations: 103.6 kB / 439.1 MB, free: 332 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.021e-05/0.0937, allocations: 97.45 kB / 439.2 MB, free: 228 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.09414, allocations: 431.3 kB / 439.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.09415, allocations: 0 / 439.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09416, allocations: 0 / 439.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.09418, allocations: 0 / 439.7 MB, free: 15.8 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.0009461/0.09513, allocations: 0.8087 MB / 440.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.09516, allocations: 12.02 kB / 440.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.09526, allocations: 55.34 kB / 440.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.09576, allocations: 447.2 kB / 441 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.0958, allocations: 16.22 kB / 441 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.09583, allocations: 12 kB / 441 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.09621, allocations: 257.4 kB / 441.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.09623, allocations: 4 kB / 441.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.09626, allocations: 8 kB / 441.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.09627, allocations: 7.953 kB / 441.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.09654, allocations: 111.9 kB / 441.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008981/0.09744, allocations: 0.8757 MB / 442.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.09801, allocations: 294.5 kB / 442.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.09821, allocations: 103.4 kB / 442.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.09825, allocations: 8 kB / 442.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003662/0.09862, allocations: 214.6 kB / 442.9 MB, free: 12.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.322e-06/0.09863, allocations: 0 / 442.9 MB, free: 12.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008046/0.09944, allocations: 400.7 kB / 443.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.09957, allocations: 342.1 kB / 443.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006448/0.1002, allocations: 0.6277 MB / 444.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.1003, allocations: 37.69 kB / 444.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1004, allocations: 224.5 kB / 444.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.254e-05/0.1005, allocations: 67.25 kB / 444.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/0.1005, allocations: 8 kB / 444.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1006, allocations: 366.8 kB / 444.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.1008, allocations: 75.95 kB / 445 MB, free: 10.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.1011, allocations: 253 kB / 445.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.1013, allocations: 104.9 kB / 445.3 MB, free: 9.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1014, allocations: 0 / 445.3 MB, free: 9.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005632/0.1019, allocations: 312.8 kB / 445.6 MB, free: 9.348 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.102, allocations: 11.94 kB / 445.6 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.102, allocations: 0 / 445.6 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.102, allocations: 4 kB / 445.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.1022, allocations: 56.03 kB / 445.7 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1022, allocations: 7.984 kB / 445.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.1024, allocations: 27.84 kB / 445.7 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.1024, allocations: 15.98 kB / 445.8 MB, free: 9.227 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.0002024/0.1026, allocations: 226.9 kB / 446 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/0.1027, allocations: 55.34 kB / 446 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.136e-05/0.1028, allocations: 51.91 kB / 446.1 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1028, allocations: 12 kB / 446.1 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1028, allocations: 4 kB / 446.1 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1028, allocations: 0 / 446.1 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.1032, allocations: 409.2 kB / 446.5 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1032, allocations: 0 / 446.5 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.1033, allocations: 23.98 kB / 446.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1033, allocations: 11.92 kB / 446.5 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.1033, allocations: 8 kB / 446.5 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1033, allocations: 0 / 446.5 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1033, allocations: 0 / 446.5 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.1039, allocations: 362.8 kB / 446.9 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.74e-05/0.104, allocations: 152.3 kB / 447 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/0.1041, allocations: 8 kB / 447.1 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.1042, allocations: 19.98 kB / 447.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.1043, allocations: 39.89 kB / 447.1 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.1043, allocations: 15.98 kB / 447.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004463/0.1048, allocations: 466.8 kB / 447.6 MB, free: 7.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1048, allocations: 0 / 447.6 MB, free: 7.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003681/0.1052, allocations: 95.98 kB / 447.7 MB, free: 7.203 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.0009001/0.1061, allocations: 452.9 kB / 448.1 MB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004773/0.1066, allocations: 227.7 kB / 448.3 MB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1066, allocations: 3.984 kB / 448.3 MB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.1069, allocations: 164.5 kB / 448.5 MB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005438/0.1075, allocations: 142.5 kB / 448.6 MB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.1085, allocations: 0.8353 MB / 449.5 MB, free: 5.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.1088, allocations: 0.8431 MB / 450.3 MB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000212/0.109, allocations: 87.2 kB / 450.4 MB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.856e-05/0.1092, allocations: 47.42 kB / 450.5 MB, free: 4.387 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1092, allocations: 0 / 450.5 MB, free: 4.387 MB / 382.1 MB Notification: Performance of Templates: time 0.1538/0.263, allocations: 6.878 MB / 457.3 MB, free: 49.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) Environment - environmentSimulation: