Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01381/0.01381, allocations: 166.3 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.728/1.728, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001927/0.001927, allocations: 111.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4545/0.4545, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005054/0.0005054, allocations: 8 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 48.71 MB / 411.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3979/0.5071, allocations: 73.96 MB / 485.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.5073, allocations: 58.61 kB / 485.7 MB, free: 13.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0208/0.5282, allocations: 4.454 MB / 490.1 MB, free: 9.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5282, allocations: 0 / 490.1 MB, free: 9.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.5282, allocations: 4 kB / 490.2 MB, free: 9.816 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009407/0.5292, allocations: 0.5692 MB / 490.7 MB, free: 9.188 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.5292, allocations: 8.031 kB / 490.7 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.5293, allocations: 38.31 kB / 490.8 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.5294, allocations: 15.89 kB / 490.8 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.5295, allocations: 183.4 kB / 491 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.5295, allocations: 7.984 kB / 491 MB, free: 8.902 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.5296, allocations: 11.69 kB / 491 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.53, allocations: 176.3 kB / 491.2 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.53, allocations: 0 / 491.2 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.5301, allocations: 0 / 491.2 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.5301, allocations: 8 kB / 491.2 MB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.5303, allocations: 67.58 kB / 491.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.5306, allocations: 265.1 kB / 491.5 MB, free: 8.375 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004353/0.5311, allocations: 193.7 kB / 491.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.5311, allocations: 0 / 491.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004404/0.5315, allocations: 209.9 kB / 491.9 MB, free: 7.965 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.374e-06/0.5316, allocations: 0 / 491.9 MB, free: 7.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001139/0.5327, allocations: 390.3 kB / 492.3 MB, free: 7.633 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.5328, allocations: 140.4 kB / 492.4 MB, free: 7.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.533, allocations: 169.1 kB / 492.6 MB, free: 7.316 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.533, allocations: 33.52 kB / 492.6 MB, free: 7.281 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.5331, allocations: 103.5 kB / 492.7 MB, free: 7.191 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.5331, allocations: 43.17 kB / 492.7 MB, free: 7.156 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.5332, allocations: 3.875 kB / 492.7 MB, free: 7.156 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.5332, allocations: 330.4 kB / 493.1 MB, free: 6.832 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.5334, allocations: 67.52 kB / 493.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.5336, allocations: 108.4 kB / 493.2 MB, free: 6.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.5338, allocations: 198.2 kB / 493.4 MB, free: 6.488 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5339, allocations: 3.953 kB / 493.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006666/0.5345, allocations: 424.9 kB / 493.9 MB, free: 6.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.613e-05/0.5346, allocations: 120.4 kB / 494 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5346, allocations: 4 kB / 494 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.5347, allocations: 1.875 kB / 494 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.418e-05/0.5347, allocations: 7.984 kB / 494 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.5347, allocations: 4 kB / 494 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.5349, allocations: 19.09 kB / 494 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.5349, allocations: 12 kB / 494 MB, free: 5.918 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$PRE.integerTable4.y,integerTable4.y,$PRE.integerTable4.nextTime,integerTable4.nextTime,$PRE.integerTable4.index,integerTable4.index,$whenCondition3,$PRE.integerTable3.y,integerTable3.y,$PRE.integerTable3.nextTime,integerTable3.nextTime,$PRE.integerTable3.index,integerTable3.index,$whenCondition2,$PRE.integerTable2.y,integerTable2.y,$PRE.integerTable2.nextTime,integerTable2.nextTime,$PRE.integerTable2.index,integerTable2.index,$whenCondition1,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001688/0.5351, allocations: 165.1 kB / 494.2 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.5352, allocations: 15.77 kB / 494.2 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.5352, allocations: 19 kB / 494.2 MB, free: 5.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.5352, allocations: 4 kB / 494.2 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.5353, allocations: 3.984 kB / 494.2 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.5353, allocations: 3.938 kB / 494.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.5355, allocations: 217.9 kB / 494.4 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5355, allocations: 4 kB / 494.4 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.155e-05/0.5355, allocations: 7.938 kB / 494.4 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.5355, allocations: 8 kB / 494.5 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.5355, allocations: 3.312 kB / 494.5 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.5356, allocations: 9.797 kB / 494.5 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5356, allocations: 3.938 kB / 494.5 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007923/0.5364, allocations: 383 kB / 494.8 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.5364, allocations: 88.92 kB / 494.9 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.5365, allocations: 7.312 kB / 494.9 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.5366, allocations: 15.36 kB / 495 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.5367, allocations: 15.97 kB / 495 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/0.5368, allocations: 35.42 kB / 495 MB, free: 4.902 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.5369, allocations: 139.5 kB / 495.1 MB, free: 4.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.537, allocations: 0 / 495.1 MB, free: 4.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005732/0.5375, allocations: 95.36 kB / 495.2 MB, free: 4.688 MB / 330.7 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,integerTable4.y,integerTable4.nextTime,integerTable4.index,$whenCondition3,integerTable3.y,integerTable3.nextTime,integerTable3.index,$whenCondition2,integerTable2.y,integerTable2.nextTime,integerTable2.index,$whenCondition1,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 8 (integerTable.index,integerTable.nextTime,integerTable2.index,integerTable2.nextTime,integerTable3.index,integerTable3.nextTime,integerTable4.index,integerTable4.nextTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001436/0.539, allocations: 1.221 MB / 496.5 MB, free: 3.477 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006322/0.5396, allocations: 421.1 kB / 496.9 MB, free: 3.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5397, allocations: 0 / 496.9 MB, free: 3.066 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.54, allocations: 102.1 kB / 497 MB, free: 2.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.5402, allocations: 12.3 kB / 497 MB, free: 2.973 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.5424, allocations: 1.577 MB / 498.6 MB, free: 1.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.5426, allocations: 0.7199 MB / 499.3 MB, free: 0.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.624e-05/0.5427, allocations: 4.891 kB / 499.3 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.5427, allocations: 40.17 kB / 499.3 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of SimCode: time 1.021e-06/0.5427, allocations: 0 / 499.3 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.5686, allocations: 3.946 MB / 0.4915 GB, free: 12.88 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003544/0.569, allocations: 174.8 kB / 0.4916 GB, free: 12.62 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.022, allocations: 0 / 0.4916 GB, free: 12.62 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat