Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_ConversionBlocks",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.01438/0.01439, 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.157/2.157, allocations: 194.5 MB / 210.3 MB, free: 7.805 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.002066/0.002066, allocations: 116.6 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.2699/0.2699, allocations: 40.02 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007321/0.0007322, allocations: 11.12 kB / 406.3 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1414, allocations: 54.88 MB / 461.1 MB, free: 3.254 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5407/0.6821, allocations: 84.23 MB / 0.5326 GB, free: 26.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.6824, allocations: 62.47 kB / 0.5326 GB, free: 26.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02488/0.7073, allocations: 6.063 MB / 0.5386 GB, free: 25.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.7074, allocations: 0 / 0.5386 GB, free: 25.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.7074, allocations: 4.219 kB / 0.5386 GB, free: 25.5 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007038/0.7081, allocations: 0.4908 MB / 0.539 GB, free: 25.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.7082, allocations: 8.562 kB / 0.5391 GB, free: 25.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.7083, allocations: 84.5 kB / 0.5391 GB, free: 25.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.7095, allocations: 76.98 kB / 0.5392 GB, free: 25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.7096, allocations: 187.1 kB / 0.5394 GB, free: 24.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.7097, allocations: 21.69 kB / 0.5394 GB, free: 24.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.474e-05/0.7097, allocations: 39.16 kB / 0.5394 GB, free: 24.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000599/0.7104, allocations: 225.1 kB / 0.5397 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.7104, allocations: 0 / 0.5397 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.7104, allocations: 14.31 kB / 0.5397 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.7105, allocations: 11.45 kB / 0.5397 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.7109, allocations: 162.9 kB / 0.5398 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.7123, allocations: 0.6507 MB / 0.5405 GB, free: 24.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008642/0.7132, allocations: 235.6 kB / 0.5407 GB, free: 24.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/0.7132, allocations: 9.953 kB / 0.5407 GB, free: 24.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.7133, allocations: 35.61 kB / 0.5407 GB, free: 24.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.747e-06/0.7133, allocations: 0 / 0.5407 GB, free: 24.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007307/0.714, allocations: 223.5 kB / 0.541 GB, free: 24.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.7141, allocations: 56.25 kB / 0.541 GB, free: 24.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.7141, allocations: 99.77 kB / 0.5411 GB, free: 24.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.7142, allocations: 33.33 kB / 0.5411 GB, free: 24.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.7143, allocations: 144.6 kB / 0.5413 GB, free: 23.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.538e-05/0.7143, allocations: 86.64 kB / 0.5414 GB, free: 23.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.7144, allocations: 4.906 kB / 0.5414 GB, free: 23.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.511e-05/0.7144, allocations: 328.5 kB / 0.5417 GB, free: 23.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.7146, allocations: 41.94 kB / 0.5417 GB, free: 23.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.7148, allocations: 44.69 kB / 0.5418 GB, free: 23.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.715, allocations: 58.39 kB / 0.5418 GB, free: 23.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.715, allocations: 0 / 0.5418 GB, free: 23.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004703/0.7155, allocations: 168.6 kB / 0.542 GB, free: 23.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.7155, allocations: 9.453 kB / 0.542 GB, free: 23.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7155, allocations: 0 / 0.542 GB, free: 23.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.7155, allocations: 1.375 kB / 0.542 GB, free: 23.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007013/0.7163, allocations: 106 kB / 0.5421 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.7163, allocations: 1.281 kB / 0.5421 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.7164, allocations: 16.91 kB / 0.5421 GB, free: 23.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.7164, allocations: 5.469 kB / 0.5421 GB, free: 23.49 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 (27): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001651/0.7166, allocations: 130.5 kB / 0.5422 GB, free: 23.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.7167, allocations: 16.7 kB / 0.5422 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.029e-05/0.7168, allocations: 27.89 kB / 0.5423 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.7168, allocations: 3.812 kB / 0.5423 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.7168, allocations: 0 / 0.5423 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.7168, allocations: 1.641 kB / 0.5423 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.7172, allocations: 284.6 kB / 0.5426 GB, free: 23.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7172, allocations: 0 / 0.5426 GB, free: 23.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000681/0.7179, allocations: 106.3 kB / 0.5427 GB, free: 23.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.978e-05/0.7179, allocations: 1.281 kB / 0.5427 GB, free: 23.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.718, allocations: 4.875 kB / 0.5427 GB, free: 23.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.718, allocations: 4.984 kB / 0.5427 GB, free: 23.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.718, allocations: 1.5 kB / 0.5427 GB, free: 23.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/0.7186, allocations: 271 kB / 0.5429 GB, free: 23.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.7187, allocations: 94.27 kB / 0.543 GB, free: 22.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.7187, allocations: 5.625 kB / 0.543 GB, free: 22.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.7189, allocations: 9.359 kB / 0.543 GB, free: 22.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.719, allocations: 18.94 kB / 0.543 GB, free: 22.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.7191, allocations: 12.69 kB / 0.5431 GB, free: 22.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.943e-05/0.7191, allocations: 80.64 kB / 0.5431 GB, free: 22.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.7191, allocations: 1.188 kB / 0.5431 GB, free: 22.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006893/0.7198, allocations: 57.03 kB / 0.5432 GB, free: 22.8 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 (27): * Single equations (assignments): 27 * 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.001193/0.7211, allocations: 0.8883 MB / 0.5441 GB, free: 22.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000564/0.7216, allocations: 132 kB / 0.5442 GB, free: 22.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7217, allocations: 1.375 kB / 0.5442 GB, free: 22.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.722, allocations: 79.7 kB / 0.5443 GB, free: 22.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.7223, allocations: 8.828 kB / 0.5443 GB, free: 22.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.7251, allocations: 1.131 MB / 0.5454 GB, free: 21.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.7255, allocations: 0.7453 MB / 0.5461 GB, free: 20.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002646/0.7258, allocations: 18.2 kB / 0.5461 GB, free: 20.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.726, allocations: 67.95 kB / 0.5462 GB, free: 20.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.726, allocations: 4 kB / 0.5462 GB, free: 20.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08063/0.8066, allocations: 2.346 MB / 0.5485 GB, free: 20.5 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.8069, allocations: 161.7 kB / 0.5486 GB, free: 20.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/3.13, allocations: 0 / 0.5486 GB, free: 20.27 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat