Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",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.01086/0.01086, allocations: 103.9 kB / 15.05 MB, free: 5.555 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.001106/0.001106, allocations: 167.7 kB / 15.93 MB, free: 5.527 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.601/1.601, allocations: 170.9 MB / 187.5 MB, free: 1 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.2421/0.2421, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006306/0.0006308, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09114/0.09182, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.09275/0.1846, allocations: 60.04 MB / 432.3 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3302/0.5149, allocations: 14.13 MB / 446.5 MB, free: 8.691 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01455/0.5295, allocations: 312.4 kB / 446.8 MB, free: 8.688 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.5418, allocations: 3.013 MB / 449.8 MB, free: 8.363 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04244/0.5843, allocations: 8.614 MB / 458.4 MB, free: 5.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00787/0.5922, allocations: 1.276 MB / 459.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0592/0.6515, allocations: 19.09 MB / 478.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01351/0.6651, allocations: 6.341 MB / 485.1 MB, free: 9.293 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005113/0.6702, allocations: 1.852 MB / 487 MB, free: 7.797 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006047/0.6763, allocations: 2.65 MB / 489.6 MB, free: 5.598 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001653/0.678, allocations: 248 kB / 489.9 MB, free: 5.355 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004707/0.6828, allocations: 1.21 MB / 491.1 MB, free: 4.348 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005123/0.6879, allocations: 2.775 MB / 493.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003113/0.6911, allocations: 1.313 MB / 495.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01516/0.7063, allocations: 8.89 MB / 0.4922 GB, free: 9.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7064, allocations: 0 / 0.4922 GB, free: 9.582 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.7064, allocations: 5.422 kB / 0.4922 GB, free: 9.578 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003814/0.7068, allocations: 0 / 0.4922 GB, free: 9.578 MB / 362.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.03117/0.738, allocations: 7.434 MB / 0.4995 GB, free: 2.711 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.7381, allocations: 12.03 kB / 0.4995 GB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003789/0.7419, allocations: 1.076 MB / 0.5006 GB, free: 2.055 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3428/1.085, allocations: 15.1 MB / 0.5153 GB, free: 3.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02115/1.106, allocations: 6.201 MB / 0.5214 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004867/1.106, allocations: 369.2 kB / 0.5217 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002747/1.109, allocations: 0.502 MB / 0.5222 GB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04951/1.159, allocations: 16.38 MB / 0.5382 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003535/1.159, allocations: 83.2 kB / 0.5383 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001279/1.16, allocations: 242.2 kB / 0.5385 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007085/1.168, allocations: 2.804 MB / 0.5412 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04754/1.215, allocations: 13.68 MB / 0.5546 GB, free: 12.94 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.4205/1.636, allocations: 64.4 MB / 0.6175 GB, free: 131.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03845/1.674, allocations: 7.865 MB / 0.6252 GB, free: 130.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04267/1.717, allocations: 18.92 MB / 0.6436 GB, free: 121.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.357e-05/1.717, allocations: 62.56 kB / 0.6437 GB, free: 121.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=286): time 7.614e-06/1.717, allocations: 3.375 kB / 0.6437 GB, free: 121.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=367): time 0.3235/2.04, allocations: 53.14 MB / 0.6956 GB, free: 74.31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/2.041, allocations: 277.1 kB / 0.6959 GB, free: 73.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01317/2.054, allocations: 6.538 MB / 0.7023 GB, free: 67.44 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009915/2.055, allocations: 81.7 kB / 0.7023 GB, free: 67.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004083/2.059, allocations: 4.741 MB / 0.707 GB, free: 62.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002115/2.061, allocations: 1.347 MB / 0.7083 GB, free: 61.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/2.062, allocations: 185.3 kB / 0.7085 GB, free: 61.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000637/2.063, allocations: 0.6946 MB / 0.7091 GB, free: 60.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009977/2.073, allocations: 3.918 MB / 0.713 GB, free: 56.47 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01339/2.087, allocations: 9.098 MB / 0.7218 GB, free: 44.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/2.1, allocations: 5.782 MB / 0.7275 GB, free: 39.17 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001644/2.1, allocations: 55.94 kB / 0.7275 GB, free: 39.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.05653/2.157, allocations: 16.92 MB / 0.7441 GB, free: 22.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/2.157, allocations: 87.98 kB / 0.7442 GB, free: 22.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002255/2.157, allocations: 180 kB / 0.7443 GB, free: 21.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02314/2.18, allocations: 4.176 MB / 0.7484 GB, free: 17.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01273/2.193, allocations: 2.051 MB / 0.7504 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3622/2.555, allocations: 23.96 MB / 0.7738 GB, free: 147.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01114/2.567, allocations: 0.5119 MB / 0.7743 GB, free: 147.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002479/2.569, allocations: 0.5334 MB / 0.7748 GB, free: 147.7 MB / 458.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.009066/2.578, allocations: 3.121 MB / 0.7779 GB, free: 146.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/2.58, allocations: 0.5781 MB / 0.7784 GB, free: 146.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03931/2.619, allocations: 10.12 MB / 0.7883 GB, free: 143.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.69e-05/2.619, allocations: 39.91 kB / 0.7883 GB, free: 143.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.224e-05/2.619, allocations: 18.53 kB / 0.7884 GB, free: 143.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.268e-05/2.619, allocations: 15.28 kB / 0.7884 GB, free: 143.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0825/2.702, allocations: 19.81 MB / 0.8077 GB, free: 136.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-05/2.702, allocations: 0 / 0.8077 GB, free: 136.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005406/2.707, allocations: 0.5337 MB / 0.8082 GB, free: 136.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02196/2.729, allocations: 3.667 MB / 0.8118 GB, free: 134.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001097/2.731, allocations: 68 kB / 0.8119 GB, free: 134.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04979/2.78, allocations: 20.81 MB / 0.8322 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/2.781, allocations: 3.938 kB / 0.8322 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04721/2.828, allocations: 14.8 MB / 0.8467 GB, free: 98.76 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004484/2.832, allocations: 1.164 MB / 0.8478 GB, free: 97.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002087/2.834, allocations: 60.7 kB / 0.8479 GB, free: 97.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006197/2.841, allocations: 212.4 kB / 0.8481 GB, free: 97.31 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001856/2.843, allocations: 230.1 kB / 0.8483 GB, free: 97.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00053/2.843, allocations: 92.86 kB / 0.8484 GB, free: 96.99 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0104/2.854, allocations: 4.167 MB / 0.8524 GB, free: 92.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.02e-07/2.854, allocations: 2.469 kB / 0.8524 GB, free: 92.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01193/2.866, allocations: 1.873 MB / 0.8543 GB, free: 90.96 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 (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.05005/2.916, allocations: 15.74 MB / 0.8696 GB, free: 75.19 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02375/2.939, allocations: 9.974 MB / 0.8794 GB, free: 65.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/2.94, allocations: 0 / 0.8794 GB, free: 65.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009241/2.949, allocations: 3.937 MB / 0.8832 GB, free: 61.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006125/2.955, allocations: 0.716 MB / 0.8839 GB, free: 60.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5164/3.471, allocations: 193.1 MB / 1.072 GB, free: 38.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009592/3.481, allocations: 5.013 MB / 1.077 GB, free: 36.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01325/3.494, allocations: 2.804 MB / 1.08 GB, free: 35.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007151/3.501, allocations: 3.283 MB / 1.083 GB, free: 31.89 MB / 458.7 MB Notification: Performance of SimCode: time 1.713e-06/3.502, allocations: 0 / 1.083 GB, free: 31.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6229/4.124, allocations: 144.2 MB / 1.224 GB, free: 62.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/4.125, allocations: 210.4 kB / 1.224 GB, free: 62.06 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.991/13.12, allocations: 0 / 1.224 GB, free: 62.06 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat