Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.992/1.992, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003586, allocations: 12 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3075, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.09521/0.4028, allocations: 60.05 MB / 368.6 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04196/0.4448, allocations: 14.16 MB / 382.8 MB, free: 2.371 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01229/0.4571, allocations: 311.2 kB / 383.1 MB, free: 2.066 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0106/0.4678, allocations: 3.017 MB / 386.1 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03294/0.5008, allocations: 8.61 MB / 394.7 MB, free: 6.402 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006414/0.5072, allocations: 1.272 MB / 396 MB, free: 5.129 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.05555/0.5628, allocations: 19.18 MB / 415.2 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2947/0.8576, allocations: 6.335 MB / 421.5 MB, free: 19.39 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00479/0.8624, allocations: 1.866 MB / 423.4 MB, free: 19.39 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005899/0.8684, allocations: 2.679 MB / 426 MB, free: 19.38 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00206/0.8705, allocations: 247.3 kB / 426.3 MB, free: 19.38 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004719/0.8752, allocations: 1.219 MB / 427.5 MB, free: 19.38 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004799/0.8801, allocations: 2.778 MB / 430.3 MB, free: 19.37 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003068/0.8832, allocations: 1.318 MB / 431.6 MB, free: 19.34 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.8966, allocations: 8.895 MB / 440.5 MB, free: 16.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.8966, allocations: 2.188 kB / 440.5 MB, free: 16.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.047e-06/0.8967, allocations: 0 / 440.5 MB, free: 16.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005027/0.8972, allocations: 0 / 440.5 MB, free: 16.81 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.03151/0.9287, allocations: 7.437 MB / 447.9 MB, free: 12.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.9288, allocations: 8.75 kB / 447.9 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004087/0.9329, allocations: 1.086 MB / 449 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3492/1.282, allocations: 15.1 MB / 464.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0217/1.304, allocations: 6.194 MB / 470.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00051/1.304, allocations: 373.1 kB / 470.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003099/1.308, allocations: 0.5109 MB / 471.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05227/1.36, allocations: 16.38 MB / 487.6 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004432/1.36, allocations: 79.55 kB / 487.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002242/1.363, allocations: 233.3 kB / 487.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007429/1.37, allocations: 2.809 MB / 490.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04882/1.419, allocations: 13.69 MB / 0.4926 GB, free: 3.266 MB / 378.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.1477/1.567, allocations: 64.42 MB / 0.5555 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04149/1.608, allocations: 7.871 MB / 0.5631 GB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3132/1.922, allocations: 18.92 MB / 0.5816 GB, free: 167 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.923e-05/1.922, allocations: 71.19 kB / 0.5817 GB, free: 167 MB / 442.7 MB Notification: Performance of pre-optimization done (n=286): time 7.714e-06/1.922, allocations: 0 / 0.5817 GB, free: 167 MB / 442.7 MB Notification: Performance of matching and sorting (n=367): time 0.3419/2.264, allocations: 53.15 MB / 0.6336 GB, free: 124.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/2.264, allocations: 269.8 kB / 0.6338 GB, free: 124.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01257/2.276, allocations: 6.534 MB / 0.6402 GB, free: 117.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009891/2.277, allocations: 82.41 kB / 0.6403 GB, free: 117.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003933/2.281, allocations: 4.743 MB / 0.6449 GB, free: 113 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002167/2.284, allocations: 1.354 MB / 0.6463 GB, free: 111.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/2.285, allocations: 188 kB / 0.6464 GB, free: 111.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005829/2.285, allocations: 0.6984 MB / 0.6471 GB, free: 110.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009637/2.295, allocations: 3.91 MB / 0.6509 GB, free: 106.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01294/2.308, allocations: 9.102 MB / 0.6598 GB, free: 95.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01314/2.321, allocations: 5.769 MB / 0.6655 GB, free: 89.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001439/2.321, allocations: 52 kB / 0.6655 GB, free: 89.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.05609/2.377, allocations: 16.9 MB / 0.682 GB, free: 72.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/2.378, allocations: 84 kB / 0.6821 GB, free: 72.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002358/2.378, allocations: 184.1 kB / 0.6823 GB, free: 72.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0234/2.401, allocations: 4.18 MB / 0.6864 GB, free: 67.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01257/2.414, allocations: 2.059 MB / 0.6884 GB, free: 65.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06411/2.478, allocations: 23.98 MB / 0.7118 GB, free: 41.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01089/2.489, allocations: 0.5179 MB / 0.7123 GB, free: 41.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001993/2.491, allocations: 0.539 MB / 0.7128 GB, free: 40.57 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.008519/2.5, allocations: 3.121 MB / 0.7159 GB, free: 37.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00154/2.501, allocations: 0.5708 MB / 0.7164 GB, free: 36.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03908/2.54, allocations: 10.11 MB / 0.7263 GB, free: 26.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.982e-05/2.54, allocations: 36 kB / 0.7263 GB, free: 26.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.497e-05/2.54, allocations: 19.95 kB / 0.7264 GB, free: 26.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.6e-05/2.541, allocations: 19.94 kB / 0.7264 GB, free: 26.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3476/2.888, allocations: 19.8 MB / 0.7457 GB, free: 149 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.754e-05/2.888, allocations: 0 / 0.7457 GB, free: 149 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005493/2.894, allocations: 0.5393 MB / 0.7462 GB, free: 148.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02225/2.916, allocations: 3.664 MB / 0.7498 GB, free: 148.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001009/2.917, allocations: 63.84 kB / 0.7499 GB, free: 148.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05058/2.968, allocations: 20.81 MB / 0.7702 GB, free: 137.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/2.968, allocations: 4 kB / 0.7702 GB, free: 137.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0474/3.015, allocations: 14.7 MB / 0.7846 GB, free: 124.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004439/3.02, allocations: 1.163 MB / 0.7857 GB, free: 123.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002093/3.022, allocations: 56 kB / 0.7857 GB, free: 123.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006266/3.028, allocations: 208.5 kB / 0.7859 GB, free: 123.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001493/3.03, allocations: 237.5 kB / 0.7862 GB, free: 123.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005241/3.03, allocations: 98.25 kB / 0.7863 GB, free: 123.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009951/3.04, allocations: 4.163 MB / 0.7903 GB, free: 119.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.62e-07/3.04, allocations: 0 / 0.7903 GB, free: 119.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0115/3.052, allocations: 1.869 MB / 0.7922 GB, free: 117.2 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.04872/3.101, allocations: 15.49 MB / 0.8073 GB, free: 101.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0227/3.123, allocations: 9.975 MB / 0.817 GB, free: 91.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/3.123, allocations: 0 / 0.817 GB, free: 91.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009485/3.133, allocations: 3.93 MB / 0.8209 GB, free: 87.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006247/3.139, allocations: 0.7265 MB / 0.8216 GB, free: 87.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1785/3.318, allocations: 69.7 MB / 0.8896 GB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01048/3.328, allocations: 5.011 MB / 0.8945 GB, free: 7.242 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.3683/3.697, allocations: 2.803 MB / 0.8973 GB, free: 153.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01232/3.709, allocations: 3.279 MB / 0.9005 GB, free: 153.3 MB / 442.7 MB Notification: Performance of SimCode: time 2.265e-06/3.709, allocations: 0 / 0.9005 GB, free: 153.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3019/4.011, allocations: 144.1 MB / 1.041 GB, free: 31.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/4.011, allocations: 230.1 kB / 1.041 GB, free: 30.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/12.31, allocations: 0 / 1.041 GB, free: 30.86 MB / 442.7 MB