Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.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.Force,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Shapes_Force",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.01023/0.01023, allocations: 176.7 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.172/2.172, allocations: 194.5 MB / 210.3 MB, free: 8.793 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.002824/0.002824, allocations: 116.6 kB / 255.6 MB, free: 11.41 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.2642/0.2642, allocations: 40.01 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005195, allocations: 13.69 kB / 406.3 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1128, allocations: 54.88 MB / 461.1 MB, free: 3.363 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4887/0.6016, allocations: 85.07 MB / 0.5334 GB, free: 26.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/0.602, allocations: 71.2 kB / 0.5335 GB, free: 26.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03591/0.6379, allocations: 5.533 MB / 0.5389 GB, free: 26.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.638, allocations: 0 / 0.5389 GB, free: 26.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.484e-05/0.638, allocations: 11.69 kB / 0.5389 GB, free: 26.13 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00204/0.6401, allocations: 0.6395 MB / 0.5395 GB, free: 25.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.6402, allocations: 9.75 kB / 0.5395 GB, free: 25.66 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001976/0.6404, allocations: 76.47 kB / 0.5396 GB, free: 25.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.6406, allocations: 43.84 kB / 0.5396 GB, free: 25.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.6412, allocations: 282 kB / 0.5399 GB, free: 25.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.274e-05/0.6413, allocations: 32.47 kB / 0.5399 GB, free: 25.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.6414, allocations: 43.06 kB / 0.54 GB, free: 25.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.6426, allocations: 339.8 kB / 0.5403 GB, free: 25.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.6426, allocations: 3.953 kB / 0.5403 GB, free: 25.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.125e-05/0.6427, allocations: 16.3 kB / 0.5403 GB, free: 25.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.6427, allocations: 9.188 kB / 0.5403 GB, free: 25.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.6438, allocations: 313.9 kB / 0.5406 GB, free: 25.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003449/0.6473, allocations: 1.343 MB / 0.5419 GB, free: 24.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008133/0.6481, allocations: 287.9 kB / 0.5422 GB, free: 24.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.854e-05/0.6482, allocations: 3.5 kB / 0.5422 GB, free: 24.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.6482, allocations: 36.97 kB / 0.5423 GB, free: 24.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 3.116e-06/0.6482, allocations: 0 / 0.5423 GB, free: 24.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001385/0.6496, allocations: 391.9 kB / 0.5426 GB, free: 24.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.6497, allocations: 57.36 kB / 0.5427 GB, free: 24.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.6501, allocations: 238.6 kB / 0.5429 GB, free: 24.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.6501, allocations: 34.58 kB / 0.5429 GB, free: 24.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.6503, allocations: 201.6 kB / 0.5431 GB, free: 24.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.6504, allocations: 122.6 kB / 0.5433 GB, free: 24.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.6504, allocations: 12.81 kB / 0.5433 GB, free: 24.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.069e-05/0.6505, allocations: 338.4 kB / 0.5436 GB, free: 23.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.651, allocations: 106.9 kB / 0.5437 GB, free: 23.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.6514, allocations: 175.5 kB / 0.5439 GB, free: 23.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.6519, allocations: 131 kB / 0.544 GB, free: 23.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.6519, allocations: 0 / 0.544 GB, free: 23.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00113/0.653, allocations: 372.5 kB / 0.5443 GB, free: 23.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.6531, allocations: 7.844 kB / 0.5444 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6531, allocations: 2.594 kB / 0.5444 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.6531, allocations: 3.781 kB / 0.5444 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000902/0.654, allocations: 106.9 kB / 0.5445 GB, free: 23.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.6541, allocations: 7.609 kB / 0.5445 GB, free: 23.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.6546, allocations: 44.75 kB / 0.5445 GB, free: 23.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.6547, allocations: 20.7 kB / 0.5445 GB, free: 23.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * 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.0002543/0.6549, allocations: 151.8 kB / 0.5447 GB, free: 23.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.33e-05/0.655, allocations: 31.41 kB / 0.5447 GB, free: 23.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.6561, allocations: 337.8 kB / 0.545 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.6561, allocations: 8.203 kB / 0.545 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6561, allocations: 0 / 0.545 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.6562, allocations: 6.016 kB / 0.545 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007411/0.6569, allocations: 399.2 kB / 0.5454 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6569, allocations: 5.344 kB / 0.5454 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008245/0.6578, allocations: 86.41 kB / 0.5455 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.6578, allocations: 1.031 kB / 0.5455 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/0.6578, allocations: 7.891 kB / 0.5455 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.6578, allocations: 8.906 kB / 0.5455 GB, free: 23.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6579, allocations: 0 / 0.5455 GB, free: 23.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.6593, allocations: 0.5361 MB / 0.546 GB, free: 23.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.6595, allocations: 127.4 kB / 0.5462 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.6596, allocations: 6.344 kB / 0.5462 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.66, allocations: 16.17 kB / 0.5462 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.6601, allocations: 20.22 kB / 0.5462 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.6601, allocations: 6 kB / 0.5462 GB, free: 22.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002797/0.6604, allocations: 189.4 kB / 0.5464 GB, free: 22.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6604, allocations: 4.062 kB / 0.5464 GB, free: 22.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005664/0.661, allocations: 94.12 kB / 0.5465 GB, free: 22.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * 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.00178/0.6628, allocations: 1.079 MB / 0.5475 GB, free: 22.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.6639, allocations: 292.8 kB / 0.5478 GB, free: 22.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.664, allocations: 0 / 0.5478 GB, free: 22.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004845/0.6644, allocations: 139.4 kB / 0.548 GB, free: 22.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.6649, allocations: 26.11 kB / 0.548 GB, free: 22.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005317/0.6703, allocations: 3.079 MB / 0.551 GB, free: 20.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.6707, allocations: 0.7942 MB / 0.5518 GB, free: 19.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003856/0.6711, allocations: 38.61 kB / 0.5518 GB, free: 19.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.6713, allocations: 111 kB / 0.5519 GB, free: 19.47 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6713, allocations: 0 / 0.5519 GB, free: 19.47 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.7017, allocations: 5.172 MB / 0.557 GB, free: 18.96 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.7019, allocations: 158.9 kB / 0.5571 GB, free: 18.72 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/3.54, allocations: 0 / 0.5571 GB, free: 18.72 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat