Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.0168/0.01681, allocations: 103.6 kB / 15.05 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.002121/0.00212, allocations: 172 kB / 15.93 MB, free: 5.91 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.717/1.717, allocations: 170.9 MB / 187.5 MB, free: 0.8477 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.373/0.373, allocations: 38.1 MB / 265.1 MB, free: 3.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004572, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08957/0.09007, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.07955/0.1697, allocations: 52.39 MB / 424.7 MB, free: 8.32 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3225/0.4922, allocations: 12.54 MB / 437.2 MB, free: 9.016 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01149/0.5037, allocations: 273.5 kB / 437.5 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01006/0.5138, allocations: 2.633 MB / 440.1 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0284/0.5423, allocations: 7.543 MB / 447.7 MB, free: 8.246 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005438/0.5478, allocations: 1.009 MB / 448.7 MB, free: 7.977 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0498/0.5976, allocations: 17.98 MB / 466.7 MB, free: 2.969 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0101/0.6078, allocations: 5.522 MB / 472.2 MB, free: 232 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/0.6114, allocations: 1.496 MB / 473.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004493/0.616, allocations: 2.007 MB / 475.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001279/0.6173, allocations: 203.7 kB / 475.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003907/0.6212, allocations: 1.173 MB / 477.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003727/0.625, allocations: 2.21 MB / 479.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.627, allocations: 1.101 MB / 480.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.6397, allocations: 7.544 MB / 487.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6397, allocations: 0 / 487.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6397, allocations: 1.641 kB / 487.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002803/0.64, allocations: 4 kB / 487.9 MB, free: 4.184 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: 1935 * Number of variables: 1935 Notification: Performance of Generate backend data structure: time 0.02586/0.6659, allocations: 6.164 MB / 494.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.666, allocations: 12.03 kB / 494.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003238/0.6692, allocations: 0.9145 MB / 495 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.41/1.079, allocations: 14.68 MB / 0.4977 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02027/1.1, allocations: 4.531 MB / 0.5022 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004694/1.1, allocations: 308.8 kB / 0.5025 GB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002558/1.103, allocations: 424.3 kB / 0.5029 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04478/1.148, allocations: 13.92 MB / 0.5165 GB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003668/1.148, allocations: 53.78 kB / 0.5165 GB, free: 1.121 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001892/1.15, allocations: 195.9 kB / 0.5167 GB, free: 1.066 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006334/1.156, allocations: 2.418 MB / 0.5191 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04148/1.198, allocations: 11.75 MB / 0.5305 GB, free: 5.422 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1035/1.301, allocations: 53.24 MB / 0.5825 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02878/1.33, allocations: 5.83 MB / 0.5882 GB, free: 9.012 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.32/1.65, allocations: 14.94 MB / 0.6028 GB, free: 168.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.315e-05/1.65, allocations: 63.81 kB / 0.6029 GB, free: 168.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=226): time 6.052e-06/1.65, allocations: 0 / 0.6029 GB, free: 168.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=263): time 0.1457/1.796, allocations: 26.64 MB / 0.6289 GB, free: 159.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/1.796, allocations: 267.6 kB / 0.6291 GB, free: 159.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0104/1.807, allocations: 5.292 MB / 0.6343 GB, free: 154.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006291/1.807, allocations: 65.7 kB / 0.6344 GB, free: 154.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003419/1.811, allocations: 3.947 MB / 0.6382 GB, free: 150.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00156/1.812, allocations: 0.9886 MB / 0.6392 GB, free: 149.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007973/1.813, allocations: 144.7 kB / 0.6393 GB, free: 149 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004315/1.814, allocations: 0.616 MB / 0.6399 GB, free: 148.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00634/1.82, allocations: 2.696 MB / 0.6426 GB, free: 145.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00887/1.829, allocations: 6.998 MB / 0.6494 GB, free: 136.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009358/1.838, allocations: 4.232 MB / 0.6535 GB, free: 132.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001304/1.839, allocations: 40 kB / 0.6536 GB, free: 132.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=959) (initialization): time 0.02516/1.864, allocations: 10.02 MB / 0.6634 GB, free: 122.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.864, allocations: 68 kB / 0.6634 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/1.864, allocations: 152.9 kB / 0.6636 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002679/1.867, allocations: 0.7265 MB / 0.6643 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01098/1.878, allocations: 1.766 MB / 0.666 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/1.888, allocations: 6.455 MB / 0.6723 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008169/1.896, allocations: 395.5 kB / 0.6727 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001429/1.898, allocations: 444.5 kB / 0.6731 GB, free: 112.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 690 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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 (909): * Single equations (assignments): 904 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006382/1.904, allocations: 2.63 MB / 0.6757 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/1.905, allocations: 471.1 kB / 0.6761 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/1.917, allocations: 4.364 MB / 0.6804 GB, free: 104.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.694e-05/1.917, allocations: 32.64 kB / 0.6804 GB, free: 104.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/1.917, allocations: 4 kB / 0.6804 GB, free: 104.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.065e-05/1.917, allocations: 15.95 kB / 0.6804 GB, free: 104.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02783/1.945, allocations: 10.85 MB / 0.691 GB, free: 93.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.588e-05/1.945, allocations: 0.875 kB / 0.691 GB, free: 93.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004924/1.95, allocations: 499.2 kB / 0.6915 GB, free: 93.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002396/1.953, allocations: 497.2 kB / 0.692 GB, free: 92.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005508/1.953, allocations: 43.98 kB / 0.692 GB, free: 92.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009217/1.963, allocations: 5.824 MB / 0.6977 GB, free: 86.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.963, allocations: 7.75 kB / 0.6977 GB, free: 86.73 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01682/1.979, allocations: 7.675 MB / 0.7052 GB, free: 78.97 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003233/1.983, allocations: 0.8541 MB / 0.706 GB, free: 78.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001364/1.984, allocations: 47.98 kB / 0.7061 GB, free: 78.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004298/1.988, allocations: 167.7 kB / 0.7063 GB, free: 77.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008509/1.989, allocations: 143.3 kB / 0.7064 GB, free: 77.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002817/1.99, allocations: 71.98 kB / 0.7065 GB, free: 77.67 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007363/1.997, allocations: 3.355 MB / 0.7097 GB, free: 74.33 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.997, allocations: 4 kB / 0.7097 GB, free: 74.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008265/2.005, allocations: 1.315 MB / 0.711 GB, free: 73.02 MB / 458.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 (224): * Single equations (assignments): 219 * 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 {(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.01784/2.023, allocations: 8.542 MB / 0.7194 GB, free: 64.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01473/2.038, allocations: 6.716 MB / 0.7259 GB, free: 57.67 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/2.038, allocations: 4 kB / 0.7259 GB, free: 57.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005292/2.043, allocations: 2.365 MB / 0.7282 GB, free: 55.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004616/2.048, allocations: 0.5696 MB / 0.7288 GB, free: 54.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4231/2.471, allocations: 151.9 MB / 0.8771 GB, free: 72.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007442/2.479, allocations: 4.214 MB / 0.8812 GB, free: 70.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01035/2.489, allocations: 2.373 MB / 0.8835 GB, free: 70.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00553/2.495, allocations: 2.622 MB / 0.8861 GB, free: 68.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.242e-06/2.495, allocations: 4 kB / 0.8861 GB, free: 68.09 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5116/3.006, allocations: 101.2 MB / 0.9849 GB, free: 145.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/3.007, allocations: 196.5 kB / 0.9851 GB, free: 144.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/9.956, allocations: 4 kB / 0.9851 GB, free: 144.9 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat