Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test20",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.009975/0.009975, allocations: 174.6 kB / 15.12 MB, free: 6.043 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 1.989/1.989, allocations: 194.5 MB / 210.3 MB, free: 11.43 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.002818/0.002818, allocations: 116.6 kB / 255.6 MB, free: 14.52 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.496/0.496, allocations: 40.01 MB / 340.8 MB, free: 14.99 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004721, allocations: 16 kB / 406.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3647, allocations: 54.86 MB / 461.1 MB, free: 24.52 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.5068, allocations: 81.22 MB / 0.5296 GB, free: 9.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.5072, allocations: 75.95 kB / 0.5297 GB, free: 9.766 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01902/0.5262, allocations: 3.501 MB / 0.5331 GB, free: 6.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5263, allocations: 4 kB / 0.5331 GB, free: 6.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.5263, allocations: 0 / 0.5331 GB, free: 6.258 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.0006008/0.5269, allocations: 410.9 kB / 0.5335 GB, free: 5.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.527, allocations: 11.97 kB / 0.5335 GB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.527, allocations: 30.56 kB / 0.5336 GB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.5271, allocations: 11.86 kB / 0.5336 GB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.5273, allocations: 179 kB / 0.5338 GB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.5274, allocations: 4 kB / 0.5338 GB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.5274, allocations: 12 kB / 0.5338 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.5276, allocations: 59.39 kB / 0.5338 GB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5277, allocations: 0 / 0.5338 GB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.5277, allocations: 4 kB / 0.5338 GB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.5277, allocations: 3.953 kB / 0.5338 GB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.5279, allocations: 27.92 kB / 0.5339 GB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.5284, allocations: 276.8 kB / 0.5341 GB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.5287, allocations: 46.56 kB / 0.5342 GB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.5287, allocations: 0 / 0.5342 GB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.5288, allocations: 38.5 kB / 0.5342 GB, free: 4.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.5288, allocations: 4 kB / 0.5342 GB, free: 4.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008819/0.5297, allocations: 157.5 kB / 0.5344 GB, free: 4.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.5298, allocations: 77.11 kB / 0.5344 GB, free: 4.727 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.53, allocations: 117 kB / 0.5345 GB, free: 4.605 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.53, allocations: 29.7 kB / 0.5346 GB, free: 4.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.5301, allocations: 88.14 kB / 0.5347 GB, free: 4.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.5301, allocations: 15.73 kB / 0.5347 GB, free: 4.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.5301, allocations: 4 kB / 0.5347 GB, free: 4.461 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5303, allocations: 318.8 kB / 0.535 GB, free: 4.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.5305, allocations: 31.92 kB / 0.535 GB, free: 4.109 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.5306, allocations: 41.64 kB / 0.5351 GB, free: 4.062 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.5308, allocations: 53.69 kB / 0.5351 GB, free: 4.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5308, allocations: 0 / 0.5351 GB, free: 4.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004029/0.5312, allocations: 127.2 kB / 0.5352 GB, free: 3.867 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.645e-05/0.5313, allocations: 33.7 kB / 0.5353 GB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.5313, allocations: 3.953 kB / 0.5353 GB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.5314, allocations: 0 / 0.5353 GB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.5315, allocations: 19.98 kB / 0.5353 GB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5315, allocations: 4 kB / 0.5353 GB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.546e-05/0.5316, allocations: 8 kB / 0.5353 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.5316, allocations: 0 / 0.5353 GB, free: 3.793 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 0.0001236/0.5318, allocations: 113.8 kB / 0.5354 GB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.5318, allocations: 7.906 kB / 0.5354 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.5322, allocations: 97.56 kB / 0.5355 GB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.5322, allocations: 7.953 kB / 0.5355 GB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.5323, allocations: 4.297 kB / 0.5355 GB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5323, allocations: 0 / 0.5355 GB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/0.5329, allocations: 350.6 kB / 0.5358 GB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.533, allocations: 0 / 0.5358 GB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.5331, allocations: 12 kB / 0.5359 GB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.5331, allocations: 7.938 kB / 0.5359 GB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.5331, allocations: 0 / 0.5359 GB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5331, allocations: 4 kB / 0.5359 GB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5331, allocations: 3.938 kB / 0.5359 GB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.5335, allocations: 183.4 kB / 0.536 GB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.5336, allocations: 81.09 kB / 0.5361 GB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.5337, allocations: 3.953 kB / 0.5361 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.5338, allocations: 12 kB / 0.5361 GB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.5338, allocations: 3.984 kB / 0.5361 GB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.5339, allocations: 8 kB / 0.5362 GB, free: 2.797 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.534, allocations: 91.27 kB / 0.5362 GB, free: 2.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.534, allocations: 0 / 0.5362 GB, free: 2.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.5344, allocations: 27.94 kB / 0.5363 GB, free: 2.68 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.001713/0.5361, allocations: 0.9961 MB / 0.5372 GB, free: 1.723 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003813/0.5365, allocations: 111.4 kB / 0.5373 GB, free: 1.602 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.5365, allocations: 0 / 0.5373 GB, free: 1.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.5367, allocations: 35.86 kB / 0.5374 GB, free: 1.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.537, allocations: 11.95 kB / 0.5374 GB, free: 1.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008475/0.5378, allocations: 382.7 kB / 0.5378 GB, free: 1.129 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.5382, allocations: 0.6918 MB / 0.5384 GB, free: 424 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.554e-05/0.5383, allocations: 8.188 kB / 0.5384 GB, free: 416 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.5384, allocations: 27.42 kB / 0.5385 GB, free: 388 kB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5384, allocations: 0 / 0.5385 GB, free: 388 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.5703, allocations: 2.067 MB / 0.5405 GB, free: 14.34 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003325/0.5707, allocations: 221.4 kB / 0.5407 GB, free: 14.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.016, allocations: 0 / 0.5407 GB, free: 14.09 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat does not exist to compare? outputFormat=mat