Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",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.01049/0.01049, allocations: 103 kB / 15.05 MB, free: 6.027 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.001146/0.001146, allocations: 174.4 kB / 15.93 MB, free: 5.961 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.59/1.59, allocations: 170.9 MB / 187.5 MB, free: 1.004 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.2486/0.2486, allocations: 38.1 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.0004499, allocations: 8 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09691/0.09738, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.04505/0.1425, allocations: 28.49 MB / 400.8 MB, free: 288 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02163/0.1642, allocations: 7.527 MB / 408.3 MB, free: 8.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005588/0.1698, allocations: 143.6 kB / 408.5 MB, free: 8.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00539/0.1753, allocations: 1.396 MB / 409.9 MB, free: 7.188 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01697/0.1923, allocations: 4.212 MB / 414.1 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.1962, allocations: 0.581 MB / 414.6 MB, free: 2.383 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.07201/0.2682, allocations: 9.454 MB / 424.1 MB, free: 8.918 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008593/0.2769, allocations: 2.961 MB / 427.1 MB, free: 5.898 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002887/0.2799, allocations: 0.9266 MB / 428 MB, free: 4.969 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00382/0.2837, allocations: 1.273 MB / 429.3 MB, free: 3.691 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.2849, allocations: 124 kB / 429.4 MB, free: 3.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002996/0.2879, allocations: 0.9792 MB / 430.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00253/0.2905, allocations: 1.375 MB / 431.7 MB, free: 1.211 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.2918, allocations: 0.7181 MB / 432.5 MB, free: 496 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2894/0.5812, allocations: 4.863 MB / 437.3 MB, free: 21.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5812, allocations: 0 / 437.3 MB, free: 21.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5813, allocations: 1.844 kB / 437.3 MB, free: 21.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002458/0.5815, allocations: 0 / 437.3 MB, free: 21.78 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1314 * Number of variables: 1314 Notification: Performance of Generate backend data structure: time 0.01717/0.5987, allocations: 3.726 MB / 441 MB, free: 20.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.5988, allocations: 10.16 kB / 441.1 MB, free: 20.08 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002898/0.6017, allocations: 0.6234 MB / 441.7 MB, free: 20.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1763/0.7781, allocations: 8.296 MB / 450 MB, free: 18.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009412/0.7875, allocations: 2.591 MB / 452.6 MB, free: 18.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/0.7878, allocations: 191.7 kB / 452.8 MB, free: 18.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/0.7897, allocations: 273.4 kB / 453 MB, free: 18.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02423/0.8139, allocations: 8.58 MB / 461.6 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000187/0.8142, allocations: 41 kB / 461.6 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009739/0.8152, allocations: 127 kB / 461.8 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004207/0.8194, allocations: 1.692 MB / 463.5 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02206/0.8415, allocations: 7.21 MB / 470.7 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06094/0.9025, allocations: 33.93 MB / 0.4928 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0156/0.9181, allocations: 3.468 MB / 0.4962 GB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0214/0.9396, allocations: 7.296 MB / 0.5033 GB, free: 4.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.322e-05/0.9397, allocations: 58.56 kB / 0.5033 GB, free: 4.117 MB / 362.7 MB Notification: Performance of pre-optimization done (n=150): time 5.942e-06/0.9397, allocations: 0 / 0.5033 GB, free: 4.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=185): time 0.1293/1.069, allocations: 20.97 MB / 0.5238 GB, free: 15.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.069, allocations: 197.2 kB / 0.524 GB, free: 14.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009626/1.079, allocations: 3.837 MB / 0.5277 GB, free: 10.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005207/1.079, allocations: 55.97 kB / 0.5278 GB, free: 10.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003359/1.083, allocations: 2.814 MB / 0.5305 GB, free: 8.133 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001316/1.084, allocations: 0.6997 MB / 0.5312 GB, free: 7.438 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007659/1.085, allocations: 116 kB / 0.5313 GB, free: 7.324 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005012/1.085, allocations: 0.5498 MB / 0.5319 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006088/1.092, allocations: 2.103 MB / 0.5339 GB, free: 4.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009719/1.101, allocations: 5.61 MB / 0.5394 GB, free: 13.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009129/1.11, allocations: 3.361 MB / 0.5427 GB, free: 10.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/1.111, allocations: 36 kB / 0.5427 GB, free: 10.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=757) (initialization): time 0.03528/1.146, allocations: 9.242 MB / 0.5518 GB, free: 1.609 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/1.146, allocations: 56.97 kB / 0.5518 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002204/1.146, allocations: 124 kB / 0.5519 GB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0104/1.157, allocations: 1.53 MB / 0.5534 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008369/1.165, allocations: 1.292 MB / 0.5547 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03124/1.197, allocations: 10.1 MB / 0.5645 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006856/1.203, allocations: 303.5 kB / 0.5648 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/1.205, allocations: 375.4 kB / 0.5652 GB, free: 3.906 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 567 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (690): * Single equations (assignments): 686 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006793/1.212, allocations: 1.89 MB / 0.567 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.213, allocations: 331.7 kB / 0.5674 GB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01913/1.232, allocations: 4.059 MB / 0.5713 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.111e-05/1.232, allocations: 27.47 kB / 0.5713 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/1.232, allocations: 8 kB / 0.5714 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-05/1.232, allocations: 7.969 kB / 0.5714 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03497/1.267, allocations: 8.397 MB / 0.5796 GB, free: 5.156 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-05/1.267, allocations: 7.922 kB / 0.5796 GB, free: 5.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002636/1.27, allocations: 247.6 kB / 0.5798 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009084/1.279, allocations: 1.203 MB / 0.581 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004989/1.28, allocations: 35.98 kB / 0.581 GB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.31/1.59, allocations: 8.316 MB / 0.5891 GB, free: 155.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/1.59, allocations: 1.656 kB / 0.5891 GB, free: 155.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0242/1.614, allocations: 6.59 MB / 0.5956 GB, free: 153.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002456/1.617, allocations: 0.6149 MB / 0.5962 GB, free: 153.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001276/1.618, allocations: 31.03 kB / 0.5962 GB, free: 153.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00336/1.621, allocations: 90.75 kB / 0.5963 GB, free: 153.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009065/1.622, allocations: 105.1 kB / 0.5964 GB, free: 153.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003107/1.623, allocations: 55.19 kB / 0.5964 GB, free: 153.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006875/1.63, allocations: 2.413 MB / 0.5988 GB, free: 152.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.63, allocations: 0 / 0.5988 GB, free: 152.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007702/1.637, allocations: 0.9773 MB / 0.5998 GB, free: 152.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02323/1.661, allocations: 7.472 MB / 0.6071 GB, free: 149.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01261/1.673, allocations: 5.208 MB / 0.6121 GB, free: 146.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.673, allocations: 2.406 kB / 0.6121 GB, free: 146.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004399/1.678, allocations: 1.74 MB / 0.6138 GB, free: 144.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003418/1.681, allocations: 357.3 kB / 0.6142 GB, free: 144.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.134/1.815, allocations: 118.7 MB / 0.7301 GB, free: 22.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006855/1.822, allocations: 3.042 MB / 0.733 GB, free: 19.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008642/1.831, allocations: 1.811 MB / 0.7348 GB, free: 17.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004622/1.836, allocations: 1.651 MB / 0.7364 GB, free: 15.72 MB / 442.7 MB Notification: Performance of SimCode: time 1.924e-06/1.836, allocations: 2.516 kB / 0.7364 GB, free: 15.72 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4886/2.324, allocations: 75.36 MB / 0.81 GB, free: 111 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/2.324, allocations: 213.7 kB / 0.8102 GB, free: 110.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.109/7.433, allocations: 7.938 kB / 0.8102 GB, free: 110.7 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat