Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.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.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_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.0101/0.0101, allocations: 176 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 1.938/1.938, allocations: 194.5 MB / 210.3 MB, free: 8.785 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.002006/0.002005, allocations: 116.6 kB / 255.6 MB, free: 11.4 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.2387/0.2387, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004767, allocations: 13.31 kB / 406.3 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09712/0.09764, allocations: 54.88 MB / 461.1 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5041/0.6018, allocations: 101.5 MB / 0.5495 GB, free: 21.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.6022, allocations: 79.81 kB / 0.5495 GB, free: 21.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5735/1.176, allocations: 128.8 MB / 0.6753 GB, free: 15.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.966e-06/1.176, allocations: 0 / 0.6753 GB, free: 15.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005266/1.176, allocations: 132 kB / 0.6754 GB, free: 15.14 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.03308/1.209, allocations: 7.082 MB / 0.6823 GB, free: 7.969 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001097/1.209, allocations: 12.03 kB / 0.6823 GB, free: 7.957 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00649/1.216, allocations: 1.154 MB / 0.6835 GB, free: 6.793 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05564/1.272, allocations: 7.109 MB / 0.6904 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02972/1.301, allocations: 7.428 MB / 0.6977 GB, free: 8.152 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007629/1.302, allocations: 493 kB / 0.6981 GB, free: 7.668 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003668/1.306, allocations: 0.6442 MB / 0.6988 GB, free: 7.023 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06429/1.37, allocations: 16.29 MB / 0.7147 GB, free: 5.262 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007229/1.371, allocations: 87.22 kB / 0.7148 GB, free: 5.176 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004617/1.376, allocations: 315.8 kB / 0.7151 GB, free: 4.867 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006173/1.382, allocations: 1.553 MB / 0.7166 GB, free: 3.309 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4042/1.786, allocations: 13.32 MB / 0.7296 GB, free: 86.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1151/1.901, allocations: 72.53 MB / 0.8004 GB, free: 46.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03282/1.934, allocations: 7.476 MB / 0.8077 GB, free: 44.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02634/1.961, allocations: 9.661 MB / 0.8171 GB, free: 39.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.271e-05/1.961, allocations: 66.28 kB / 0.8172 GB, free: 39.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=273): time 7.464e-06/1.961, allocations: 0 / 0.8172 GB, free: 39.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=315): time 0.1433/2.104, allocations: 31.93 MB / 0.8484 GB, free: 28.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/2.104, allocations: 247.6 kB / 0.8486 GB, free: 28.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0172/2.122, allocations: 6.076 MB / 0.8546 GB, free: 26.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00107/2.123, allocations: 72.95 kB / 0.8546 GB, free: 25.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005457/2.128, allocations: 4.699 MB / 0.8592 GB, free: 21.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002237/2.13, allocations: 1.189 MB / 0.8604 GB, free: 20.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002022/2.133, allocations: 178.9 kB / 0.8606 GB, free: 20.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001161/2.134, allocations: 0.6788 MB / 0.8612 GB, free: 19.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01032/2.144, allocations: 3.549 MB / 0.8647 GB, free: 16.97 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01434/2.159, allocations: 8.683 MB / 0.8732 GB, free: 6.594 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/2.172, allocations: 5.442 MB / 0.8785 GB, free: 1.941 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001913/2.172, allocations: 54 kB / 0.8785 GB, free: 1.891 MB / 490.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.04546/2.218, allocations: 13.58 MB / 0.8918 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000214/2.218, allocations: 84 kB / 0.8919 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004114/2.218, allocations: 180 kB / 0.892 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008032/2.226, allocations: 1.684 MB / 0.8937 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0147/2.241, allocations: 2.113 MB / 0.8957 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02859/2.27, allocations: 11.65 MB / 0.9071 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01185/2.282, allocations: 0.5284 MB / 0.9076 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002771/2.285, allocations: 0.5255 MB / 0.9082 GB, free: 8.055 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1084): * Single equations (assignments): 1079 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01131/2.296, allocations: 3.147 MB / 0.9112 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00258/2.299, allocations: 0.5862 MB / 0.9118 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4256/2.724, allocations: 6.921 MB / 0.9186 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.316e-05/2.724, allocations: 32.84 kB / 0.9186 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.691e-05/2.724, allocations: 10.44 kB / 0.9186 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-05/2.725, allocations: 19.02 kB / 0.9186 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05764/2.782, allocations: 15.19 MB / 0.9335 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.073e-05/2.782, allocations: 3.938 kB / 0.9335 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006122/2.788, allocations: 0.5886 MB / 0.934 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006859/2.795, allocations: 1.4 MB / 0.9354 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001163/2.797, allocations: 63.94 kB / 0.9355 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02293/2.82, allocations: 10.74 MB / 0.946 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/2.82, allocations: 6.375 kB / 0.946 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03176/2.851, allocations: 11.91 MB / 0.9576 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005045/2.857, allocations: 1.154 MB / 0.9587 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002624/2.859, allocations: 60.28 kB / 0.9588 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006473/2.866, allocations: 218.6 kB / 0.959 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001379/2.867, allocations: 187.1 kB / 0.9592 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008697/2.868, allocations: 91.69 kB / 0.9593 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01334/2.881, allocations: 4.353 MB / 0.9635 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.42e-07/2.882, allocations: 0 / 0.9635 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01237/2.894, allocations: 1.632 MB / 0.9651 GB, free: 105.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * 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 (260): * Single equations (assignments): 255 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03274/2.927, allocations: 13.29 MB / 0.9781 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0216/2.948, allocations: 8.74 MB / 0.9866 GB, free: 98.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/2.948, allocations: 2.625 kB / 0.9866 GB, free: 98.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01029/2.959, allocations: 3.457 MB / 0.99 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006832/2.966, allocations: 0.6987 MB / 0.9907 GB, free: 96.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.589/3.555, allocations: 189.2 MB / 1.175 GB, free: 89.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01281/3.568, allocations: 4.923 MB / 1.18 GB, free: 89.12 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0146/3.582, allocations: 2.958 MB / 1.183 GB, free: 89.06 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008611/3.591, allocations: 3.161 MB / 1.186 GB, free: 89.06 MB / 0.5417 GB Notification: Performance of SimCode: time 1.643e-06/3.591, allocations: 0 / 1.186 GB, free: 89.06 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6916/4.282, allocations: 130.9 MB / 1.314 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/4.283, allocations: 186.6 kB / 1.314 GB, free: 122.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.305/12.59, allocations: 0 / 1.314 GB, free: 122.3 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat