Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.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.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Shapes_FixedShape",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.01145/0.01145, allocations: 176.1 kB / 15.12 MB, free: 5.93 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.3/2.3, allocations: 194.5 MB / 210.3 MB, free: 8.777 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.00281/0.002809, allocations: 124.6 kB / 255.6 MB, free: 11.38 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.2583/0.2583, allocations: 40 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004946, allocations: 13.25 kB / 406.3 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1133, allocations: 54.87 MB / 461.1 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4748/0.5882, allocations: 83.32 MB / 0.5317 GB, free: 26.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.5886, allocations: 73.67 kB / 0.5318 GB, free: 26.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03072/0.6193, allocations: 6.562 MB / 0.5382 GB, free: 25.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.6194, allocations: 0 / 0.5382 GB, free: 25.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.6194, allocations: 5.281 kB / 0.5382 GB, free: 25.31 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001387/0.6208, allocations: 0.5548 MB / 0.5387 GB, free: 24.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.6209, allocations: 9.688 kB / 0.5387 GB, free: 24.86 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.621, allocations: 62.38 kB / 0.5388 GB, free: 24.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.6211, allocations: 36.11 kB / 0.5388 GB, free: 24.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006086/0.6217, allocations: 282.5 kB / 0.5391 GB, free: 24.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.6218, allocations: 17.59 kB / 0.5391 GB, free: 24.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.6218, allocations: 25.94 kB / 0.5391 GB, free: 24.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/0.6227, allocations: 249.9 kB / 0.5394 GB, free: 24.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.6227, allocations: 0 / 0.5394 GB, free: 24.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.6228, allocations: 9.438 kB / 0.5394 GB, free: 24.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.6228, allocations: 6.281 kB / 0.5394 GB, free: 24.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008762/0.6237, allocations: 241 kB / 0.5396 GB, free: 24.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.6259, allocations: 0.886 MB / 0.5405 GB, free: 24.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.6272, allocations: 354.2 kB / 0.5408 GB, free: 24.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.355e-05/0.6273, allocations: 2.875 kB / 0.5408 GB, free: 24.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.6274, allocations: 37.53 kB / 0.5409 GB, free: 24.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.816e-06/0.6274, allocations: 1.375 kB / 0.5409 GB, free: 24.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.007614/0.635, allocations: 1.235 MB / 0.5421 GB, free: 23.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.6351, allocations: 54.16 kB / 0.5421 GB, free: 23.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.6354, allocations: 191.3 kB / 0.5423 GB, free: 23.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.6355, allocations: 30.77 kB / 0.5423 GB, free: 23.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.6356, allocations: 170.5 kB / 0.5425 GB, free: 23.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.858e-05/0.6357, allocations: 103.4 kB / 0.5426 GB, free: 23.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.6357, allocations: 8.188 kB / 0.5426 GB, free: 23.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.478e-05/0.6358, allocations: 336.8 kB / 0.5429 GB, free: 22.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.6362, allocations: 93.17 kB / 0.543 GB, free: 22.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.6366, allocations: 126 kB / 0.5431 GB, free: 22.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.6371, allocations: 116.8 kB / 0.5432 GB, free: 22.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.6371, allocations: 3.953 kB / 0.5433 GB, free: 22.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002981/0.6401, allocations: 0.5481 MB / 0.5438 GB, free: 22.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.6401, allocations: 9.438 kB / 0.5438 GB, free: 22.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6401, allocations: 0 / 0.5438 GB, free: 22.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002747/0.6429, allocations: 309.5 kB / 0.5441 GB, free: 22.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.6432, allocations: 29.62 kB / 0.5441 GB, free: 22.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.6541, allocations: 6.401 MB / 0.5504 GB, free: 33.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/0.6547, allocations: 31.69 kB / 0.5504 GB, free: 33.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.6547, allocations: 12.73 kB / 0.5504 GB, free: 33.5 MB / 394.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 (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002656/0.655, allocations: 136.2 kB / 0.5505 GB, free: 33.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.6551, allocations: 27.25 kB / 0.5506 GB, free: 33.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002988/0.6581, allocations: 0.558 MB / 0.5511 GB, free: 33.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.6581, allocations: 9.812 kB / 0.5511 GB, free: 33.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.6581, allocations: 0 / 0.5511 GB, free: 33.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.6581, allocations: 7.328 kB / 0.5511 GB, free: 33.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006505/0.6588, allocations: 360.1 kB / 0.5515 GB, free: 33.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.6588, allocations: 1 kB / 0.5515 GB, free: 33.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.6591, allocations: 24.55 kB / 0.5515 GB, free: 33.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002651/0.6617, allocations: 316.4 kB / 0.5518 GB, free: 33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/0.6618, allocations: 5.125 kB / 0.5518 GB, free: 33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/0.6719, allocations: 6.36 MB / 0.558 GB, free: 27.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.672, allocations: 0.5 kB / 0.558 GB, free: 27.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/0.6751, allocations: 0.6209 MB / 0.5586 GB, free: 27.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.6753, allocations: 108.6 kB / 0.5587 GB, free: 27.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/0.6754, allocations: 13.95 kB / 0.5587 GB, free: 27.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003417/0.6758, allocations: 13.59 kB / 0.5588 GB, free: 27.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.676, allocations: 29.02 kB / 0.5588 GB, free: 27.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.676, allocations: 9.5 kB / 0.5588 GB, free: 27.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002408/0.6763, allocations: 155.8 kB / 0.5589 GB, free: 27.47 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6763, allocations: 1 kB / 0.5589 GB, free: 27.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008191/0.6771, allocations: 124.5 kB / 0.5591 GB, free: 27.46 MB / 394.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 (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003397/0.6805, allocations: 1.179 MB / 0.5602 GB, free: 26.72 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.6823, allocations: 0.753 MB / 0.5609 GB, free: 26.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.6824, allocations: 0 / 0.5609 GB, free: 26.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.684, allocations: 0.6729 MB / 0.5616 GB, free: 25.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.6844, allocations: 19.55 kB / 0.5616 GB, free: 25.78 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/0.6905, allocations: 1.943 MB / 0.5635 GB, free: 24.92 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.6909, allocations: 0.7779 MB / 0.5643 GB, free: 24.22 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.6911, allocations: 17.28 kB / 0.5643 GB, free: 24.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.6912, allocations: 72.16 kB / 0.5644 GB, free: 24.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.412e-06/0.6913, allocations: 3.938 kB / 0.5644 GB, free: 24.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04681/0.7381, allocations: 9.942 MB / 0.5741 GB, free: 23.32 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/0.7384, allocations: 196.8 kB / 0.5743 GB, free: 23.08 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.212/3.95, allocations: 0 / 0.5743 GB, free: 23.08 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat