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 2.32/2.32, allocations: 194.9 MB / 211.1 MB, free: 8.746 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004876, allocations: 12 kB / 264.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3095, allocations: 44.49 MB / 308.6 MB, free: 12.7 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/0.4991, allocations: 96.86 MB / 405.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005435/0.4998, allocations: 91.95 kB / 405.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9135/1.413, allocations: 135.6 MB / 0.5285 GB, free: 15.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.907e-06/1.413, allocations: 0 / 0.5285 GB, free: 15.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000587/1.414, allocations: 132 kB / 0.5286 GB, free: 15.38 MB / 378.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.03701/1.451, allocations: 7.663 MB / 0.5361 GB, free: 7.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/1.451, allocations: 8.031 kB / 0.5361 GB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006328/1.457, allocations: 1.142 MB / 0.5372 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06058/1.518, allocations: 7.553 MB / 0.5446 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04175/1.56, allocations: 9.727 MB / 0.5541 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008792/1.561, allocations: 488.9 kB / 0.5545 GB, free: 4.598 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004327/1.565, allocations: 0.6597 MB / 0.5552 GB, free: 3.938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3733/1.938, allocations: 16.71 MB / 0.5715 GB, free: 53.51 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007388/1.939, allocations: 104.7 kB / 0.5716 GB, free: 53.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003654/1.943, allocations: 308.4 kB / 0.5719 GB, free: 53.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003874/1.947, allocations: 1.582 MB / 0.5734 GB, free: 53.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0468/1.994, allocations: 13.76 MB / 0.5869 GB, free: 53.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1222/2.116, allocations: 74.34 MB / 0.6595 GB, free: 20.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03772/2.154, allocations: 7.74 MB / 0.667 GB, free: 18.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04968/2.204, allocations: 18.71 MB / 0.6853 GB, free: 6.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.982e-05/2.204, allocations: 60.56 kB / 0.6854 GB, free: 6.355 MB / 410.7 MB Notification: Performance of pre-optimization done (n=286): time 1.022e-05/2.204, allocations: 1.781 kB / 0.6854 GB, free: 6.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=367): time 0.6361/2.84, allocations: 50.82 MB / 0.735 GB, free: 84.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/2.84, allocations: 268.4 kB / 0.7353 GB, free: 84.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01514/2.855, allocations: 5.385 MB / 0.7405 GB, free: 83.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001287/2.857, allocations: 83.2 kB / 0.7406 GB, free: 83.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005662/2.862, allocations: 4.747 MB / 0.7452 GB, free: 81.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002647/2.865, allocations: 1.357 MB / 0.7466 GB, free: 80.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001923/2.867, allocations: 184.8 kB / 0.7467 GB, free: 80.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001323/2.868, allocations: 0.6942 MB / 0.7474 GB, free: 80.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01065/2.879, allocations: 3.81 MB / 0.7511 GB, free: 80.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0145/2.894, allocations: 8.996 MB / 0.7599 GB, free: 73.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01407/2.908, allocations: 5.673 MB / 0.7655 GB, free: 73.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002462/2.908, allocations: 52 kB / 0.7655 GB, free: 73.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.05976/2.968, allocations: 16.7 MB / 0.7818 GB, free: 68.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001691/2.968, allocations: 89.67 kB / 0.7819 GB, free: 68.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003032/2.968, allocations: 180 kB / 0.7821 GB, free: 68.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02352/2.992, allocations: 4.142 MB / 0.7861 GB, free: 68.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01331/3.005, allocations: 2.04 MB / 0.7881 GB, free: 67.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06002/3.065, allocations: 22.91 MB / 0.8105 GB, free: 54.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/3.077, allocations: 0.5438 MB / 0.811 GB, free: 53.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002441/3.079, allocations: 0.5343 MB / 0.8115 GB, free: 53.1 MB / 426.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.009737/3.089, allocations: 3.114 MB / 0.8146 GB, free: 50.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00173/3.091, allocations: 0.5747 MB / 0.8151 GB, free: 49.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04033/3.131, allocations: 9.852 MB / 0.8248 GB, free: 42.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.941e-05/3.132, allocations: 37.41 kB / 0.8248 GB, free: 42.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.553e-05/3.132, allocations: 23.19 kB / 0.8248 GB, free: 42.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-05/3.132, allocations: 16.31 kB / 0.8248 GB, free: 42.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06971/3.201, allocations: 19.25 MB / 0.8436 GB, free: 26.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.796e-05/3.202, allocations: 0 / 0.8436 GB, free: 26.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005274/3.207, allocations: 0.5094 MB / 0.8441 GB, free: 26.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02191/3.229, allocations: 3.617 MB / 0.8477 GB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000972/3.23, allocations: 63.84 kB / 0.8477 GB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06394/3.294, allocations: 19.8 MB / 0.8671 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/3.294, allocations: 0 / 0.8671 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3909/3.685, allocations: 14.34 MB / 0.8811 GB, free: 75.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004887/3.69, allocations: 1.117 MB / 0.8822 GB, free: 75.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002351/3.692, allocations: 58.33 kB / 0.8822 GB, free: 75.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006744/3.699, allocations: 233.5 kB / 0.8824 GB, free: 75.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001674/3.701, allocations: 227.3 kB / 0.8827 GB, free: 75.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005751/3.701, allocations: 90.38 kB / 0.8827 GB, free: 75.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01045/3.712, allocations: 3.792 MB / 0.8864 GB, free: 75.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.02e-07/3.712, allocations: 0 / 0.8864 GB, free: 75.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01278/3.725, allocations: 1.85 MB / 0.8883 GB, free: 75.46 MB / 426.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.05069/3.775, allocations: 15.21 MB / 0.9031 GB, free: 74.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02528/3.801, allocations: 9.722 MB / 0.9126 GB, free: 73.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/3.801, allocations: 2.156 kB / 0.9126 GB, free: 73.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009925/3.811, allocations: 3.795 MB / 0.9163 GB, free: 72.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007145/3.818, allocations: 0.718 MB / 0.917 GB, free: 72.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6424/4.46, allocations: 191.2 MB / 1.104 GB, free: 76.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01089/4.471, allocations: 5.005 MB / 1.109 GB, free: 75.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01307/4.484, allocations: 2.803 MB / 1.111 GB, free: 75.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007786/4.492, allocations: 3.262 MB / 1.115 GB, free: 75.48 MB / 474.7 MB Notification: Performance of SimCode: time 1.523e-06/4.492, allocations: 2.812 kB / 1.115 GB, free: 75.48 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6635/5.156, allocations: 141.9 MB / 1.253 GB, free: 115.7 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/5.156, allocations: 222.3 kB / 1.253 GB, free: 115.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.828/13.98, allocations: 0 / 1.253 GB, free: 115.5 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat