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.008299/0.008299, allocations: 95.61 kB / 15.73 MB, free: 6.055 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.001535/0.001535, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.592/1.592, allocations: 205.1 MB / 222.6 MB, free: 4.484 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.3304/0.3304, allocations: 38 MB / 307.9 MB, free: 10.12 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.001473/0.001473, allocations: 72.47 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3515, allocations: 56.47 MB / 489.4 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003606/0.3552, allocations: 2.267 MB / 491.7 MB, free: 18.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.3577, allocations: 1.457 MB / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.3578, allocations: 11.66 kB / 493.2 MB, free: 17.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.3584, allocations: 146.8 kB / 493.3 MB, free: 17.34 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.0005454/0.3589, allocations: 220.8 kB / 493.5 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.3605, allocations: 0.5981 MB / 494.1 MB, free: 16.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007037/0.3612, allocations: 0.5268 MB / 494.7 MB, free: 16.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.3614, allocations: 87.92 kB / 494.7 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.3616, allocations: 217.1 kB / 495 MB, free: 16.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.362, allocations: 225.2 kB / 495.2 MB, free: 16.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.362, allocations: 24.34 kB / 495.2 MB, free: 16.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.3624, allocations: 172.8 kB / 495.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.3626, allocations: 132.8 kB / 495.5 MB, free: 16.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.3628, allocations: 193.2 kB / 495.7 MB, free: 16.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007775/0.3636, allocations: 0.5756 MB / 496.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3636, allocations: 0 / 496.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3636, allocations: 1.281 kB / 496.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.3636, allocations: 0 / 496.3 MB, free: 15.95 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.001208/0.3649, allocations: 0.9089 MB / 497.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.3649, allocations: 13.58 kB / 497.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.3651, allocations: 54.52 kB / 497.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007088/0.3658, allocations: 470.8 kB / 497.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.3658, allocations: 16.59 kB / 497.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.3658, allocations: 14 kB / 497.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.3664, allocations: 258.8 kB / 498 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3664, allocations: 4 kB / 498 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.3664, allocations: 8.031 kB / 498 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.3664, allocations: 3.656 kB / 498 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003156/0.3668, allocations: 113.4 kB / 498.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009564/0.3677, allocations: 0.8716 MB / 499 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/0.3683, allocations: 293 kB / 499.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.3686, allocations: 108.9 kB / 499.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.449e-05/0.3686, allocations: 9.016 kB / 499.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003897/0.369, allocations: 223.2 kB / 499.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.723e-06/0.369, allocations: 0 / 499.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009228/0.3699, allocations: 410.7 kB / 500 MB, free: 13.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.083e-05/0.37, allocations: 344.2 kB / 0.4886 GB, free: 12.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007721/0.3708, allocations: 0.6255 MB / 0.4892 GB, free: 12.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.3709, allocations: 40 kB / 0.4893 GB, free: 12.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.371, allocations: 224.6 kB / 0.4895 GB, free: 12.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.27e-05/0.3711, allocations: 68.11 kB / 0.4895 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3712, allocations: 59.89 kB / 0.4896 GB, free: 12.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3713, allocations: 369.2 kB / 0.4899 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.3715, allocations: 91.17 kB / 0.49 GB, free: 12.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.3718, allocations: 240.2 kB / 0.4903 GB, free: 11.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.3723, allocations: 233.8 kB / 0.4905 GB, free: 11.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3723, allocations: 1.281 kB / 0.4905 GB, free: 11.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006211/0.3729, allocations: 312 kB / 0.4908 GB, free: 11.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.373, allocations: 7.141 kB / 0.4908 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.373, allocations: 2.219 kB / 0.4908 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.373, allocations: 10.44 kB / 0.4908 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.3733, allocations: 58.11 kB / 0.4909 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.3733, allocations: 4.875 kB / 0.4909 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.3735, allocations: 30.8 kB / 0.4909 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.3735, allocations: 9.922 kB / 0.4909 GB, free: 11.5 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.0002246/0.3737, allocations: 219.5 kB / 0.4911 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.3738, allocations: 58.7 kB / 0.4912 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.648e-05/0.3739, allocations: 55.73 kB / 0.4912 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3739, allocations: 12 kB / 0.4912 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.374, allocations: 1.891 kB / 0.4912 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.374, allocations: 2.781 kB / 0.4912 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/0.3744, allocations: 405.4 kB / 0.4916 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3744, allocations: 0.5625 kB / 0.4916 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.3746, allocations: 32.52 kB / 0.4917 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3746, allocations: 1.281 kB / 0.4917 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.3746, allocations: 8.391 kB / 0.4917 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3746, allocations: 6.109 kB / 0.4917 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3747, allocations: 1.375 kB / 0.4917 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006609/0.3753, allocations: 359.5 kB / 0.492 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.3754, allocations: 137.3 kB / 0.4921 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.3755, allocations: 10.34 kB / 0.4922 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.3757, allocations: 24.8 kB / 0.4922 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.3758, allocations: 41.3 kB / 0.4922 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.3758, allocations: 13.33 kB / 0.4922 GB, free: 10.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005376/0.3764, allocations: 463.7 kB / 0.4927 GB, free: 10.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3764, allocations: 1.156 kB / 0.4927 GB, free: 10.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004942/0.3769, allocations: 96.45 kB / 0.4928 GB, free: 10.41 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.001041/0.3779, allocations: 464 kB / 0.4932 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005612/0.3785, allocations: 227.2 kB / 0.4934 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3785, allocations: 1.5 kB / 0.4934 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.3789, allocations: 172.5 kB / 0.4936 GB, free: 9.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007014/0.3796, allocations: 144.7 kB / 0.4937 GB, free: 9.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.3807, allocations: 0.7806 MB / 0.4945 GB, free: 9.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.3811, allocations: 0.8411 MB / 0.4953 GB, free: 8.754 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002317/0.3813, allocations: 86.98 kB / 0.4954 GB, free: 8.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.3814, allocations: 56.83 kB / 0.4954 GB, free: 8.711 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3815, allocations: 0 / 0.4954 GB, free: 8.711 MB / 382.1 MB Notification: Performance of Templates: time 0.01438/0.3958, allocations: 7.604 MB / 0.5029 GB, free: 5.398 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.makefile (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)