Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.986/1.986, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007394/0.0007394, allocations: 15.94 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1595, allocations: 48.71 MB / 331.4 MB, free: 8.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5592/0.7188, allocations: 92.91 MB / 424.3 MB, free: 8.125 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.7192, allocations: 71.97 kB / 424.3 MB, free: 8.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7033/1.422, allocations: 92.33 MB / 0.5046 GB, free: 87.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.537e-06/1.423, allocations: 0 / 0.5046 GB, free: 87.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003634/1.423, allocations: 89.58 kB / 0.5047 GB, free: 87.64 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.02479/1.448, allocations: 5.053 MB / 0.5096 GB, free: 85.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/1.448, allocations: 11.28 kB / 0.5096 GB, free: 85.53 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004247/1.452, allocations: 0.7945 MB / 0.5104 GB, free: 85.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01752/1.47, allocations: 2.23 MB / 0.5126 GB, free: 85.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02078/1.49, allocations: 5.092 MB / 0.5175 GB, free: 84.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004652/1.491, allocations: 329.2 kB / 0.5178 GB, free: 84.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002723/1.494, allocations: 430.3 kB / 0.5182 GB, free: 84.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03528/1.529, allocations: 11.56 MB / 0.5295 GB, free: 81.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002827/1.529, allocations: 57.28 kB / 0.5296 GB, free: 81.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002054/1.531, allocations: 207.5 kB / 0.5298 GB, free: 81.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002435/1.534, allocations: 1.159 MB / 0.5309 GB, free: 81.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03043/1.564, allocations: 10.01 MB / 0.5407 GB, free: 78.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07561/1.64, allocations: 50.71 MB / 0.5902 GB, free: 36.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02298/1.663, allocations: 5.859 MB / 0.5959 GB, free: 30.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02063/1.684, allocations: 9.211 MB / 0.6049 GB, free: 20.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01766/1.702, allocations: 3.403 MB / 0.6083 GB, free: 17.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=209): time 6.973e-06/1.702, allocations: 0 / 0.6083 GB, free: 17.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=283): time 0.5408/2.242, allocations: 33.96 MB / 0.6414 GB, free: 94.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.533e-05/2.243, allocations: 155.7 kB / 0.6416 GB, free: 94.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01186/2.254, allocations: 3.695 MB / 0.6452 GB, free: 94.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00102/2.256, allocations: 69.62 kB / 0.6452 GB, free: 94.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00418/2.26, allocations: 3.15 MB / 0.6483 GB, free: 93.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002311/2.262, allocations: 1.042 MB / 0.6493 GB, free: 92.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/2.263, allocations: 131.2 kB / 0.6495 GB, free: 92.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006849/2.264, allocations: 0.5906 MB / 0.65 GB, free: 92.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009898/2.274, allocations: 3.297 MB / 0.6533 GB, free: 92.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01291/2.287, allocations: 6.883 MB / 0.66 GB, free: 87.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/2.299, allocations: 4.702 MB / 0.6646 GB, free: 87.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002528/2.3, allocations: 41.78 kB / 0.6646 GB, free: 87.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.0399/2.34, allocations: 12.35 MB / 0.6767 GB, free: 84.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001667/2.34, allocations: 86.86 kB / 0.6768 GB, free: 84.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002348/2.34, allocations: 126.3 kB / 0.6769 GB, free: 84.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01283/2.353, allocations: 2.686 MB / 0.6795 GB, free: 83.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009994/2.363, allocations: 1.475 MB / 0.6809 GB, free: 83.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0456/2.409, allocations: 22.28 MB / 0.7027 GB, free: 71.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009154/2.418, allocations: 422.7 kB / 0.7031 GB, free: 71.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002091/2.42, allocations: 396.6 kB / 0.7035 GB, free: 71.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 574 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,rod3.color[3],rod3.color[2],rod3.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.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 (762): * Single equations (assignments): 754 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.007614/2.428, allocations: 2.219 MB / 0.7056 GB, free: 70.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/2.429, allocations: 401.2 kB / 0.706 GB, free: 70.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02601/2.455, allocations: 7.901 MB / 0.7137 GB, free: 67.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-05/2.455, allocations: 27.75 kB / 0.7138 GB, free: 67.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.001e-05/2.455, allocations: 11.06 kB / 0.7138 GB, free: 67.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.447e-05/2.455, allocations: 17.91 kB / 0.7138 GB, free: 67.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04383/2.499, allocations: 14.58 MB / 0.728 GB, free: 60.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.734e-05/2.499, allocations: 0 / 0.728 GB, free: 60.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00415/2.504, allocations: 404.7 kB / 0.7284 GB, free: 60.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0112/2.515, allocations: 2.45 MB / 0.7308 GB, free: 58.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008947/2.516, allocations: 50.12 kB / 0.7309 GB, free: 58.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04258/2.558, allocations: 22.1 MB / 0.7524 GB, free: 38.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/2.558, allocations: 0 / 0.7524 GB, free: 38.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02326/2.582, allocations: 8.251 MB / 0.7605 GB, free: 30.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003764/2.585, allocations: 0.9916 MB / 0.7615 GB, free: 29.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001671/2.587, allocations: 44.94 kB / 0.7615 GB, free: 29.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00474/2.592, allocations: 211.6 kB / 0.7617 GB, free: 28.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001462/2.594, allocations: 190.2 kB / 0.7619 GB, free: 28.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004337/2.594, allocations: 79.98 kB / 0.762 GB, free: 28.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006581/2.601, allocations: 2.59 MB / 0.7645 GB, free: 26.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.52e-07/2.601, allocations: 0 / 0.7645 GB, free: 26.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00958/2.61, allocations: 1.38 MB / 0.7658 GB, free: 24.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 181 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.02618/2.636, allocations: 9.656 MB / 0.7753 GB, free: 14.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02153/2.658, allocations: 8.811 MB / 0.7839 GB, free: 6.125 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/2.658, allocations: 0 / 0.7839 GB, free: 6.125 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01029/2.668, allocations: 3.99 MB / 0.7878 GB, free: 2.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004146/2.673, allocations: 424 kB / 0.7882 GB, free: 1.676 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3926/3.065, allocations: 109.6 MB / 0.8952 GB, free: 19.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01075/3.076, allocations: 3.666 MB / 0.8988 GB, free: 18.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006619/3.083, allocations: 2.103 MB / 0.9008 GB, free: 18.45 MB / 458.7 MB Notification: Performance of SimCode: time 9.42e-07/3.083, allocations: 0 / 0.9008 GB, free: 18.45 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.506/8.589, allocations: 168.8 MB / 1.066 GB, free: 62.24 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat