Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2276/0.2276, allocations: 46.11 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 75.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3591, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003536/0.3626, allocations: 2.032 MB / 0.5326 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.3647, allocations: 1.245 MB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.3648, allocations: 2.781 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.3651, allocations: 47.67 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004704/0.3655, allocations: 206.2 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009428/0.3665, allocations: 440.3 kB / 0.5345 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003862/0.3669, allocations: 294.9 kB / 0.5348 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.3671, allocations: 62.83 kB / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.3673, allocations: 133.1 kB / 0.535 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.3676, allocations: 179.2 kB / 0.5351 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.3676, allocations: 13.75 kB / 0.5351 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.3678, allocations: 71.64 kB / 0.5352 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.3679, allocations: 136.5 kB / 0.5353 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.3681, allocations: 173.3 kB / 0.5355 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005204/0.3686, allocations: 409.9 kB / 0.5359 GB, free: 9.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.3687, allocations: 0 / 0.5359 GB, free: 9.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3687, allocations: 1.125 kB / 0.5359 GB, free: 9.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.3687, allocations: 0 / 0.5359 GB, free: 9.48 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001086/0.3698, allocations: 0.8153 MB / 0.5367 GB, free: 8.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3698, allocations: 9.719 kB / 0.5367 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.3699, allocations: 46.19 kB / 0.5367 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/0.3701, allocations: 81.52 kB / 0.5368 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.3708, allocations: 476.7 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.3708, allocations: 12.28 kB / 0.5373 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.3709, allocations: 14.44 kB / 0.5373 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.3711, allocations: 128.5 kB / 0.5374 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3712, allocations: 5.312 kB / 0.5374 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3712, allocations: 5.438 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.3712, allocations: 2.719 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.3714, allocations: 81.47 kB / 0.5375 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009308/0.3723, allocations: 0.6859 MB / 0.5382 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.3726, allocations: 112.1 kB / 0.5383 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.3727, allocations: 40.92 kB / 0.5383 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.3727, allocations: 9.078 kB / 0.5383 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.3728, allocations: 37.09 kB / 0.5384 GB, free: 7.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.3728, allocations: 4 kB / 0.5384 GB, free: 7.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0014/0.3742, allocations: 0.5195 MB / 0.5389 GB, free: 7.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.3743, allocations: 83.44 kB / 0.539 GB, free: 6.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.3753, allocations: 0.9308 MB / 0.5399 GB, free: 6.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.3753, allocations: 26.83 kB / 0.5399 GB, free: 6.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.3756, allocations: 261.2 kB / 0.5401 GB, free: 6.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.3756, allocations: 54.66 kB / 0.5402 GB, free: 6.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.3757, allocations: 32.48 kB / 0.5402 GB, free: 6.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.3759, allocations: 377.7 kB / 0.5406 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.3761, allocations: 61.92 kB / 0.5406 GB, free: 5.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.3763, allocations: 80.39 kB / 0.5407 GB, free: 5.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.3766, allocations: 134.6 kB / 0.5409 GB, free: 5.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3766, allocations: 0 / 0.5409 GB, free: 5.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004892/0.3771, allocations: 231.4 kB / 0.5411 GB, free: 5.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3771, allocations: 7.969 kB / 0.5411 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3772, allocations: 1.094 kB / 0.5411 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3772, allocations: 1.062 kB / 0.5411 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.3774, allocations: 40.5 kB / 0.5411 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3774, allocations: 1.125 kB / 0.5411 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.3775, allocations: 12.48 kB / 0.5411 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.3776, allocations: 4 kB / 0.5411 GB, free: 5.551 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002168/0.3778, allocations: 220.4 kB / 0.5414 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.3779, allocations: 66.28 kB / 0.5414 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006164/0.3785, allocations: 271.8 kB / 0.5417 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3785, allocations: 3.438 kB / 0.5417 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3786, allocations: 4 kB / 0.5417 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3786, allocations: 2.094 kB / 0.5417 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.3798, allocations: 0.7818 MB / 0.5424 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3798, allocations: 1.031 kB / 0.5424 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.38, allocations: 39.12 kB / 0.5425 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.38, allocations: 1.219 kB / 0.5425 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.38, allocations: 10.28 kB / 0.5425 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.38, allocations: 5.156 kB / 0.5425 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.38, allocations: 1.219 kB / 0.5425 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005586/0.3806, allocations: 399.5 kB / 0.5429 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.3807, allocations: 158.4 kB / 0.543 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.3808, allocations: 1.156 kB / 0.543 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.381, allocations: 24.05 kB / 0.5431 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.3811, allocations: 18.95 kB / 0.5431 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.3811, allocations: 8.594 kB / 0.5431 GB, free: 4.051 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008268/0.3819, allocations: 0.6745 MB / 0.5437 GB, free: 3.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3819, allocations: 0 / 0.5437 GB, free: 3.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000381/0.3823, allocations: 50.62 kB / 0.5438 GB, free: 3.727 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.002363/0.3847, allocations: 1.233 MB / 0.545 GB, free: 2.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004396/0.3851, allocations: 155.8 kB / 0.5451 GB, free: 2.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3851, allocations: 3.938 kB / 0.5451 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.3853, allocations: 75.89 kB / 0.5452 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.386, allocations: 73.17 kB / 0.5453 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006763/0.3927, allocations: 5.066 MB / 0.5502 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/0.3933, allocations: 0.8684 MB / 0.5511 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000218/0.3936, allocations: 79.23 kB / 0.5512 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.3938, allocations: 175.4 kB / 0.5513 GB, free: 12.13 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3939, allocations: 0 / 0.5513 GB, free: 12.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.4292, allocations: 9.924 MB / 0.561 GB, free: 2.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.909/9.338, allocations: 8.312 kB / 0.561 GB, free: 2.305 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1)