Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.072/2.072, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004546, allocations: 12 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3627, allocations: 48.71 MB / 331.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1668/0.5296, allocations: 93.47 MB / 424.8 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/0.53, allocations: 79.95 kB / 424.9 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6205/1.151, allocations: 71.79 MB / 496.7 MB, free: 93.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.509e-06/1.151, allocations: 0 / 496.7 MB, free: 93.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000288/1.151, allocations: 72.75 kB / 496.8 MB, free: 93.21 MB / 394.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.0179/1.169, allocations: 3.563 MB / 0.4886 GB, free: 91.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.519e-05/1.169, allocations: 14.78 kB / 0.4886 GB, free: 91.56 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003327/1.172, allocations: 0.637 MB / 0.4892 GB, free: 91.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02455/1.197, allocations: 2.079 MB / 0.4913 GB, free: 91.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01668/1.214, allocations: 4.074 MB / 0.4953 GB, free: 90.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004052/1.214, allocations: 259.9 kB / 0.4955 GB, free: 90.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002212/1.216, allocations: 347.7 kB / 0.4958 GB, free: 90.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.025/1.241, allocations: 8.863 MB / 0.5045 GB, free: 85.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002419/1.242, allocations: 57.03 kB / 0.5045 GB, free: 85.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001394/1.243, allocations: 175.6 kB / 0.5047 GB, free: 85.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00184/1.245, allocations: 0.8654 MB / 0.5056 GB, free: 85.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02014/1.265, allocations: 7.16 MB / 0.5125 GB, free: 82.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05433/1.32, allocations: 42.61 MB / 0.5542 GB, free: 38.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/1.331, allocations: 3.176 MB / 0.5573 GB, free: 35.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008678/1.34, allocations: 4.088 MB / 0.5613 GB, free: 31.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/1.34, allocations: 43.12 kB / 0.5613 GB, free: 31.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 4.548e-06/1.34, allocations: 0 / 0.5613 GB, free: 31.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.04278/1.383, allocations: 11.35 MB / 0.5724 GB, free: 19.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/1.383, allocations: 174.8 kB / 0.5725 GB, free: 19.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007266/1.39, allocations: 3.305 MB / 0.5758 GB, free: 15.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003593/1.391, allocations: 45.7 kB / 0.5758 GB, free: 15.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002237/1.393, allocations: 2.675 MB / 0.5784 GB, free: 13.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007945/1.394, allocations: 0.5032 MB / 0.5789 GB, free: 12.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006073/1.394, allocations: 107.2 kB / 0.579 GB, free: 12.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003136/1.395, allocations: 0.5337 MB / 0.5795 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003937/1.399, allocations: 1.662 MB / 0.5812 GB, free: 10.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006119/1.405, allocations: 5.051 MB / 0.5861 GB, free: 3.641 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006241/1.411, allocations: 2.854 MB / 0.5889 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.674e-05/1.411, allocations: 32 kB / 0.5889 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01867/1.43, allocations: 6.517 MB / 0.5953 GB, free: 10.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/1.43, allocations: 59.94 kB / 0.5953 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000226/1.43, allocations: 124 kB / 0.5955 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/1.431, allocations: 341.4 kB / 0.5958 GB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007968/1.439, allocations: 1.274 MB / 0.597 GB, free: 8.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003946/1.443, allocations: 2.371 MB / 0.5993 GB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005787/1.449, allocations: 291.4 kB / 0.5996 GB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/1.45, allocations: 332 kB / 0.5999 GB, free: 5.332 MB / 410.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 () * Number of clocked 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.005386/1.456, allocations: 1.778 MB / 0.6017 GB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009383/1.457, allocations: 308 kB / 0.602 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009539/1.466, allocations: 2.323 MB / 0.6042 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.614e-05/1.466, allocations: 16 kB / 0.6043 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/1.467, allocations: 7.75 kB / 0.6043 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.359e-05/1.467, allocations: 3.984 kB / 0.6043 GB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02064/1.487, allocations: 5.849 MB / 0.61 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.674e-05/1.487, allocations: 7.688 kB / 0.61 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/1.489, allocations: 159.8 kB / 0.6101 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004008/1.493, allocations: 0.7108 MB / 0.6108 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002568/1.493, allocations: 20 kB / 0.6108 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/1.503, allocations: 4.563 MB / 0.6153 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/1.503, allocations: 7.516 kB / 0.6153 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.515, allocations: 4.378 MB / 0.6196 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/1.517, allocations: 0.5282 MB / 0.6201 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005949/1.518, allocations: 24 kB / 0.6201 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/1.52, allocations: 67.91 kB / 0.6202 GB, free: 308 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003184/1.52, allocations: 68.42 kB / 0.6203 GB, free: 236 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.52, allocations: 35.05 kB / 0.6203 GB, free: 204 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.3066/1.827, allocations: 2.304 MB / 0.6225 GB, free: 109.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.827, allocations: 0 / 0.6225 GB, free: 109.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007221/1.834, allocations: 0.8136 MB / 0.6233 GB, free: 109.7 MB / 426.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 () * Number of clocked 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.01339/1.848, allocations: 5.299 MB / 0.6285 GB, free: 108.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009732/1.858, allocations: 3.951 MB / 0.6324 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.858, allocations: 0 / 0.6324 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00258/1.86, allocations: 1.084 MB / 0.6334 GB, free: 108.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003209/1.863, allocations: 349.5 kB / 0.6338 GB, free: 108 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04613/1.91, allocations: 99.35 MB / 0.7308 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005062/1.915, allocations: 2.834 MB / 0.7335 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003453/1.918, allocations: 1.557 MB / 0.7351 GB, free: 9.695 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/1.918, allocations: 0 / 0.7351 GB, free: 9.695 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.846/6.764, allocations: 81.58 MB / 0.8147 GB, free: 121.6 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat