Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.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.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Sources",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.01011/0.01011, allocations: 175.1 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.091/2.091, 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.002065/0.002065, allocations: 108.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.2565/0.2565, allocations: 40 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006295/0.0006291, allocations: 10.88 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1083, allocations: 54.88 MB / 461.1 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1496/0.258, allocations: 82.94 MB / 0.5313 GB, free: 176 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.2583, allocations: 67.97 kB / 0.5314 GB, free: 108 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3564/0.6147, allocations: 6.875 MB / 0.5381 GB, free: 82.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.6148, allocations: 0 / 0.5381 GB, free: 82.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.27e-05/0.6148, allocations: 6.719 kB / 0.5381 GB, free: 82.98 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001821/0.6167, allocations: 0.6227 MB / 0.5387 GB, free: 82.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.6167, allocations: 9.75 kB / 0.5387 GB, free: 82.51 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000195/0.617, allocations: 73.67 kB / 0.5388 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.6171, allocations: 42.42 kB / 0.5388 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/0.6177, allocations: 286.3 kB / 0.5391 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.6177, allocations: 23.31 kB / 0.5391 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.17e-05/0.6178, allocations: 32.16 kB / 0.5392 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.619, allocations: 363.4 kB / 0.5395 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.6191, allocations: 1.281 kB / 0.5395 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.6191, allocations: 14.89 kB / 0.5395 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.6191, allocations: 8.188 kB / 0.5395 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.6204, allocations: 288.2 kB / 0.5398 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/0.6234, allocations: 1.288 MB / 0.5411 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007653/0.6242, allocations: 210.3 kB / 0.5413 GB, free: 81.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/0.6243, allocations: 2.469 kB / 0.5413 GB, free: 81.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.6243, allocations: 39.53 kB / 0.5413 GB, free: 81.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 3.096e-06/0.6243, allocations: 0 / 0.5413 GB, free: 81.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.001399/0.6257, allocations: 279.2 kB / 0.5416 GB, free: 80.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.6258, allocations: 134 kB / 0.5417 GB, free: 80.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005016/0.6263, allocations: 296.2 kB / 0.542 GB, free: 80.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.6264, allocations: 29.2 kB / 0.542 GB, free: 80.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.6266, allocations: 238 kB / 0.5422 GB, free: 80.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.322e-05/0.6266, allocations: 54.3 kB / 0.5423 GB, free: 80.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.6267, allocations: 5.312 kB / 0.5423 GB, free: 80.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.6268, allocations: 347.4 kB / 0.5426 GB, free: 80.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/0.6272, allocations: 83.39 kB / 0.5427 GB, free: 80.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.6276, allocations: 180.7 kB / 0.5429 GB, free: 79.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004669/0.6281, allocations: 115.4 kB / 0.543 GB, free: 79.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.6281, allocations: 1.344 kB / 0.543 GB, free: 79.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001145/0.6293, allocations: 333.4 kB / 0.5433 GB, free: 79.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.6293, allocations: 9.156 kB / 0.5433 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.6294, allocations: 4 kB / 0.5433 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.6294, allocations: 4 kB / 0.5433 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/0.63, allocations: 76.33 kB / 0.5434 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.6301, allocations: 12.03 kB / 0.5434 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004983/0.6306, allocations: 53.77 kB / 0.5435 GB, free: 79.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.6306, allocations: 12.94 kB / 0.5435 GB, free: 79.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0002131/0.6308, allocations: 153.2 kB / 0.5436 GB, free: 79.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.631, allocations: 29.78 kB / 0.5436 GB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.548e-05/0.6311, allocations: 30.88 kB / 0.5437 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.6311, allocations: 7 kB / 0.5437 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.6311, allocations: 1.875 kB / 0.5437 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.6311, allocations: 0 / 0.5437 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000964/0.6321, allocations: 0.589 MB / 0.5443 GB, free: 78.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6321, allocations: 1.531 kB / 0.5443 GB, free: 78.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.6325, allocations: 46.34 kB / 0.5443 GB, free: 78.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.6325, allocations: 10.62 kB / 0.5443 GB, free: 78.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.6325, allocations: 6.75 kB / 0.5443 GB, free: 78.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.6326, allocations: 5.359 kB / 0.5443 GB, free: 78.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.6326, allocations: 6.703 kB / 0.5443 GB, free: 78.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009044/0.6335, allocations: 482.9 kB / 0.5448 GB, free: 78.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.6336, allocations: 114.6 kB / 0.5449 GB, free: 78.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.992e-05/0.6337, allocations: 2.969 kB / 0.5449 GB, free: 78.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.6341, allocations: 25.86 kB / 0.5449 GB, free: 78.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.6342, allocations: 21.34 kB / 0.545 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.6342, allocations: 13.59 kB / 0.545 GB, free: 78.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003472/0.6346, allocations: 223.3 kB / 0.5452 GB, free: 78.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6346, allocations: 0 / 0.5452 GB, free: 78.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005694/0.6352, allocations: 68.09 kB / 0.5452 GB, free: 78.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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.001199/0.6364, allocations: 1.435 MB / 0.5466 GB, free: 76.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009886/0.6374, allocations: 207.5 kB / 0.5468 GB, free: 76.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6374, allocations: 1.188 kB / 0.5468 GB, free: 76.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004144/0.6378, allocations: 99.03 kB / 0.5469 GB, free: 76.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.6383, allocations: 25.23 kB / 0.547 GB, free: 76.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/0.6426, allocations: 3.543 MB / 0.5504 GB, free: 73.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.6429, allocations: 0.7873 MB / 0.5512 GB, free: 72.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.6431, allocations: 21.27 kB / 0.5512 GB, free: 72.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.6434, allocations: 103.5 kB / 0.5513 GB, free: 72.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6434, allocations: 0 / 0.5513 GB, free: 72.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07953/0.7229, allocations: 4.452 MB / 0.5557 GB, free: 70.16 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/0.7232, allocations: 153.2 kB / 0.5558 GB, free: 69.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.938/3.661, allocations: 4 kB / 0.5558 GB, free: 69.92 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat