Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",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.01453/0.01453, allocations: 161.1 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.644/1.644, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.00232/0.00232, allocations: 110.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.4724/0.4724, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.000487, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1323, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.4646/0.5969, allocations: 63.72 MB / 475.4 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04016/0.6371, allocations: 13.52 MB / 488.9 MB, free: 2.777 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01633/0.6535, allocations: 308 kB / 489.2 MB, free: 2.727 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01222/0.6658, allocations: 3.061 MB / 492.3 MB, free: 1.699 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04283/0.7087, allocations: 10.7 MB / 0.4912 GB, free: 12.06 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00787/0.7167, allocations: 1.29 MB / 0.4925 GB, free: 11.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.08907/0.8058, allocations: 30.84 MB / 0.5226 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02453/0.8304, allocations: 6.381 MB / 0.5288 GB, free: 10.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009259/0.8397, allocations: 2.203 MB / 0.531 GB, free: 8.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01388/0.8537, allocations: 3.681 MB / 0.5346 GB, free: 4.559 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003139/0.8569, allocations: 248 kB / 0.5348 GB, free: 4.316 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008177/0.8652, allocations: 1.256 MB / 0.536 GB, free: 3.059 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008671/0.8739, allocations: 2.984 MB / 0.5389 GB, free: 68 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005169/0.8792, allocations: 1.314 MB / 0.5402 GB, free: 14.73 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02247/0.9017, allocations: 8.896 MB / 0.5489 GB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.9018, allocations: 0 / 0.5489 GB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.9018, allocations: 0 / 0.5489 GB, free: 5.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004627/0.9023, allocations: 0 / 0.5489 GB, free: 5.82 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.03332/0.9356, allocations: 7.244 MB / 0.556 GB, free: 14.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.233e-05/0.9358, allocations: 8.031 kB / 0.556 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006116/0.9419, allocations: 1.083 MB / 0.5571 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3463/1.288, allocations: 13.24 MB / 0.57 GB, free: 124 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02446/1.313, allocations: 7.003 MB / 0.5768 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005981/1.313, allocations: 365.5 kB / 0.5772 GB, free: 8.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002779/1.316, allocations: 0.5044 MB / 0.5777 GB, free: 8.176 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3383/1.655, allocations: 16.15 MB / 0.5934 GB, free: 122.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008981/1.656, allocations: 78.44 kB / 0.5935 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003757/1.659, allocations: 237.5 kB / 0.5937 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01115/1.671, allocations: 2.807 MB / 0.5965 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05381/1.725, allocations: 13.43 MB / 0.6096 GB, free: 118.7 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1177/1.842, allocations: 64.1 MB / 0.6722 GB, free: 69.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03894/1.881, allocations: 7.843 MB / 0.6799 GB, free: 61.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008595/1.89, allocations: 4.125 MB / 0.6839 GB, free: 57.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04691/1.937, allocations: 18.73 MB / 0.7022 GB, free: 38.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.934e-05/1.937, allocations: 60.56 kB / 0.7022 GB, free: 38.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 6.953e-06/1.937, allocations: 0 / 0.7022 GB, free: 38.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=367): time 0.3334/2.27, allocations: 52.86 MB / 0.7539 GB, free: 1.297 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/2.271, allocations: 265.8 kB / 0.7541 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3138/2.584, allocations: 6.067 MB / 0.76 GB, free: 133.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001491/2.586, allocations: 80.61 kB / 0.7601 GB, free: 133.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006251/2.592, allocations: 4.747 MB / 0.7647 GB, free: 131.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002435/2.595, allocations: 1.348 MB / 0.7661 GB, free: 130.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001654/2.597, allocations: 181.4 kB / 0.7662 GB, free: 130.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008074/2.597, allocations: 0.6952 MB / 0.7669 GB, free: 130.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01067/2.608, allocations: 3.919 MB / 0.7707 GB, free: 128.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01472/2.623, allocations: 9.135 MB / 0.7797 GB, free: 120.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/2.637, allocations: 5.776 MB / 0.7853 GB, free: 118.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002241/2.637, allocations: 56.47 kB / 0.7854 GB, free: 118.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.06814/2.705, allocations: 16.92 MB / 0.8019 GB, free: 112.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002068/2.706, allocations: 84.47 kB / 0.802 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004172/2.706, allocations: 180.5 kB / 0.8021 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02563/2.732, allocations: 4.186 MB / 0.8062 GB, free: 112.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01335/2.745, allocations: 2.053 MB / 0.8082 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06004/2.805, allocations: 23.16 MB / 0.8308 GB, free: 94.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01137/2.817, allocations: 0.5078 MB / 0.8313 GB, free: 93.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002209/2.819, allocations: 0.5356 MB / 0.8319 GB, free: 93.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (1083): * Single equations (assignments): 1078 * 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%) 43,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009391/2.828, allocations: 3.116 MB / 0.8349 GB, free: 90.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002136/2.83, allocations: 0.5814 MB / 0.8355 GB, free: 89.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04236/2.873, allocations: 10.11 MB / 0.8454 GB, free: 79.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.609e-05/2.873, allocations: 44.72 kB / 0.8454 GB, free: 79.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.448e-05/2.873, allocations: 16 kB / 0.8454 GB, free: 79.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.104e-05/2.873, allocations: 15.94 kB / 0.8454 GB, free: 79.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07305/2.946, allocations: 19.78 MB / 0.8647 GB, free: 59.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.16e-05/2.946, allocations: 4 kB / 0.8647 GB, free: 59.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005541/2.952, allocations: 0.5305 MB / 0.8653 GB, free: 58.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02275/2.975, allocations: 3.665 MB / 0.8688 GB, free: 55.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001054/2.976, allocations: 67.98 kB / 0.8689 GB, free: 55.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05136/3.027, allocations: 20.02 MB / 0.8885 GB, free: 34.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/3.027, allocations: 4 kB / 0.8885 GB, free: 34.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05177/3.079, allocations: 14.69 MB / 0.9028 GB, free: 20.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005074/3.084, allocations: 1.142 MB / 0.9039 GB, free: 18.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002514/3.087, allocations: 63.42 kB / 0.904 GB, free: 18.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006602/3.093, allocations: 211.7 kB / 0.9042 GB, free: 18.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001609/3.095, allocations: 218.2 kB / 0.9044 GB, free: 18.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008896/3.096, allocations: 99.97 kB / 0.9045 GB, free: 18.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009874/3.106, allocations: 3.792 MB / 0.9082 GB, free: 14.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.203e-06/3.106, allocations: 0 / 0.9082 GB, free: 14.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01229/3.118, allocations: 1.846 MB / 0.91 GB, free: 12.76 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (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 (270): * Single equations (assignments): 265 * 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%) 43,(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3879/3.506, allocations: 15.46 MB / 0.9251 GB, free: 117.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02525/3.532, allocations: 9.98 MB / 0.9348 GB, free: 114.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/3.532, allocations: 0 / 0.9348 GB, free: 114.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01057/3.542, allocations: 3.932 MB / 0.9387 GB, free: 112.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009174/3.551, allocations: 0.783 MB / 0.9395 GB, free: 112.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.217/3.768, allocations: 67.53 MB / 1.005 GB, free: 63.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01408/3.783, allocations: 5.011 MB / 1.01 GB, free: 58.97 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01348/3.796, allocations: 2.786 MB / 1.013 GB, free: 56.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007774/3.804, allocations: 3.272 MB / 1.016 GB, free: 52.91 MB / 442.7 MB Notification: Performance of SimCode: time 2.455e-06/3.804, allocations: 0 / 1.016 GB, free: 52.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6658/4.47, allocations: 143 MB / 1.156 GB, free: 86.97 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/4.47, allocations: 210.8 kB / 1.156 GB, free: 86.73 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.234/13.7, allocations: 0 / 1.156 GB, free: 86.73 MB / 458.7 MB