Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.241/2.241, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.498e-05, allocations: 7.984 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4273, allocations: 54.85 MB / 364.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2653/0.6927, allocations: 100.2 MB / 464.8 MB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003891/0.6932, allocations: 76.83 kB / 464.9 MB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3369/1.03, allocations: 71.86 MB / 0.5242 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.314e-06/1.03, allocations: 0 / 0.5242 GB, free: 3.824 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002569/1.03, allocations: 68 kB / 0.5242 GB, free: 3.758 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01387/1.044, allocations: 3.357 MB / 0.5275 GB, free: 348 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/1.044, allocations: 8.031 kB / 0.5275 GB, free: 340 kB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3236/1.368, allocations: 0.6362 MB / 0.5281 GB, free: 109.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01694/1.385, allocations: 2.08 MB / 0.5302 GB, free: 109.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01719/1.402, allocations: 4.058 MB / 0.5341 GB, free: 108.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000408/1.403, allocations: 258.3 kB / 0.5344 GB, free: 108.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002153/1.405, allocations: 346.2 kB / 0.5347 GB, free: 108.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02666/1.432, allocations: 8.803 MB / 0.5433 GB, free: 106.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003534/1.432, allocations: 55.56 kB / 0.5434 GB, free: 106.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00172/1.434, allocations: 173.6 kB / 0.5435 GB, free: 106.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002262/1.436, allocations: 0.8679 MB / 0.5444 GB, free: 106.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03094/1.467, allocations: 7.063 MB / 0.5513 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08886/1.556, allocations: 42.6 MB / 0.5929 GB, free: 73.97 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01795/1.574, allocations: 3.161 MB / 0.596 GB, free: 72.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00444/1.578, allocations: 1.412 MB / 0.5973 GB, free: 71.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01456/1.593, allocations: 4.087 MB / 0.6013 GB, free: 69.58 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.604e-05/1.593, allocations: 52.89 kB / 0.6014 GB, free: 69.53 MB / 458.7 MB Notification: Performance of pre-optimization done (n=114): time 7.304e-06/1.593, allocations: 0 / 0.6014 GB, free: 69.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.05277/1.646, allocations: 9.393 MB / 0.6105 GB, free: 65.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/1.646, allocations: 171.9 kB / 0.6107 GB, free: 65.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007369/1.654, allocations: 3.277 MB / 0.6139 GB, free: 64.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003365/1.654, allocations: 41.2 kB / 0.614 GB, free: 64.14 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002268/1.656, allocations: 2.681 MB / 0.6166 GB, free: 62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008532/1.657, allocations: 0.4936 MB / 0.6171 GB, free: 61.65 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006594/1.658, allocations: 104.8 kB / 0.6172 GB, free: 61.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004059/1.658, allocations: 0.5333 MB / 0.6177 GB, free: 61.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004249/1.662, allocations: 1.628 MB / 0.6193 GB, free: 60.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006347/1.669, allocations: 5.022 MB / 0.6242 GB, free: 54.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006141/1.675, allocations: 2.858 MB / 0.627 GB, free: 52.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/1.675, allocations: 40 kB / 0.627 GB, free: 52.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01679/1.692, allocations: 6.441 MB / 0.6333 GB, free: 46.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.299e-05/1.692, allocations: 56 kB / 0.6333 GB, free: 46.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001509/1.692, allocations: 120 kB / 0.6335 GB, free: 46.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009991/1.693, allocations: 341.1 kB / 0.6338 GB, free: 46.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007714/1.701, allocations: 1.271 MB / 0.635 GB, free: 44.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/1.704, allocations: 2.344 MB / 0.6373 GB, free: 42.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005701/1.71, allocations: 282 kB / 0.6376 GB, free: 42.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/1.711, allocations: 331.7 kB / 0.6379 GB, free: 42.13 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 652 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001525/1.713, allocations: 0.516 MB / 0.6384 GB, free: 41.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007953/1.714, allocations: 311.9 kB / 0.6387 GB, free: 41.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00769/1.721, allocations: 2.311 MB / 0.641 GB, free: 39.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.047e-05/1.721, allocations: 20 kB / 0.641 GB, free: 39.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.722, allocations: 4 kB / 0.641 GB, free: 39.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.888e-05/1.722, allocations: 4.453 kB / 0.641 GB, free: 39.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01867/1.74, allocations: 5.821 MB / 0.6467 GB, free: 34.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/1.74, allocations: 0 / 0.6467 GB, free: 34.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/1.742, allocations: 165.5 kB / 0.6468 GB, free: 34.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003856/1.746, allocations: 0.7098 MB / 0.6475 GB, free: 34.26 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000307/1.746, allocations: 20 kB / 0.6475 GB, free: 34.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008624/1.755, allocations: 4.443 MB / 0.6519 GB, free: 30.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/1.755, allocations: 4.031 kB / 0.6519 GB, free: 30.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/1.766, allocations: 4.367 MB / 0.6561 GB, free: 26.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001942/1.768, allocations: 0.5281 MB / 0.6567 GB, free: 25.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009545/1.769, allocations: 20 kB / 0.6567 GB, free: 25.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002564/1.771, allocations: 71.89 kB / 0.6567 GB, free: 25.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004535/1.772, allocations: 64.55 kB / 0.6568 GB, free: 25.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/1.772, allocations: 35.98 kB / 0.6568 GB, free: 25.55 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005841/1.778, allocations: 2.271 MB / 0.6591 GB, free: 23.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.52e-07/1.778, allocations: 0 / 0.6591 GB, free: 23.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006154/1.784, allocations: 0.8226 MB / 0.6599 GB, free: 22.48 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 86 * 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.01179/1.796, allocations: 5.288 MB / 0.665 GB, free: 17.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00872/1.805, allocations: 3.898 MB / 0.6688 GB, free: 13.26 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.805, allocations: 3.938 kB / 0.6688 GB, free: 13.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002292/1.807, allocations: 1.073 MB / 0.6699 GB, free: 12.17 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002989/1.81, allocations: 353.8 kB / 0.6702 GB, free: 11.83 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02846/1.839, allocations: 7.325 MB / 0.6774 GB, free: 4.457 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00729/1.846, allocations: 2.842 MB / 0.6802 GB, free: 1.605 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004813/1.851, allocations: 1.558 MB / 0.6817 GB, free: 48 kB / 458.7 MB Notification: Performance of SimCode: time 1.743e-06/1.851, allocations: 0 / 0.6817 GB, free: 48 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.849/6.7, allocations: 82.06 MB / 0.7618 GB, free: 114.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat