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.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.055/2.055, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005972/0.0005977, allocations: 8 kB / 282.7 MB, free: 9.566 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3501, allocations: 48.71 MB / 331.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.5161, allocations: 93.53 MB / 424.9 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.5165, allocations: 79.95 kB / 425 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5066/1.023, allocations: 56.25 MB / 481.2 MB, free: 95.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.018e-06/1.023, allocations: 1.219 kB / 481.2 MB, free: 95.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000185/1.023, allocations: 52.52 kB / 481.3 MB, free: 95.95 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01273/1.036, allocations: 2.696 MB / 484 MB, free: 94.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/1.036, allocations: 8.344 kB / 484 MB, free: 94.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002696/1.039, allocations: 491.9 kB / 484.5 MB, free: 94.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005151/1.044, allocations: 482.5 kB / 484.9 MB, free: 94.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00575/1.05, allocations: 1.548 MB / 486.5 MB, free: 94.1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/1.05, allocations: 213.3 kB / 486.7 MB, free: 94.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001546/1.052, allocations: 278.5 kB / 487 MB, free: 94.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/1.077, allocations: 6.7 MB / 493.7 MB, free: 93.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/1.077, allocations: 11.78 kB / 493.7 MB, free: 93.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005685/1.077, allocations: 126.4 kB / 493.8 MB, free: 93.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001299/1.079, allocations: 0.5252 MB / 494.3 MB, free: 93.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02081/1.099, allocations: 5.53 MB / 499.8 MB, free: 92.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03877/1.138, allocations: 21.3 MB / 0.5089 GB, free: 78.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/1.151, allocations: 1.805 MB / 0.5107 GB, free: 77.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008825/1.159, allocations: 4.9 MB / 0.5155 GB, free: 74.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/1.16, allocations: 42.34 kB / 0.5155 GB, free: 74.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=70): time 2.815e-06/1.16, allocations: 0 / 0.5155 GB, free: 74.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=110): time 0.08332/1.243, allocations: 10.08 MB / 0.5254 GB, free: 68.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/1.243, allocations: 94.06 kB / 0.5255 GB, free: 68.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/1.246, allocations: 1.722 MB / 0.5271 GB, free: 67.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002865/1.247, allocations: 41.7 kB / 0.5272 GB, free: 67.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/1.248, allocations: 1.665 MB / 0.5288 GB, free: 65.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005492/1.248, allocations: 410.3 kB / 0.5292 GB, free: 65 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/1.249, allocations: 60 kB / 0.5293 GB, free: 64.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/1.249, allocations: 424.9 kB / 0.5297 GB, free: 64.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002456/1.251, allocations: 1.021 MB / 0.5307 GB, free: 63.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003046/1.254, allocations: 2.623 MB / 0.5332 GB, free: 60.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00341/1.258, allocations: 1.572 MB / 0.5348 GB, free: 58.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.158e-05/1.258, allocations: 16 kB / 0.5348 GB, free: 58.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.007908/1.266, allocations: 3.576 MB / 0.5383 GB, free: 54.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/1.266, allocations: 28 kB / 0.5383 GB, free: 54.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.387e-05/1.266, allocations: 56 kB / 0.5383 GB, free: 54.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.699e-05/1.266, allocations: 84 kB / 0.5384 GB, free: 54.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004374/1.27, allocations: 0.7252 MB / 0.5391 GB, free: 54.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-05/1.271, allocations: 111.6 kB / 0.5392 GB, free: 53.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002698/1.273, allocations: 167.8 kB / 0.5394 GB, free: 53.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/1.274, allocations: 164 kB / 0.5396 GB, free: 53.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (371): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002455/1.276, allocations: 1.2 MB / 0.5407 GB, free: 52.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003777/1.276, allocations: 177.7 kB / 0.5409 GB, free: 52.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004058/1.281, allocations: 1.727 MB / 0.5426 GB, free: 50.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/1.281, allocations: 8 kB / 0.5426 GB, free: 50.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.281, allocations: 3.312 kB / 0.5426 GB, free: 50.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/1.281, allocations: 7.984 kB / 0.5426 GB, free: 50.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/1.292, allocations: 5.898 MB / 0.5484 GB, free: 44.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/1.293, allocations: 12.19 kB / 0.5484 GB, free: 44.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/1.294, allocations: 247.6 kB / 0.5486 GB, free: 44.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-05/1.294, allocations: 20 kB / 0.5486 GB, free: 44.03 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.632e-05/1.294, allocations: 39.92 kB / 0.5487 GB, free: 43.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-05/1.294, allocations: 19.94 kB / 0.5487 GB, free: 43.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.381e-05/1.294, allocations: 15.94 kB / 0.5487 GB, free: 43.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/1.298, allocations: 2.648 MB / 0.5513 GB, free: 40.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005257/1.298, allocations: 270.7 kB / 0.5515 GB, free: 40.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/1.298, allocations: 36 kB / 0.5516 GB, free: 40.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/1.3, allocations: 55.94 kB / 0.5516 GB, free: 40.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/1.3, allocations: 112.1 kB / 0.5517 GB, free: 40.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.822e-05/1.3, allocations: 40 kB / 0.5518 GB, free: 40.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002356/1.302, allocations: 1.26 MB / 0.553 GB, free: 38.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.302, allocations: 0 / 0.553 GB, free: 38.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003082/1.305, allocations: 0.539 MB / 0.5535 GB, free: 38.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * 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 (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004084/1.31, allocations: 6.538 MB / 0.5599 GB, free: 31.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004824/1.314, allocations: 2.247 MB / 0.5621 GB, free: 29.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.314, allocations: 4 kB / 0.5621 GB, free: 29.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/1.316, allocations: 0.607 MB / 0.5627 GB, free: 28.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/1.317, allocations: 229.6 kB / 0.5629 GB, free: 28.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02794/1.345, allocations: 48.52 MB / 0.6103 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003292/1.349, allocations: 2.229 MB / 0.6125 GB, free: 7.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002533/1.351, allocations: 1.062 MB / 0.6135 GB, free: 6.867 MB / 426.7 MB Notification: Performance of SimCode: time 1.213e-06/1.351, allocations: 0 / 0.6135 GB, free: 6.867 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.708/5.059, allocations: 45.05 MB / 0.6575 GB, free: 109.3 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat