Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test22",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.01038/0.01038, 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 1.965/1.965, allocations: 194.5 MB / 210.3 MB, free: 7.801 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.002068/0.002068, allocations: 116.7 kB / 255.6 MB, free: 10.43 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.3041/0.3041, allocations: 40.01 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0004998, allocations: 10.38 kB / 406.3 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1079, allocations: 54.87 MB / 461.1 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.2635, allocations: 82.02 MB / 0.5304 GB, free: 1.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.2638, allocations: 75.95 kB / 0.5305 GB, free: 1.016 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3454/0.6092, allocations: 6.454 MB / 0.5368 GB, free: 82.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6093, allocations: 0 / 0.5368 GB, free: 82.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.094e-05/0.6093, allocations: 7.031 kB / 0.5368 GB, free: 82.82 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.001314/0.6107, allocations: 0.8191 MB / 0.5376 GB, free: 82.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.6107, allocations: 17.62 kB / 0.5376 GB, free: 82.13 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.6108, allocations: 39.34 kB / 0.5377 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.611, allocations: 55.44 kB / 0.5377 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.612, allocations: 425.9 kB / 0.5381 GB, free: 81.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.6121, allocations: 10.08 kB / 0.5381 GB, free: 81.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.6121, allocations: 19.03 kB / 0.5382 GB, free: 81.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.6126, allocations: 135 kB / 0.5383 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.6126, allocations: 1.344 kB / 0.5383 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.6126, allocations: 4.781 kB / 0.5383 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.6126, allocations: 3.094 kB / 0.5383 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003698/0.613, allocations: 81.88 kB / 0.5384 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.6147, allocations: 0.6831 MB / 0.539 GB, free: 81.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.6151, allocations: 116 kB / 0.5391 GB, free: 81.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/0.6152, allocations: 6.156 kB / 0.5392 GB, free: 81.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.6153, allocations: 34.81 kB / 0.5392 GB, free: 81.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.216e-06/0.6153, allocations: 0 / 0.5392 GB, free: 81.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.003694/0.619, allocations: 0.5382 MB / 0.5397 GB, free: 81.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.6191, allocations: 80.36 kB / 0.5398 GB, free: 81.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.6208, allocations: 0.7217 MB / 0.5405 GB, free: 80.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.757e-05/0.6209, allocations: 27.89 kB / 0.5405 GB, free: 80.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.6212, allocations: 234.1 kB / 0.5407 GB, free: 80.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.82e-05/0.6213, allocations: 49.06 kB / 0.5408 GB, free: 80.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.6213, allocations: 3.219 kB / 0.5408 GB, free: 80.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6214, allocations: 363.2 kB / 0.5411 GB, free: 80.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.6218, allocations: 67.92 kB / 0.5412 GB, free: 80.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.6221, allocations: 98.48 kB / 0.5413 GB, free: 80.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.6226, allocations: 187.3 kB / 0.5415 GB, free: 80.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.6226, allocations: 4 kB / 0.5415 GB, free: 80.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001156/0.6238, allocations: 367.3 kB / 0.5418 GB, free: 80.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.793e-05/0.6239, allocations: 118.2 kB / 0.5419 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.6239, allocations: 0 / 0.5419 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.6239, allocations: 2.281 kB / 0.5419 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.6243, allocations: 44.3 kB / 0.542 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.6243, allocations: 1.406 kB / 0.542 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.6246, allocations: 17.95 kB / 0.542 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.6247, allocations: 13.25 kB / 0.542 GB, free: 79.94 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 (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.0003373/0.625, allocations: 209.8 kB / 0.5422 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.6252, allocations: 46.41 kB / 0.5423 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.6262, allocations: 291.4 kB / 0.5425 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.6263, allocations: 1.281 kB / 0.5425 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.6263, allocations: 5.469 kB / 0.5425 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.6263, allocations: 0 / 0.5425 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.6283, allocations: 0.8409 MB / 0.5434 GB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.6284, allocations: 0 / 0.5434 GB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.6287, allocations: 40.97 kB / 0.5434 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.6287, allocations: 1.375 kB / 0.5434 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.6287, allocations: 5.359 kB / 0.5434 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.6288, allocations: 1.375 kB / 0.5434 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6288, allocations: 1.375 kB / 0.5434 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009836/0.6298, allocations: 436.5 kB / 0.5438 GB, free: 78.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.6301, allocations: 162.6 kB / 0.544 GB, free: 78.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/0.6301, allocations: 5.344 kB / 0.544 GB, free: 78.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.6305, allocations: 14.83 kB / 0.544 GB, free: 78.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.6306, allocations: 19.38 kB / 0.544 GB, free: 78.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.6306, allocations: 8.672 kB / 0.544 GB, free: 78.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001135/0.6318, allocations: 0.5708 MB / 0.5446 GB, free: 78.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6318, allocations: 4 kB / 0.5446 GB, free: 78.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007004/0.6325, allocations: 97.3 kB / 0.5447 GB, free: 78.41 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 (16): * Single equations (assignments): 16 * 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.002707/0.6352, allocations: 1.494 MB / 0.5461 GB, free: 77.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008853/0.6361, allocations: 395.3 kB / 0.5465 GB, free: 76.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6362, allocations: 1.406 kB / 0.5465 GB, free: 76.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003362/0.6365, allocations: 88.09 kB / 0.5466 GB, free: 76.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006926/0.6372, allocations: 50.77 kB / 0.5467 GB, free: 76.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.6401, allocations: 1.519 MB / 0.5481 GB, free: 75.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.6405, allocations: 0.8414 MB / 0.549 GB, free: 74.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003567/0.6409, allocations: 83.05 kB / 0.549 GB, free: 74.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/0.6412, allocations: 146.6 kB / 0.5492 GB, free: 74.74 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6412, allocations: 0 / 0.5492 GB, free: 74.74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/0.6778, allocations: 8.227 MB / 0.5572 GB, free: 68.55 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.678, allocations: 215.8 kB / 0.5574 GB, free: 68.31 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/3.506, allocations: 0 / 0.5574 GB, free: 68.31 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test22_res.mat does not exist to compare? outputFormat=mat