Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.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.Force2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Force2",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.009799/0.009805, allocations: 162.5 kB / 15.11 MB, free: 5.957 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.733/1.733, allocations: 170.8 MB / 186.7 MB, free: 1.02 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.001768/0.001768, allocations: 102.8 kB / 226.2 MB, free: 10.08 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.5043/0.5043, allocations: 38.05 MB / 303.7 MB, free: 42.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004639, allocations: 16 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1042, allocations: 48.72 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force2): time 0.5024/0.6066, allocations: 165.8 MB / 0.5639 GB, free: 6.523 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4632/1.07, allocations: 31.58 MB / 0.5948 GB, free: 100 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03909/1.109, allocations: 0.7665 MB / 0.5955 GB, free: 100 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02988/1.139, allocations: 8.219 MB / 0.6035 GB, free: 15.36 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.09271/1.232, allocations: 27.32 MB / 0.6302 GB, free: 6.648 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01411/1.246, allocations: 1.699 MB / 0.6319 GB, free: 6.23 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.1454/1.391, allocations: 58.67 MB / 0.6892 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03413/1.426, allocations: 15.68 MB / 0.7045 GB, free: 5.324 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009984/1.436, allocations: 3.726 MB / 0.7081 GB, free: 2.176 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01428/1.45, allocations: 6.055 MB / 0.714 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.003634/1.454, allocations: 448 kB / 0.7145 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006863/1.461, allocations: 1.231 MB / 0.7157 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.009779/1.47, allocations: 5.371 MB / 0.7209 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.00557/1.476, allocations: 2.488 MB / 0.7233 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.02721/1.503, allocations: 16.8 MB / 0.7398 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.503, allocations: 0 / 0.7398 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.735e-06/1.503, allocations: 0 / 0.7398 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007673/1.504, allocations: 0 / 0.7398 GB, free: 7.277 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.05138/1.555, allocations: 12.78 MB / 0.7522 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/1.556, allocations: 12.03 kB / 0.7522 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007578/1.563, allocations: 2.049 MB / 0.7542 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1455/1.709, allocations: 11.44 MB / 0.7654 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0334/1.742, allocations: 9.963 MB / 0.7751 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001064/1.743, allocations: 0.7377 MB / 0.7759 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004957/1.748, allocations: 0.9823 MB / 0.7768 GB, free: 7.23 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6566/2.405, allocations: 29.48 MB / 0.8056 GB, free: 229.2 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006915/2.406, allocations: 108.1 kB / 0.8057 GB, free: 229.1 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004127/2.41, allocations: 461.2 kB / 0.8062 GB, free: 228.9 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01143/2.421, allocations: 5.003 MB / 0.811 GB, free: 227.9 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1035/2.525, allocations: 24.53 MB / 0.835 GB, free: 220.3 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2063/2.731, allocations: 111 MB / 0.9434 GB, free: 113.9 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06612/2.798, allocations: 14.66 MB / 0.9577 GB, free: 99.07 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01681/2.814, allocations: 8.559 MB / 0.9661 GB, free: 90.49 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05143/2.866, allocations: 20.09 MB / 0.9857 GB, free: 70.25 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.394e-05/2.866, allocations: 103.1 kB / 0.9858 GB, free: 70.14 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=566): time 9.578e-06/2.866, allocations: 0 / 0.9858 GB, free: 70.14 MB / 0.5418 GB Notification: Performance of matching and sorting (n=650): time 0.6924/3.558, allocations: 71.39 MB / 1.056 GB, free: 212.6 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000185/3.559, allocations: 384.3 kB / 1.056 GB, free: 212.3 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03454/3.593, allocations: 12.01 MB / 1.068 GB, free: 211.7 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.002053/3.595, allocations: 129.8 kB / 1.068 GB, free: 211.6 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.008/3.603, allocations: 8.37 MB / 1.076 GB, free: 206.5 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.004163/3.608, allocations: 2.383 MB / 1.078 GB, free: 204.7 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003072/3.611, allocations: 306.4 kB / 1.079 GB, free: 204.5 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.001462/3.612, allocations: 0.9591 MB / 1.079 GB, free: 203.9 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01852/3.631, allocations: 6.945 MB / 1.086 GB, free: 201.5 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02488/3.656, allocations: 15.24 MB / 1.101 GB, free: 188.2 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02657/3.682, allocations: 10.06 MB / 1.111 GB, free: 184.5 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005018/3.683, allocations: 80.56 kB / 1.111 GB, free: 184.5 MB / 0.5418 GB Notification: Performance of matching and sorting (n=2005) (initialization): time 0.0733/3.756, allocations: 25.12 MB / 1.136 GB, free: 175.2 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002507/3.757, allocations: 125.5 kB / 1.136 GB, free: 175.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004988/3.757, allocations: 288.3 kB / 1.136 GB, free: 175.2 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01595/3.773, allocations: 3.504 MB / 1.139 GB, free: 174.5 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02531/3.798, allocations: 3.683 MB / 1.143 GB, free: 174.1 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04681/3.845, allocations: 23.79 MB / 1.166 GB, free: 153.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01926/3.865, allocations: 0.919 MB / 1.167 GB, free: 152.8 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003663/3.868, allocations: 0.8781 MB / 1.168 GB, free: 152 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1307 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 (1867): * Single equations (assignments): 1856 * Array equations: 7 * 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: 4 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0168/3.885, allocations: 5.654 MB / 1.173 GB, free: 146.3 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004391/3.89, allocations: 1.068 MB / 1.175 GB, free: 145.2 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07051/3.96, allocations: 15.22 MB / 1.189 GB, free: 129.9 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001069/3.96, allocations: 68 kB / 1.189 GB, free: 129.9 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.568e-05/3.96, allocations: 18.95 kB / 1.189 GB, free: 129.9 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001863/3.961, allocations: 31.88 kB / 1.189 GB, free: 129.8 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1065/4.067, allocations: 33.18 MB / 1.222 GB, free: 96.67 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001117/4.067, allocations: 15.94 kB / 1.222 GB, free: 96.66 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01575/4.083, allocations: 1.209 MB / 1.223 GB, free: 95.45 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0189/4.102, allocations: 3.043 MB / 1.226 GB, free: 92.39 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001975/4.104, allocations: 124 kB / 1.226 GB, free: 92.27 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04758/4.152, allocations: 22.34 MB / 1.248 GB, free: 69.41 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-05/4.152, allocations: 15.94 kB / 1.248 GB, free: 69.39 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06199/4.214, allocations: 23.52 MB / 1.271 GB, free: 45.49 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009959/4.224, allocations: 2.225 MB / 1.273 GB, free: 43.23 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00464/4.228, allocations: 120 kB / 1.273 GB, free: 43.11 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01161/4.24, allocations: 443.8 kB / 1.274 GB, free: 42.68 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002576/4.243, allocations: 420.8 kB / 1.274 GB, free: 42.27 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001717/4.245, allocations: 168 kB / 1.274 GB, free: 42.1 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01974/4.264, allocations: 7.771 MB / 1.282 GB, free: 34.37 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.012e-06/4.264, allocations: 0 / 1.282 GB, free: 34.37 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.02015/4.285, allocations: 3.115 MB / 1.285 GB, free: 31.26 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.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 (559): * Single equations (assignments): 552 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4138/4.698, allocations: 24.29 MB / 1.309 GB, free: 188.2 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0437/4.742, allocations: 17.13 MB / 1.325 GB, free: 182 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-05/4.742, allocations: 2.469 kB / 1.325 GB, free: 182 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.02194/4.764, allocations: 7.392 MB / 1.333 GB, free: 179.1 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01752/4.782, allocations: 1.441 MB / 1.334 GB, free: 178.5 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3293/5.111, allocations: 146.4 MB / 1.477 GB, free: 48.86 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02167/5.133, allocations: 8.784 MB / 1.486 GB, free: 40.04 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.02555/5.158, allocations: 5.131 MB / 1.491 GB, free: 34.9 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01606/5.175, allocations: 6.257 MB / 1.497 GB, free: 28.65 MB / 0.5418 GB Notification: Performance of SimCode: time 1.503e-06/5.175, allocations: 0 / 1.497 GB, free: 28.65 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.212/6.387, allocations: 239.7 MB / 1.731 GB, free: 143.1 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/6.387, allocations: 205.8 kB / 1.731 GB, free: 142.8 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/20.55, allocations: 0 / 1.731 GB, free: 142.8 MB / 0.5418 GB