Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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) 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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01115/0.01115, allocations: 109.7 kB / 15.06 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.2.mo): time 0.001209/0.00121, allocations: 178.3 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.899/1.899, allocations: 194.6 MB / 211.3 MB, free: 10.99 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.26/0.26, allocations: 40.03 MB / 296.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004613, allocations: 8 kB / 361.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1127, allocations: 54.87 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3804/0.4931, allocations: 43.62 MB / 459.6 MB, free: 30.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02544/0.5186, allocations: 10.64 MB / 470.3 MB, free: 29.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009245/0.5279, allocations: 206.3 kB / 470.5 MB, free: 29.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007166/0.5351, allocations: 2.212 MB / 472.7 MB, free: 29.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02236/0.5575, allocations: 6.324 MB / 479 MB, free: 28.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003886/0.5615, allocations: 0.6035 MB / 479.6 MB, free: 28.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02667/0.5882, allocations: 9.594 MB / 489.2 MB, free: 27.51 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009333/0.5976, allocations: 4.342 MB / 493.5 MB, free: 26.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002907/0.6005, allocations: 1.019 MB / 494.6 MB, free: 26.47 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003677/0.6043, allocations: 1.433 MB / 496 MB, free: 26.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.6054, allocations: 157.6 kB / 496.2 MB, free: 26.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.6089, allocations: 0.9651 MB / 497.1 MB, free: 25.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00336/0.6123, allocations: 1.65 MB / 498.8 MB, free: 25.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00199/0.6143, allocations: 0.8791 MB / 499.6 MB, free: 24.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.6249, allocations: 6.238 MB / 0.494 GB, free: 21.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6249, allocations: 0 / 0.494 GB, free: 21.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6249, allocations: 0.8438 kB / 0.494 GB, free: 21.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002959/0.6252, allocations: 0 / 0.494 GB, free: 21.74 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: 1642 * Number of variables: 1642 Notification: Performance of Generate backend data structure: time 0.01785/0.6431, allocations: 4.3 MB / 0.4982 GB, free: 18.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.6432, allocations: 9.25 kB / 0.4982 GB, free: 18.78 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003502/0.6467, allocations: 0.7857 MB / 0.499 GB, free: 18.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1784/0.8251, allocations: 8.416 MB / 0.5072 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009554/0.8347, allocations: 2.843 MB / 0.51 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.835, allocations: 252.2 kB / 0.5102 GB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001794/0.8368, allocations: 332.5 kB / 0.5106 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02366/0.8605, allocations: 10.41 MB / 0.5207 GB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002004/0.8608, allocations: 53.3 kB / 0.5208 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007482/0.8615, allocations: 165.8 kB / 0.5209 GB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005589/0.8672, allocations: 2.034 MB / 0.5229 GB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02703/0.8942, allocations: 8.631 MB / 0.5313 GB, free: 4.824 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07475/0.969, allocations: 38.42 MB / 0.5689 GB, free: 13.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.9794, allocations: 3.014 MB / 0.5718 GB, free: 10.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000594/0.98, allocations: 345.7 kB / 0.5721 GB, free: 9.766 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/0.9801, allocations: 59.5 kB / 0.5722 GB, free: 9.699 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 5.932e-06/0.9801, allocations: 0 / 0.5722 GB, free: 9.699 MB / 442.7 MB Notification: Performance of matching and sorting (n=194): time 0.05663/1.037, allocations: 14.44 MB / 0.5863 GB, free: 11.06 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/1.037, allocations: 197.2 kB / 0.5865 GB, free: 10.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009209/1.046, allocations: 3.93 MB / 0.5903 GB, free: 6.902 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005182/1.047, allocations: 53.7 kB / 0.5904 GB, free: 6.844 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003495/1.05, allocations: 3.202 MB / 0.5935 GB, free: 3.598 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001328/1.052, allocations: 0.7404 MB / 0.5942 GB, free: 2.848 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006037/1.052, allocations: 120 kB / 0.5943 GB, free: 2.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004695/1.053, allocations: 0.5556 MB / 0.5949 GB, free: 2.168 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006196/1.059, allocations: 2.147 MB / 0.597 GB, free: 16 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009369/1.068, allocations: 5.793 MB / 0.6026 GB, free: 8.395 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009091/1.077, allocations: 3.428 MB / 0.606 GB, free: 4.969 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-05/1.078, allocations: 36 kB / 0.606 GB, free: 4.934 MB / 474.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02407/1.102, allocations: 7.973 MB / 0.6138 GB, free: 12.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/1.102, allocations: 60 kB / 0.6139 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002034/1.102, allocations: 128 kB / 0.614 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/1.104, allocations: 457 kB / 0.6144 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009348/1.113, allocations: 1.431 MB / 0.6158 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007269/1.12, allocations: 3.398 MB / 0.6191 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006874/1.127, allocations: 355.7 kB / 0.6195 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/1.129, allocations: 371.9 kB / 0.6198 GB, free: 6.645 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (742): * Single equations (assignments): 738 * 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%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006851/1.136, allocations: 2.22 MB / 0.622 GB, free: 4.414 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009896/1.137, allocations: 339.6 kB / 0.6223 GB, free: 4.078 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/1.147, allocations: 2.933 MB / 0.6252 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-05/1.147, allocations: 23.98 kB / 0.6252 GB, free: 1.102 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/1.147, allocations: 4 kB / 0.6252 GB, free: 1.098 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.494e-05/1.147, allocations: 7.969 kB / 0.6252 GB, free: 1.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3335/1.481, allocations: 7.836 MB / 0.6329 GB, free: 149.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/1.481, allocations: 0 / 0.6329 GB, free: 149.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003352/1.484, allocations: 349.5 kB / 0.6332 GB, free: 149.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/1.485, allocations: 257.1 kB / 0.6334 GB, free: 149.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003315/1.486, allocations: 43.75 kB / 0.6335 GB, free: 149.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004815/1.491, allocations: 2.966 MB / 0.6364 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.491, allocations: 2.734 kB / 0.6364 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/1.505, allocations: 5.612 MB / 0.6419 GB, free: 145.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002459/1.508, allocations: 0.6359 MB / 0.6425 GB, free: 145.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008544/1.508, allocations: 29.62 kB / 0.6425 GB, free: 145.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002867/1.511, allocations: 128.4 kB / 0.6426 GB, free: 145.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006022/1.512, allocations: 122 kB / 0.6428 GB, free: 145.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002198/1.512, allocations: 59.31 kB / 0.6428 GB, free: 145.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006045/1.518, allocations: 2.469 MB / 0.6452 GB, free: 144.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.91e-07/1.518, allocations: 0 / 0.6452 GB, free: 144.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007132/1.525, allocations: 1.007 MB / 0.6462 GB, free: 144.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (164): * Single equations (assignments): 160 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0149/1.54, allocations: 6.434 MB / 0.6525 GB, free: 141.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01396/1.554, allocations: 5.146 MB / 0.6575 GB, free: 140.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.555, allocations: 1.281 kB / 0.6575 GB, free: 140.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004666/1.559, allocations: 1.674 MB / 0.6592 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/1.562, allocations: 390.6 kB / 0.6595 GB, free: 139.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1063/1.669, allocations: 122.5 MB / 0.7792 GB, free: 25.67 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007733/1.677, allocations: 3.546 MB / 0.7827 GB, free: 22.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008606/1.685, allocations: 1.945 MB / 0.7846 GB, free: 21.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004653/1.69, allocations: 1.976 MB / 0.7865 GB, free: 19.89 MB / 490.7 MB Notification: Performance of SimCode: time 1.694e-06/1.69, allocations: 0 / 0.7865 GB, free: 19.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4795/2.169, allocations: 75.68 MB / 0.8604 GB, free: 131 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002916/2.17, allocations: 215.3 kB / 0.8606 GB, free: 130.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.365/7.535, allocations: 0 / 0.8606 GB, free: 130.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat