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.008935/0.008936, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001983/0.001983, allocations: 190.4 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.677/1.677, allocations: 205.1 MB / 222.5 MB, free: 4.387 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.3352/0.3352, allocations: 38 MB / 307.9 MB, free: 10.36 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.001635/0.001635, allocations: 75.84 kB / 433 MB, free: 5.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3166, allocations: 56.47 MB / 489.4 MB, free: 20.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003654/0.3203, allocations: 2.259 MB / 491.7 MB, free: 18.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.3229, allocations: 1.468 MB / 493.2 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.3232, allocations: 7.625 kB / 493.2 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005714/0.3238, allocations: 135.1 kB / 493.3 MB, free: 17.46 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.0006027/0.3244, allocations: 233.8 kB / 493.5 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.3262, allocations: 0.6061 MB / 494.1 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008079/0.327, allocations: 0.5246 MB / 494.7 MB, free: 16.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.3273, allocations: 82.64 kB / 494.7 MB, free: 16.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003232/0.3276, allocations: 231.4 kB / 495 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.3279, allocations: 216.6 kB / 495.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.66e-05/0.328, allocations: 25.69 kB / 495.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003926/0.3284, allocations: 168 kB / 495.4 MB, free: 16.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.3286, allocations: 132.6 kB / 495.5 MB, free: 16.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.3288, allocations: 198.1 kB / 495.7 MB, free: 16.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007803/0.3296, allocations: 0.5719 MB / 496.3 MB, free: 16.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3296, allocations: 0 / 496.3 MB, free: 16.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3296, allocations: 0 / 496.3 MB, free: 16.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.3296, allocations: 5.125 kB / 496.3 MB, free: 16.05 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.001148/0.3307, allocations: 0.8811 MB / 497.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3308, allocations: 14.16 kB / 497.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.3309, allocations: 53.64 kB / 497.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/0.3316, allocations: 467.3 kB / 497.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.3316, allocations: 12.44 kB / 497.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.3317, allocations: 22.69 kB / 497.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.3322, allocations: 262 kB / 498 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3322, allocations: 0 / 498 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.3322, allocations: 7.031 kB / 498 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3322, allocations: 3.312 kB / 498 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.3326, allocations: 109.8 kB / 498.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.3338, allocations: 0.8724 MB / 499 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.3345, allocations: 297.5 kB / 499.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.3348, allocations: 104.8 kB / 499.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.623e-05/0.3348, allocations: 13 kB / 499.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000446/0.3353, allocations: 215.2 kB / 499.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.963e-06/0.3353, allocations: 0 / 499.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.00113/0.3364, allocations: 410.3 kB / 500 MB, free: 13.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.3366, allocations: 345.8 kB / 0.4886 GB, free: 13.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.3376, allocations: 0.6281 MB / 0.4892 GB, free: 12.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.3377, allocations: 35.33 kB / 0.4892 GB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.3379, allocations: 229.6 kB / 0.4894 GB, free: 12.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.326e-05/0.338, allocations: 67.84 kB / 0.4895 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3381, allocations: 67.22 kB / 0.4896 GB, free: 12.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3383, allocations: 363 kB / 0.4899 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.3385, allocations: 81.5 kB / 0.49 GB, free: 12.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.3389, allocations: 246.3 kB / 0.4902 GB, free: 11.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004166/0.3393, allocations: 224.1 kB / 0.4905 GB, free: 11.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3393, allocations: 3.938 kB / 0.4905 GB, free: 11.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006193/0.3399, allocations: 319.6 kB / 0.4908 GB, free: 11.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.34, allocations: 7.562 kB / 0.4908 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.34, allocations: 6.719 kB / 0.4908 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.34, allocations: 6.625 kB / 0.4908 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.3403, allocations: 54.89 kB / 0.4908 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3403, allocations: 2.375 kB / 0.4908 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.3405, allocations: 28.3 kB / 0.4909 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.3405, allocations: 14.28 kB / 0.4909 GB, free: 11.63 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.0002197/0.3407, allocations: 215.7 kB / 0.4911 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/0.3408, allocations: 53.08 kB / 0.4911 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.3409, allocations: 60.62 kB / 0.4912 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.341, allocations: 7.469 kB / 0.4912 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.341, allocations: 1 kB / 0.4912 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.341, allocations: 7.016 kB / 0.4912 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.3415, allocations: 401.1 kB / 0.4916 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3415, allocations: 1.188 kB / 0.4916 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.3416, allocations: 24.89 kB / 0.4916 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3416, allocations: 2.281 kB / 0.4916 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.3416, allocations: 14.48 kB / 0.4916 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3416, allocations: 7.062 kB / 0.4916 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3417, allocations: 5.188 kB / 0.4916 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/0.3424, allocations: 363.6 kB / 0.492 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.3425, allocations: 121.8 kB / 0.4921 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.3426, allocations: 12.66 kB / 0.4921 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.3427, allocations: 21.14 kB / 0.4921 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.3429, allocations: 37.31 kB / 0.4922 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.3429, allocations: 16.33 kB / 0.4922 GB, free: 10.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006539/0.3436, allocations: 461.6 kB / 0.4926 GB, free: 10.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3436, allocations: 0 / 0.4926 GB, free: 10.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005735/0.3442, allocations: 104.9 kB / 0.4927 GB, free: 10.56 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.001033/0.3452, allocations: 471.7 kB / 0.4932 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005823/0.3458, allocations: 223.7 kB / 0.4934 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3458, allocations: 1.281 kB / 0.4934 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.3462, allocations: 169.5 kB / 0.4936 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006625/0.3469, allocations: 152.9 kB / 0.4937 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.3481, allocations: 0.7674 MB / 0.4944 GB, free: 9.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.3484, allocations: 0.8409 MB / 0.4953 GB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.3487, allocations: 88.25 kB / 0.4954 GB, free: 8.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.3488, allocations: 51.33 kB / 0.4954 GB, free: 8.871 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3488, allocations: 1.656 kB / 0.4954 GB, free: 8.871 MB / 382.1 MB Notification: Performance of Templates: time 0.01413/0.363, allocations: 7.598 MB / 0.5028 GB, free: 5.57 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)