Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01401/0.01401, allocations: 165.7 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.775/1.775, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.01004/0.01004, allocations: 118.4 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4385/0.4385, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004885, allocations: 16 kB / 363 MB, free: 5.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.111, allocations: 48.7 MB / 411.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4379/0.549, allocations: 94.7 MB / 0.4945 GB, free: 9.332 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.5493, allocations: 79.55 kB / 0.4946 GB, free: 9.289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8483/1.398, allocations: 128.6 MB / 0.6202 GB, free: 71.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.759e-06/1.398, allocations: 3.141 kB / 0.6202 GB, free: 71.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005344/1.398, allocations: 133.2 kB / 0.6203 GB, free: 71.76 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2316 * Number of variables: 2316 Notification: Performance of Generate backend data structure: time 0.03298/1.431, allocations: 7.074 MB / 0.6272 GB, free: 68.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.186e-05/1.431, allocations: 9.156 kB / 0.6272 GB, free: 68.97 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006065/1.437, allocations: 1.155 MB / 0.6283 GB, free: 68.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05409/1.492, allocations: 7.107 MB / 0.6353 GB, free: 68.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02751/1.519, allocations: 7.41 MB / 0.6425 GB, free: 67.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007078/1.52, allocations: 497.5 kB / 0.643 GB, free: 67.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004287/1.524, allocations: 0.638 MB / 0.6436 GB, free: 67.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05157/1.576, allocations: 16.29 MB / 0.6595 GB, free: 61.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004256/1.576, allocations: 91.91 kB / 0.6596 GB, free: 61.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002803/1.579, allocations: 313.6 kB / 0.6599 GB, free: 61.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003401/1.583, allocations: 1.551 MB / 0.6614 GB, free: 60.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04214/1.625, allocations: 13.33 MB / 0.6744 GB, free: 56.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.111/1.736, allocations: 72.47 MB / 0.7452 GB, free: 10.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03515/1.771, allocations: 7.488 MB / 0.7525 GB, free: 3.051 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3476/2.119, allocations: 9.652 MB / 0.7619 GB, free: 81.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.672e-05/2.119, allocations: 63.81 kB / 0.762 GB, free: 81.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=273): time 6.823e-06/2.119, allocations: 0 / 0.762 GB, free: 81.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=315): time 0.148/2.267, allocations: 31.94 MB / 0.7932 GB, free: 76.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/2.267, allocations: 239.4 kB / 0.7934 GB, free: 76.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01669/2.284, allocations: 6.09 MB / 0.7994 GB, free: 75.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001004/2.285, allocations: 75.75 kB / 0.7994 GB, free: 75.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004983/2.29, allocations: 4.691 MB / 0.804 GB, free: 73.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002311/2.292, allocations: 1.183 MB / 0.8052 GB, free: 72.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/2.294, allocations: 178.4 kB / 0.8053 GB, free: 72.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006783/2.294, allocations: 0.6812 MB / 0.806 GB, free: 71.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009348/2.304, allocations: 3.548 MB / 0.8095 GB, free: 70.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01328/2.317, allocations: 8.684 MB / 0.818 GB, free: 62.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01315/2.33, allocations: 5.442 MB / 0.8233 GB, free: 60.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002148/2.33, allocations: 54.25 kB / 0.8233 GB, free: 60.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.03999/2.37, allocations: 13.5 MB / 0.8365 GB, free: 56.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/2.371, allocations: 82.69 kB / 0.8366 GB, free: 56.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003018/2.371, allocations: 183 kB / 0.8368 GB, free: 56.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007067/2.378, allocations: 1.678 MB / 0.8384 GB, free: 55.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01359/2.392, allocations: 2.111 MB / 0.8405 GB, free: 55.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/2.413, allocations: 11.55 MB / 0.8517 GB, free: 49.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01175/2.425, allocations: 0.5322 MB / 0.8523 GB, free: 49.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002376/2.428, allocations: 0.5215 MB / 0.8528 GB, free: 49.21 MB / 442.7 MB 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.009211/2.437, allocations: 3.155 MB / 0.8558 GB, free: 47.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00196/2.439, allocations: 0.5797 MB / 0.8564 GB, free: 47.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02134/2.46, allocations: 6.788 MB / 0.863 GB, free: 43.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.269e-05/2.46, allocations: 34.95 kB / 0.8631 GB, free: 43.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.691e-05/2.46, allocations: 15.94 kB / 0.8631 GB, free: 43.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.552e-05/2.46, allocations: 22 kB / 0.8631 GB, free: 43.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04264/2.503, allocations: 15.2 MB / 0.878 GB, free: 31.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.632e-05/2.503, allocations: 4 kB / 0.878 GB, free: 31.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005694/2.509, allocations: 0.5871 MB / 0.8785 GB, free: 31.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006312/2.515, allocations: 1.402 MB / 0.8799 GB, free: 30.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008752/2.516, allocations: 59.7 kB / 0.88 GB, free: 30.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02079/2.537, allocations: 10.74 MB / 0.8904 GB, free: 20.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/2.537, allocations: 4 kB / 0.8904 GB, free: 20.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02819/2.565, allocations: 11.91 MB / 0.9021 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004863/2.57, allocations: 1.163 MB / 0.9032 GB, free: 8.766 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002268/2.572, allocations: 59.22 kB / 0.9033 GB, free: 8.715 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005781/2.578, allocations: 215.1 kB / 0.9035 GB, free: 8.578 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/2.579, allocations: 189.6 kB / 0.9037 GB, free: 8.457 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003556/2.58, allocations: 87.19 kB / 0.9037 GB, free: 8.375 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01112/2.591, allocations: 4.357 MB / 0.908 GB, free: 4.809 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.42e-07/2.591, allocations: 0 / 0.908 GB, free: 4.809 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01178/2.603, allocations: 1.634 MB / 0.9096 GB, free: 3.18 MB / 442.7 MB 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.3675/2.97, allocations: 13.5 MB / 0.9228 GB, free: 84.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02261/2.993, allocations: 8.738 MB / 0.9313 GB, free: 84.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/2.993, allocations: 3.031 kB / 0.9313 GB, free: 84.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0104/3.003, allocations: 3.453 MB / 0.9347 GB, free: 84.44 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006955/3.01, allocations: 0.6933 MB / 0.9354 GB, free: 84.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2203/3.231, allocations: 189.2 MB / 1.12 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01495/3.246, allocations: 4.934 MB / 1.125 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01516/3.261, allocations: 2.952 MB / 1.128 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3688/3.63, allocations: 3.632 MB / 1.131 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.833e-06/3.63, allocations: 2.281 kB / 1.131 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3186/3.948, allocations: 130.9 MB / 1.259 GB, free: 105 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002894/3.949, allocations: 187.3 kB / 1.259 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/12.08, allocations: 0 / 1.259 GB, free: 104.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat