Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test24.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test24,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009768/0.009768, allocations: 177.1 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.005/2.005, allocations: 194.5 MB / 210.3 MB, free: 7.625 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00199/0.001989, allocations: 120.7 kB / 255.6 MB, free: 10.25 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2811/0.2811, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004699/0.00047, allocations: 11.88 kB / 406.3 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0992/0.09971, allocations: 54.87 MB / 461.1 MB, free: 3.238 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.244, allocations: 81.23 MB / 0.5297 GB, free: 1.891 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.2443, allocations: 71.95 kB / 0.5297 GB, free: 1.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3/0.5443, allocations: 3.518 MB / 0.5332 GB, free: 82.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5443, allocations: 2.125 kB / 0.5332 GB, free: 82.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.5444, allocations: 1.062 kB / 0.5332 GB, free: 82.68 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004426/0.5448, allocations: 392.4 kB / 0.5335 GB, free: 82.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5449, allocations: 12.23 kB / 0.5336 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.5449, allocations: 35.06 kB / 0.5336 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.545, allocations: 11.39 kB / 0.5336 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.5452, allocations: 183.6 kB / 0.5338 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.5452, allocations: 5.141 kB / 0.5338 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.5453, allocations: 6.094 kB / 0.5338 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.5455, allocations: 68.14 kB / 0.5338 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5455, allocations: 0 / 0.5338 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.5455, allocations: 2.281 kB / 0.5338 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.5455, allocations: 3.953 kB / 0.5339 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.5457, allocations: 30.84 kB / 0.5339 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.5461, allocations: 285.2 kB / 0.5342 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.5464, allocations: 49.92 kB / 0.5342 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.5465, allocations: 1.859 kB / 0.5342 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.5465, allocations: 35.94 kB / 0.5342 GB, free: 81.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.5465, allocations: 0 / 0.5342 GB, free: 81.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008489/0.5473, allocations: 166.8 kB / 0.5344 GB, free: 81.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.5474, allocations: 78.73 kB / 0.5345 GB, free: 81.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.5475, allocations: 114.7 kB / 0.5346 GB, free: 81.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.5476, allocations: 27.27 kB / 0.5346 GB, free: 81.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.5476, allocations: 90.52 kB / 0.5347 GB, free: 81.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.5476, allocations: 16.33 kB / 0.5347 GB, free: 81.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.5477, allocations: 1.062 kB / 0.5347 GB, free: 81.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.184e-05/0.5477, allocations: 316.8 kB / 0.535 GB, free: 80.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.5479, allocations: 32.31 kB / 0.535 GB, free: 80.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.548, allocations: 41.8 kB / 0.5351 GB, free: 80.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.5482, allocations: 59.45 kB / 0.5351 GB, free: 80.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5482, allocations: 4.031 kB / 0.5351 GB, free: 80.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003522/0.5486, allocations: 128 kB / 0.5353 GB, free: 80.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.5486, allocations: 32.11 kB / 0.5353 GB, free: 80.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.5486, allocations: 9.391 kB / 0.5353 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.5487, allocations: 0.875 kB / 0.5353 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.5488, allocations: 18.83 kB / 0.5353 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.5488, allocations: 4.859 kB / 0.5353 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.858e-05/0.5489, allocations: 8.469 kB / 0.5353 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.5489, allocations: 3.062 kB / 0.5353 GB, free: 80.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 8.319e-05/0.549, allocations: 111.9 kB / 0.5354 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.5491, allocations: 13.88 kB / 0.5355 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.5494, allocations: 104.7 kB / 0.5356 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5495, allocations: 6.375 kB / 0.5356 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5495, allocations: 2.281 kB / 0.5356 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5495, allocations: 0 / 0.5356 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/0.55, allocations: 359.5 kB / 0.5359 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5501, allocations: 0 / 0.5359 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-05/0.5502, allocations: 15.53 kB / 0.5359 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.5502, allocations: 3.953 kB / 0.5359 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.5502, allocations: 0 / 0.5359 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.5502, allocations: 5.344 kB / 0.5359 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5502, allocations: 2.531 kB / 0.5359 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.5506, allocations: 188.8 kB / 0.5361 GB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.5506, allocations: 83.91 kB / 0.5362 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.5506, allocations: 6.953 kB / 0.5362 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.5508, allocations: 10.8 kB / 0.5362 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.5508, allocations: 8.078 kB / 0.5362 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.5508, allocations: 4 kB / 0.5362 GB, free: 80.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.88e-05/0.5509, allocations: 102.9 kB / 0.5363 GB, free: 80.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5509, allocations: 0 / 0.5363 GB, free: 80.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003928/0.5513, allocations: 35.62 kB / 0.5364 GB, free: 80 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001443/0.5528, allocations: 0.9864 MB / 0.5373 GB, free: 79.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003852/0.5532, allocations: 123.5 kB / 0.5374 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5532, allocations: 0 / 0.5374 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.5534, allocations: 32.84 kB / 0.5375 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.5536, allocations: 22.69 kB / 0.5375 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007807/0.5544, allocations: 396.8 kB / 0.5379 GB, free: 78.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.5546, allocations: 0.6896 MB / 0.5385 GB, free: 78.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.885e-05/0.5547, allocations: 19.69 kB / 0.5386 GB, free: 78.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.31e-05/0.5548, allocations: 24.08 kB / 0.5386 GB, free: 78.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5548, allocations: 0.9375 kB / 0.5386 GB, free: 78.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.5798, allocations: 2.075 MB / 0.5406 GB, free: 77.71 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.58, allocations: 213.9 kB / 0.5408 GB, free: 77.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/2.941, allocations: 3.938 kB / 0.5408 GB, free: 77.46 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test24_res.mat does not exist to compare? outputFormat=mat