Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.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.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_PlanarLoopWithMove",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.01032/0.01032, allocations: 175 kB / 15.12 MB, free: 5.988 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.075/2.075, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.00198/0.001979, allocations: 120.6 kB / 255.6 MB, free: 10.23 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.2493/0.2493, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007465/0.0007462, allocations: 11.03 kB / 406.3 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1157, allocations: 54.87 MB / 461.1 MB, free: 3.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5177/0.6335, allocations: 99.24 MB / 0.5472 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.6338, allocations: 70.22 kB / 0.5473 GB, free: 21.48 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3923/1.026, allocations: 92.59 MB / 0.6377 GB, free: 5.793 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.246e-06/1.026, allocations: 0 / 0.6377 GB, free: 5.793 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000353/1.027, allocations: 92 kB / 0.6378 GB, free: 5.703 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1594 * Number of variables: 1594 Notification: Performance of Generate backend data structure: time 0.02811/1.055, allocations: 5.092 MB / 0.6428 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/1.055, allocations: 8.031 kB / 0.6428 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004337/1.059, allocations: 0.8036 MB / 0.6436 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0204/1.079, allocations: 2.228 MB / 0.6458 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.022/1.102, allocations: 5.117 MB / 0.6508 GB, free: 8.277 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005769/1.102, allocations: 324.6 kB / 0.6511 GB, free: 7.957 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00269/1.105, allocations: 439.8 kB / 0.6515 GB, free: 7.527 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03962/1.145, allocations: 11.57 MB / 0.6628 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000299/1.145, allocations: 59.47 kB / 0.6628 GB, free: 10.87 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002163/1.147, allocations: 211.9 kB / 0.663 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00285/1.15, allocations: 1.151 MB / 0.6642 GB, free: 9.508 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0349/1.185, allocations: 10.03 MB / 0.674 GB, free: 15.45 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4417/1.627, allocations: 50.74 MB / 0.7235 GB, free: 82.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02576/1.652, allocations: 5.91 MB / 0.7293 GB, free: 81.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02208/1.675, allocations: 9.312 MB / 0.7384 GB, free: 79.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01851/1.693, allocations: 3.406 MB / 0.7417 GB, free: 79.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=211): time 7.925e-06/1.693, allocations: 2.188 kB / 0.7417 GB, free: 79.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=285): time 0.2309/1.924, allocations: 34.27 MB / 0.7752 GB, free: 76.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/1.924, allocations: 159 kB / 0.7753 GB, free: 75.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007949/1.932, allocations: 3.71 MB / 0.7789 GB, free: 75.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008399/1.933, allocations: 74.45 kB / 0.779 GB, free: 75.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003484/1.937, allocations: 3.246 MB / 0.7822 GB, free: 73.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001916/1.939, allocations: 1.049 MB / 0.7832 GB, free: 73.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/1.94, allocations: 130.7 kB / 0.7833 GB, free: 73.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006171/1.94, allocations: 0.5874 MB / 0.7839 GB, free: 72.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008113/1.949, allocations: 3.306 MB / 0.7871 GB, free: 72.13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01058/1.959, allocations: 6.899 MB / 0.7939 GB, free: 66.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01475/1.974, allocations: 4.716 MB / 0.7985 GB, free: 64.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001955/1.974, allocations: 36.91 kB / 0.7985 GB, free: 64.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.05908/2.033, allocations: 12.52 MB / 0.8107 GB, free: 57.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002053/2.034, allocations: 85.7 kB / 0.8108 GB, free: 57.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003324/2.034, allocations: 124 kB / 0.8109 GB, free: 57.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02057/2.055, allocations: 2.681 MB / 0.8136 GB, free: 55.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0118/2.066, allocations: 1.479 MB / 0.815 GB, free: 54.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05006/2.117, allocations: 22.29 MB / 0.8368 GB, free: 34.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009048/2.126, allocations: 432.3 kB / 0.8372 GB, free: 34.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/2.128, allocations: 397 kB / 0.8376 GB, free: 33.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,rod3.color[3],rod3.color[2],rod3.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (765): * Single equations (assignments): 757 * Array equations: 3 * Algorithm blocks: 1 * 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: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.006895/2.135, allocations: 2.228 MB / 0.8397 GB, free: 31.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/2.136, allocations: 400.9 kB / 0.8401 GB, free: 31.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02489/2.161, allocations: 7.906 MB / 0.8478 GB, free: 25.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.976e-05/2.161, allocations: 36.02 kB / 0.8479 GB, free: 25.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.182e-05/2.161, allocations: 12 kB / 0.8479 GB, free: 25.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.507e-05/2.161, allocations: 10.45 kB / 0.8479 GB, free: 25.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04316/2.204, allocations: 14.66 MB / 0.8622 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.366e-05/2.204, allocations: 4 kB / 0.8622 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004354/2.209, allocations: 387.4 kB / 0.8626 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01168/2.22, allocations: 2.453 MB / 0.865 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008886/2.221, allocations: 51.98 kB / 0.865 GB, free: 9.949 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04861/2.27, allocations: 22.08 MB / 0.8866 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/2.27, allocations: 7.938 kB / 0.8866 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02874/2.299, allocations: 8.277 MB / 0.8947 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004334/2.303, allocations: 0.9916 MB / 0.8956 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001857/2.305, allocations: 44 kB / 0.8957 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005143/2.31, allocations: 211.7 kB / 0.8959 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001639/2.312, allocations: 197.6 kB / 0.8961 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007276/2.313, allocations: 76.86 kB / 0.8962 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01009/2.323, allocations: 2.594 MB / 0.8987 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.222e-06/2.323, allocations: 4 kB / 0.8987 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01038/2.333, allocations: 1.369 MB / 0.9 GB, free: 5.367 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 182 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 3 {(2,100.0%) 16,(3,88.9%) 13,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.03206/2.365, allocations: 9.733 MB / 0.9095 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02608/2.391, allocations: 8.807 MB / 0.9181 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/2.391, allocations: 0 / 0.9181 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.39/2.781, allocations: 4.002 MB / 0.922 GB, free: 154 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004089/2.786, allocations: 430.5 kB / 0.9225 GB, free: 154 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08299/2.869, allocations: 109.3 MB / 1.029 GB, free: 53.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01107/2.88, allocations: 3.677 MB / 1.033 GB, free: 52.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0106/2.89, allocations: 2.142 MB / 1.035 GB, free: 52.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006147/2.897, allocations: 2.08 MB / 1.037 GB, free: 52.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/2.897, allocations: 0 / 1.037 GB, free: 52.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5757/3.472, allocations: 105 MB / 1.139 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002706/3.473, allocations: 245.7 kB / 1.14 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.153/9.626, allocations: 0 / 1.14 GB, free: 132.5 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat