Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test23.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.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test23",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.009762/0.009762, allocations: 175.9 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.015/2.015, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.002654/0.002653, allocations: 128.6 kB / 255.6 MB, free: 10.23 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.2998/0.2998, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006748/0.0006749, allocations: 12.25 kB / 406.3 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1321, allocations: 54.87 MB / 461.1 MB, free: 3.234 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1825/0.3147, allocations: 81.96 MB / 0.5304 GB, free: 1.156 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000365/0.3151, allocations: 71.95 kB / 0.5304 GB, free: 1.086 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3814/0.6966, allocations: 6.783 MB / 0.5371 GB, free: 82.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.6966, allocations: 0 / 0.5371 GB, free: 82.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.307e-05/0.6967, allocations: 6.969 kB / 0.5371 GB, free: 82.79 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001459/0.6982, allocations: 0.8534 MB / 0.5379 GB, free: 82.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.6982, allocations: 12.88 kB / 0.5379 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.093e-05/0.6983, allocations: 44.05 kB / 0.538 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.6985, allocations: 50.72 kB / 0.538 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009541/0.6994, allocations: 434.7 kB / 0.5384 GB, free: 81.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.6995, allocations: 12.2 kB / 0.5384 GB, free: 81.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.6995, allocations: 11.78 kB / 0.5384 GB, free: 81.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.7001, allocations: 148.6 kB / 0.5386 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.7001, allocations: 9.031 kB / 0.5386 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.7001, allocations: 1.031 kB / 0.5386 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.7001, allocations: 7.859 kB / 0.5386 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005478/0.7007, allocations: 116.8 kB / 0.5387 GB, free: 81.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.7023, allocations: 0.7007 MB / 0.5394 GB, free: 81.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.7028, allocations: 135.6 kB / 0.5395 GB, free: 81.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.7029, allocations: 4.344 kB / 0.5395 GB, free: 81.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.7029, allocations: 35.33 kB / 0.5396 GB, free: 81.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.765e-06/0.7029, allocations: 0 / 0.5396 GB, free: 81.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.003781/0.7067, allocations: 0.7434 MB / 0.5403 GB, free: 81.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.7068, allocations: 80.73 kB / 0.5404 GB, free: 80.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.7084, allocations: 0.7316 MB / 0.5411 GB, free: 80.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/0.7085, allocations: 28.08 kB / 0.5411 GB, free: 80.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.7088, allocations: 236.6 kB / 0.5413 GB, free: 80.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/0.7089, allocations: 63.72 kB / 0.5414 GB, free: 80.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.7089, allocations: 3.75 kB / 0.5414 GB, free: 80.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.709, allocations: 371.6 kB / 0.5417 GB, free: 80.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005247/0.7096, allocations: 111.5 kB / 0.5419 GB, free: 80.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.7101, allocations: 138 kB / 0.542 GB, free: 80.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/0.7107, allocations: 234.2 kB / 0.5422 GB, free: 80.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.7107, allocations: 0 / 0.5422 GB, free: 80.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001393/0.7121, allocations: 475.7 kB / 0.5427 GB, free: 79.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.97e-05/0.7122, allocations: 111.2 kB / 0.5428 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.7122, allocations: 5.359 kB / 0.5428 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.7122, allocations: 1.375 kB / 0.5428 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/0.7128, allocations: 74.81 kB / 0.5428 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.7128, allocations: 1.375 kB / 0.5428 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003945/0.7132, allocations: 28.61 kB / 0.5429 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.7133, allocations: 14.86 kB / 0.5429 GB, free: 79.78 MB / 378.7 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 (24): * Single equations (assignments): 20 * 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.0003422/0.7136, allocations: 203.6 kB / 0.5431 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.7138, allocations: 58.67 kB / 0.5431 GB, free: 79.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.7152, allocations: 384.8 kB / 0.5435 GB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.7152, allocations: 6.656 kB / 0.5435 GB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.7153, allocations: 0 / 0.5435 GB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.7153, allocations: 5.375 kB / 0.5435 GB, free: 79.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.7176, allocations: 0.9656 MB / 0.5445 GB, free: 78.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.7176, allocations: 1.219 kB / 0.5445 GB, free: 78.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004878/0.7181, allocations: 56.77 kB / 0.5445 GB, free: 78.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.7181, allocations: 2.094 kB / 0.5445 GB, free: 78.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.7182, allocations: 11.23 kB / 0.5445 GB, free: 78.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.7182, allocations: 5 kB / 0.5445 GB, free: 78.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7182, allocations: 4.688 kB / 0.5445 GB, free: 78.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.7196, allocations: 0.513 MB / 0.545 GB, free: 78.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.7199, allocations: 167.3 kB / 0.5452 GB, free: 78.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.72, allocations: 1.688 kB / 0.5452 GB, free: 78.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.7204, allocations: 32 kB / 0.5452 GB, free: 78.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.7205, allocations: 20.88 kB / 0.5453 GB, free: 78.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.7206, allocations: 9.156 kB / 0.5453 GB, free: 78.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001146/0.7217, allocations: 0.5739 MB / 0.5458 GB, free: 77.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.583e-06/0.7218, allocations: 3.938 kB / 0.5458 GB, free: 77.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007701/0.7225, allocations: 113.3 kB / 0.5459 GB, free: 77.81 MB / 378.7 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 (20): * Single equations (assignments): 20 * 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.003288/0.7258, allocations: 1.59 MB / 0.5475 GB, free: 76.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.7273, allocations: 499.2 kB / 0.548 GB, free: 76.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.7273, allocations: 0 / 0.548 GB, free: 76.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005665/0.7279, allocations: 142.8 kB / 0.5481 GB, free: 76.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000689/0.7286, allocations: 38.48 kB / 0.5481 GB, free: 76.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.7318, allocations: 1.586 MB / 0.5497 GB, free: 74.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.7324, allocations: 0.8464 MB / 0.5505 GB, free: 74.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004631/0.7329, allocations: 92.92 kB / 0.5506 GB, free: 74.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.7332, allocations: 151 kB / 0.5507 GB, free: 74 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.7332, allocations: 5.094 kB / 0.5507 GB, free: 74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04298/0.7762, allocations: 8.652 MB / 0.5592 GB, free: 66.51 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000271/0.7766, allocations: 207.7 kB / 0.5594 GB, free: 66.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.826/3.602, allocations: 0 / 0.5594 GB, free: 66.27 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test23_res.mat does not exist to compare? outputFormat=mat