Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForces2",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.01506/0.01506, allocations: 163.8 kB / 15.12 MB, free: 5.969 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.725/1.725, allocations: 170.8 MB / 186.7 MB, free: 1.105 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.001814/0.001814, allocations: 114.8 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.4447/0.4447, allocations: 38.06 MB / 303.7 MB, free: 42.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004953/0.0004955, allocations: 12 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1114, allocations: 48.72 MB / 411.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.4433/0.5547, allocations: 108.5 MB / 0.508 GB, free: 12.04 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07036/0.6251, allocations: 21.53 MB / 0.529 GB, free: 10.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02865/0.6538, allocations: 0.4988 MB / 0.5295 GB, free: 9.809 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02199/0.6759, allocations: 5.37 MB / 0.5348 GB, free: 4.414 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06744/0.7434, allocations: 18.14 MB / 0.5525 GB, free: 2.195 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009681/0.7532, allocations: 1.242 MB / 0.5537 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.5367/1.29, allocations: 54.45 MB / 0.6069 GB, free: 32.27 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02108/1.311, allocations: 9.651 MB / 0.6163 GB, free: 31.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006564/1.318, allocations: 2.534 MB / 0.6188 GB, free: 31.5 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009524/1.327, allocations: 4.187 MB / 0.6229 GB, free: 31.48 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002419/1.33, allocations: 293.4 kB / 0.6231 GB, free: 31.48 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005783/1.336, allocations: 1.229 MB / 0.6243 GB, free: 31.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006909/1.343, allocations: 3.622 MB / 0.6279 GB, free: 31.28 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00448/1.347, allocations: 1.657 MB / 0.6295 GB, free: 31.25 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01625/1.363, allocations: 11.46 MB / 0.6407 GB, free: 22.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/1.363, allocations: 0 / 0.6407 GB, free: 22.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.956e-06/1.363, allocations: 1.641 kB / 0.6407 GB, free: 22.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005249/1.364, allocations: 0 / 0.6407 GB, free: 22.69 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: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.03108/1.395, allocations: 8.545 MB / 0.649 GB, free: 14.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.395, allocations: 16.03 kB / 0.649 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00494/1.4, allocations: 1.325 MB / 0.6503 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1375/1.538, allocations: 10.78 MB / 0.6609 GB, free: 4.027 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02442/1.562, allocations: 7.885 MB / 0.6686 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006933/1.563, allocations: 481.4 kB / 0.669 GB, free: 14.19 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003168/1.566, allocations: 0.6376 MB / 0.6696 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05765/1.624, allocations: 18.95 MB / 0.6882 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004873/1.624, allocations: 85.02 kB / 0.6882 GB, free: 15.06 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002586/1.627, allocations: 300.3 kB / 0.6885 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00984/1.637, allocations: 3.183 MB / 0.6916 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05383/1.691, allocations: 15.6 MB / 0.7069 GB, free: 1.473 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1486/1.839, allocations: 69.59 MB / 0.7748 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6208/2.46, allocations: 8.223 MB / 0.7829 GB, free: 207.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01031/2.471, allocations: 4.27 MB / 0.787 GB, free: 207.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/2.472, allocations: 0.6647 MB / 0.7877 GB, free: 206.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.105e-05/2.472, allocations: 69.34 kB / 0.7877 GB, free: 206.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=307): time 6.923e-06/2.472, allocations: 0 / 0.7877 GB, free: 206.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.1505/2.622, allocations: 31.53 MB / 0.8185 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/2.623, allocations: 291.6 kB / 0.8188 GB, free: 195.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02159/2.644, allocations: 7.62 MB / 0.8263 GB, free: 192.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009111/2.645, allocations: 75.78 kB / 0.8263 GB, free: 192.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005548/2.651, allocations: 5.58 MB / 0.8318 GB, free: 188.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002152/2.653, allocations: 1.248 MB / 0.833 GB, free: 187.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001392/2.654, allocations: 190.7 kB / 0.8332 GB, free: 187.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008154/2.655, allocations: 0.6969 MB / 0.8339 GB, free: 187 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009357/2.665, allocations: 3.574 MB / 0.8374 GB, free: 185.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01305/2.678, allocations: 9.05 MB / 0.8462 GB, free: 177.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/2.691, allocations: 5.536 MB / 0.8516 GB, free: 175 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001933/2.691, allocations: 59.94 kB / 0.8517 GB, free: 174.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.03658/2.728, allocations: 13.4 MB / 0.8647 GB, free: 162.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/2.728, allocations: 84 kB / 0.8648 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002697/2.728, allocations: 192 kB / 0.865 GB, free: 162.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00538/2.733, allocations: 1.305 MB / 0.8663 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01427/2.748, allocations: 2.219 MB / 0.8684 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01978/2.768, allocations: 12.48 MB / 0.8806 GB, free: 146 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01516/2.783, allocations: 0.5188 MB / 0.8811 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003764/2.787, allocations: 0.5492 MB / 0.8817 GB, free: 144.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1141): * Single equations (assignments): 1134 * 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 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009986/2.797, allocations: 3.732 MB / 0.8853 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002036/2.799, allocations: 0.6595 MB / 0.886 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01829/2.817, allocations: 6.397 MB / 0.8922 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.186e-05/2.817, allocations: 37.17 kB / 0.8922 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.864e-05/2.817, allocations: 8 kB / 0.8923 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.228e-05/2.817, allocations: 15.94 kB / 0.8923 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07128/2.889, allocations: 15.47 MB / 0.9074 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.234e-05/2.889, allocations: 0 / 0.9074 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006272/2.895, allocations: 0.6085 MB / 0.908 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004787/2.9, allocations: 0.9561 MB / 0.9089 GB, free: 117 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000898/2.901, allocations: 59.98 kB / 0.909 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01875/2.92, allocations: 11.32 MB / 0.92 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/2.92, allocations: 4.188 kB / 0.92 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02733/2.947, allocations: 10.39 MB / 0.9302 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005495/2.953, allocations: 1.218 MB / 0.9314 GB, free: 93.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002968/2.956, allocations: 63.19 kB / 0.9314 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006741/2.962, allocations: 203.8 kB / 0.9316 GB, free: 93.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/2.964, allocations: 194.3 kB / 0.9318 GB, free: 92.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000627/2.964, allocations: 83.98 kB / 0.9319 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0131/2.977, allocations: 4.871 MB / 0.9366 GB, free: 87.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/2.977, allocations: 0 / 0.9366 GB, free: 87.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01348/2.991, allocations: 1.835 MB / 0.9384 GB, free: 86.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (276): * Single equations (assignments): 269 * 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 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02937/3.02, allocations: 11.09 MB / 0.9493 GB, free: 74.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02801/3.048, allocations: 9.057 MB / 0.9581 GB, free: 65.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/3.049, allocations: 0 / 0.9581 GB, free: 65.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01096/3.06, allocations: 3.338 MB / 0.9614 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01418/3.074, allocations: 0.9706 MB / 0.9623 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4993/3.573, allocations: 74.7 MB / 1.035 GB, free: 189.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01522/3.588, allocations: 5.894 MB / 1.041 GB, free: 187.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01667/3.605, allocations: 3.028 MB / 1.044 GB, free: 187.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01039/3.616, allocations: 3.918 MB / 1.048 GB, free: 184.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.813e-06/3.616, allocations: 0 / 1.048 GB, free: 184.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3369/3.953, allocations: 148.7 MB / 1.193 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002859/3.953, allocations: 203 kB / 1.193 GB, free: 55.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.24/13.19, allocations: 7.938 kB / 1.193 GB, free: 55.98 MB / 0.5105 GB