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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.551/2.551, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.859e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3569, allocations: 54.85 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.5457, allocations: 99.51 MB / 457.6 MB, free: 11.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.5461, allocations: 79.94 kB / 457.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7079/1.254, allocations: 70.47 MB / 0.5158 GB, free: 53 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.877e-06/1.254, allocations: 0 / 0.5158 GB, free: 53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003016/1.254, allocations: 68 kB / 0.5159 GB, free: 52.93 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.01776/1.272, allocations: 3.357 MB / 0.5191 GB, free: 49.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.565e-05/1.272, allocations: 12.03 kB / 0.5192 GB, free: 49.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02479/1.297, allocations: 2.082 MB / 0.5212 GB, free: 47.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02219/1.319, allocations: 4.046 MB / 0.5251 GB, free: 43.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003399/1.32, allocations: 108 kB / 0.5252 GB, free: 43.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002421/1.322, allocations: 212.2 kB / 0.5254 GB, free: 42.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01789/1.34, allocations: 5.038 MB / 0.5304 GB, free: 37.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02623/1.366, allocations: 7.95 MB / 0.5381 GB, free: 29.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003402/1.367, allocations: 51.47 kB / 0.5382 GB, free: 28.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002/1.369, allocations: 36 kB / 0.5382 GB, free: 28.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002769/1.372, allocations: 0.8721 MB / 0.5391 GB, free: 28.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08434/1.456, allocations: 40.95 MB / 0.579 GB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007401/1.464, allocations: 2.481 MB / 0.5815 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004524/1.468, allocations: 1.37 MB / 0.5828 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008885/1.469, allocations: 331.8 kB / 0.5831 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.864e-05/1.469, allocations: 51.06 kB / 0.5832 GB, free: 13.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 7.865e-06/1.469, allocations: 0 / 0.5832 GB, free: 13.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=130): time 0.06322/1.533, allocations: 11.25 MB / 0.5942 GB, free: 1.957 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/1.533, allocations: 196.5 kB / 0.5944 GB, free: 1.719 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01127/1.544, allocations: 2.793 MB / 0.5971 GB, free: 14.92 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004559/1.545, allocations: 29.69 kB / 0.5971 GB, free: 14.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004528/1.549, allocations: 2.751 MB / 0.5998 GB, free: 12.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00141/1.551, allocations: 0.517 MB / 0.6003 GB, free: 11.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009056/1.552, allocations: 0 / 0.6003 GB, free: 11.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001147/1.553, allocations: 0.5382 MB / 0.6008 GB, free: 11.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006997/1.56, allocations: 1.588 MB / 0.6024 GB, free: 9.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0127/1.573, allocations: 5.104 MB / 0.6074 GB, free: 2.535 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/1.584, allocations: 2.837 MB / 0.6101 GB, free: 15.69 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001932/1.584, allocations: 36 kB / 0.6102 GB, free: 15.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02802/1.612, allocations: 5.929 MB / 0.616 GB, free: 9.719 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001915/1.612, allocations: 60 kB / 0.616 GB, free: 9.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003244/1.613, allocations: 128 kB / 0.6161 GB, free: 9.535 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/1.615, allocations: 349.4 kB / 0.6165 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01305/1.628, allocations: 1.322 MB / 0.6178 GB, free: 7.867 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005586/1.633, allocations: 2.242 MB / 0.6199 GB, free: 5.508 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009003/1.642, allocations: 187.5 kB / 0.6201 GB, free: 5.324 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/1.645, allocations: 352 kB / 0.6205 GB, free: 4.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * 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 (686): * Single equations (assignments): 682 * 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.002834/1.647, allocations: 431 kB / 0.6209 GB, free: 4.551 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01439/1.662, allocations: 2.629 MB / 0.6234 GB, free: 1.914 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/1.663, allocations: 276.4 kB / 0.6237 GB, free: 1.641 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3468/2.01, allocations: 2.247 MB / 0.6259 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.338e-05/2.01, allocations: 15.25 kB / 0.6259 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.149e-05/2.01, allocations: 7.375 kB / 0.6259 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.285e-05/2.01, allocations: 6.984 kB / 0.6259 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/2.03, allocations: 5.603 MB / 0.6314 GB, free: 111.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/2.03, allocations: 4.938 kB / 0.6314 GB, free: 111.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/2.031, allocations: 181.7 kB / 0.6316 GB, free: 111.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004053/2.036, allocations: 0.7029 MB / 0.6323 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003841/2.036, allocations: 13.69 kB / 0.6323 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/2.048, allocations: 4.288 MB / 0.6365 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/2.048, allocations: 9.828 kB / 0.6365 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/2.064, allocations: 4.39 MB / 0.6408 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002408/2.066, allocations: 0.4945 MB / 0.6412 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/2.067, allocations: 6.375 kB / 0.6412 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003117/2.07, allocations: 57.09 kB / 0.6413 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005994/2.071, allocations: 75.28 kB / 0.6414 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/2.071, allocations: 43.08 kB / 0.6414 GB, free: 109.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00655/2.078, allocations: 1.846 MB / 0.6432 GB, free: 109.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.41e-07/2.078, allocations: 0 / 0.6432 GB, free: 109.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009464/2.087, allocations: 0.7014 MB / 0.6439 GB, free: 109.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (97): * Single equations (assignments): 93 * 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.01627/2.104, allocations: 5.362 MB / 0.6491 GB, free: 108 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01033/2.114, allocations: 3.758 MB / 0.6528 GB, free: 107.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/2.114, allocations: 3.812 kB / 0.6528 GB, free: 107.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002714/2.117, allocations: 1.071 MB / 0.6539 GB, free: 107.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/2.12, allocations: 288.3 kB / 0.6541 GB, free: 107.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03266/2.153, allocations: 7.227 MB / 0.6612 GB, free: 104.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007754/2.161, allocations: 2.84 MB / 0.664 GB, free: 103.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005072/2.166, allocations: 1.555 MB / 0.6655 GB, free: 102.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.733e-06/2.166, allocations: 0 / 0.6655 GB, free: 102.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.28/6.446, allocations: 79.93 MB / 0.7435 GB, free: 37.26 MB / 458.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