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.01149/0.0115, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.00223/0.00223, allocations: 185.3 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.682/1.682, allocations: 205.1 MB / 222.5 MB, free: 4.477 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.3255/0.3255, allocations: 38 MB / 307.9 MB, free: 10.11 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.00146/0.00146, allocations: 72.27 kB / 433 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3338, allocations: 56.47 MB / 489.4 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004028/0.3379, allocations: 2.258 MB / 491.7 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.3401, allocations: 1.466 MB / 493.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.3403, allocations: 3.156 kB / 493.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.3407, allocations: 143.2 kB / 493.3 MB, free: 17.29 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.0004336/0.3412, allocations: 223.9 kB / 493.5 MB, free: 17.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.3425, allocations: 0.5949 MB / 494.1 MB, free: 16.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005967/0.3431, allocations: 0.5309 MB / 494.7 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.3433, allocations: 91.25 kB / 494.7 MB, free: 16.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002861/0.3436, allocations: 223 kB / 495 MB, free: 16.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002965/0.3439, allocations: 217.7 kB / 495.2 MB, free: 16.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.3439, allocations: 29.06 kB / 495.2 MB, free: 16.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003529/0.3443, allocations: 167.8 kB / 495.4 MB, free: 16.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.3445, allocations: 136.9 kB / 495.5 MB, free: 16.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.3447, allocations: 192.8 kB / 495.7 MB, free: 16.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007348/0.3454, allocations: 0.5725 MB / 496.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3454, allocations: 0 / 496.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3454, allocations: 1.25 kB / 496.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3454, allocations: 0 / 496.3 MB, free: 15.89 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.00124/0.3467, allocations: 0.8864 MB / 497.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3467, allocations: 12.58 kB / 497.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.3468, allocations: 53.81 kB / 497.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006502/0.3475, allocations: 467.1 kB / 497.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.3475, allocations: 16.36 kB / 497.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.3476, allocations: 14.19 kB / 497.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/0.348, allocations: 258.6 kB / 497.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.348, allocations: 0.7969 kB / 497.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.3481, allocations: 11.34 kB / 498 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3481, allocations: 4.125 kB / 498 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.3484, allocations: 108.4 kB / 498.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000978/0.3493, allocations: 0.876 MB / 498.9 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006651/0.35, allocations: 293.6 kB / 499.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.3502, allocations: 114.3 kB / 499.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.3503, allocations: 7.578 kB / 499.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004066/0.3507, allocations: 215 kB / 499.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.3507, allocations: 0 / 499.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009013/0.3516, allocations: 406.8 kB / 500 MB, free: 13.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.097e-05/0.3517, allocations: 348.9 kB / 0.4886 GB, free: 12.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006784/0.3524, allocations: 0.625 MB / 0.4892 GB, free: 12.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.3524, allocations: 43.48 kB / 0.4892 GB, free: 12.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.3526, allocations: 224.9 kB / 0.4894 GB, free: 12.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.3526, allocations: 67.62 kB / 0.4895 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.199e-05/0.3527, allocations: 60.88 kB / 0.4896 GB, free: 12.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.3528, allocations: 366 kB / 0.4899 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.353, allocations: 81.45 kB / 0.49 GB, free: 11.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.3533, allocations: 240.6 kB / 0.4902 GB, free: 11.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.3538, allocations: 228.3 kB / 0.4904 GB, free: 11.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3538, allocations: 1.125 kB / 0.4904 GB, free: 11.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005925/0.3544, allocations: 320.3 kB / 0.4907 GB, free: 11.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3544, allocations: 6.125 kB / 0.4907 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3544, allocations: 1.531 kB / 0.4908 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3544, allocations: 7.969 kB / 0.4908 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.3547, allocations: 57.39 kB / 0.4908 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.3547, allocations: 8.797 kB / 0.4908 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.3549, allocations: 26.42 kB / 0.4908 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.3549, allocations: 10.41 kB / 0.4909 GB, free: 11.48 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.0002188/0.3551, allocations: 227.3 kB / 0.4911 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.3552, allocations: 53.52 kB / 0.4911 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.529e-05/0.3553, allocations: 56.25 kB / 0.4912 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3553, allocations: 7.5 kB / 0.4912 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.3554, allocations: 2.062 kB / 0.4912 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.3554, allocations: 2.281 kB / 0.4912 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.3558, allocations: 398.1 kB / 0.4916 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3558, allocations: 2.219 kB / 0.4916 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.356, allocations: 34.48 kB / 0.4916 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.356, allocations: 7 kB / 0.4916 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.356, allocations: 7.438 kB / 0.4916 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.356, allocations: 6.188 kB / 0.4916 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3561, allocations: 1.781 kB / 0.4916 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006643/0.3567, allocations: 366.7 kB / 0.492 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.3568, allocations: 125 kB / 0.4921 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.3569, allocations: 10.03 kB / 0.4921 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.3571, allocations: 20.95 kB / 0.4921 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.3572, allocations: 36.83 kB / 0.4922 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.3572, allocations: 14.09 kB / 0.4922 GB, free: 10.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005238/0.3578, allocations: 464.5 kB / 0.4926 GB, free: 10.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3578, allocations: 4 kB / 0.4926 GB, free: 10.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004748/0.3583, allocations: 104.9 kB / 0.4927 GB, free: 10.39 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.001006/0.3593, allocations: 467.8 kB / 0.4932 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005469/0.3598, allocations: 223.5 kB / 0.4934 GB, free: 9.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3598, allocations: 0 / 0.4934 GB, free: 9.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.3602, allocations: 178.7 kB / 0.4935 GB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007183/0.3609, allocations: 144.7 kB / 0.4937 GB, free: 9.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3621, allocations: 0.7557 MB / 0.4944 GB, free: 9.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.3624, allocations: 0.8401 MB / 0.4952 GB, free: 8.754 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002576/0.3627, allocations: 91.94 kB / 0.4953 GB, free: 8.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.3628, allocations: 50.34 kB / 0.4954 GB, free: 8.711 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3628, allocations: 1 kB / 0.4954 GB, free: 8.711 MB / 382.1 MB Notification: Performance of Templates: time 0.01538/0.3782, allocations: 7.76 MB / 0.503 GB, free: 5.324 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)