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.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.877/1.877, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004244, allocations: 16 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.334, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.04141/0.3755, allocations: 28.47 MB / 359.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01915/0.3947, allocations: 6.697 MB / 366.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006247/0.401, allocations: 135.7 kB / 366.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005391/0.4064, allocations: 1.404 MB / 368 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01471/0.4212, allocations: 3.706 MB / 371.7 MB, free: 5.992 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.424, allocations: 403.2 kB / 372.1 MB, free: 5.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002693/0.4267, allocations: 0.9802 MB / 373.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008092/0.4349, allocations: 4.006 MB / 377.1 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.436, allocations: 0.5371 MB / 377.6 MB, free: 24 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.4374, allocations: 0.7046 MB / 378.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003388/0.4377, allocations: 96 kB / 378.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.4391, allocations: 0.507 MB / 378.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.4404, allocations: 0.9001 MB / 379.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006796/0.441, allocations: 0.5158 MB / 380.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005495/0.4466, allocations: 3.675 MB / 384 MB, free: 9.605 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4466, allocations: 0 / 384 MB, free: 9.605 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4466, allocations: 3.938 kB / 384 MB, free: 9.602 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001179/0.4468, allocations: 0 / 384 MB, free: 9.602 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.006865/0.4536, allocations: 2.438 MB / 386.4 MB, free: 7.105 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4537, allocations: 8.031 kB / 386.5 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009932/0.4547, allocations: 460.8 kB / 386.9 MB, free: 6.637 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.4566, allocations: 363.9 kB / 387.3 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003252/0.4599, allocations: 1.227 MB / 388.5 MB, free: 5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.4601, allocations: 172.5 kB / 388.7 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005748/0.4607, allocations: 231.9 kB / 388.9 MB, free: 4.602 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01863/0.4793, allocations: 6.109 MB / 395 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.383e-05/0.4794, allocations: 19.88 kB / 395 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003437/0.4798, allocations: 99.92 kB / 395.1 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002584/0.4824, allocations: 0.9652 MB / 396.1 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0177/0.5001, allocations: 4.574 MB / 400.6 MB, free: 8.535 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03431/0.5345, allocations: 18.47 MB / 419.1 MB, free: 5.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007165/0.5417, allocations: 1.277 MB / 420.4 MB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002586/0.5443, allocations: 2.066 MB / 422.5 MB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.5444, allocations: 43.12 kB / 422.5 MB, free: 1.801 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 3.677e-06/0.5444, allocations: 0 / 422.5 MB, free: 1.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=110): time 0.04008/0.5845, allocations: 5.979 MB / 428.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/0.5846, allocations: 94.11 kB / 428.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003506/0.5882, allocations: 1.796 MB / 430.4 MB, free: 9.883 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.5884, allocations: 41.7 kB / 430.4 MB, free: 9.836 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001521/0.5899, allocations: 1.647 MB / 432.1 MB, free: 8.168 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005333/0.5905, allocations: 402.5 kB / 432.5 MB, free: 7.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.5907, allocations: 56 kB / 432.5 MB, free: 7.715 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002754/0.5909, allocations: 432.5 kB / 432.9 MB, free: 7.285 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/0.5931, allocations: 0.7902 MB / 433.7 MB, free: 6.492 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0034/0.5966, allocations: 2.332 MB / 436.1 MB, free: 3.398 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00332/0.5999, allocations: 1.318 MB / 437.4 MB, free: 2.082 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.43e-05/0.6, allocations: 16 kB / 437.4 MB, free: 2.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.007877/0.6079, allocations: 3.052 MB / 440.4 MB, free: 15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.126e-05/0.608, allocations: 28 kB / 440.5 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-05/0.6081, allocations: 56.88 kB / 440.5 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001202/0.6082, allocations: 80 kB / 440.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003884/0.6121, allocations: 0.6433 MB / 441.2 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001306/0.6123, allocations: 107.6 kB / 441.3 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/0.6145, allocations: 123.8 kB / 441.5 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/0.6148, allocations: 156 kB / 441.6 MB, free: 13.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 246 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (358): * Single equations (assignments): 358 * 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.002568/0.6173, allocations: 1.184 MB / 442.8 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.6177, allocations: 173.8 kB / 443 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00337/0.6211, allocations: 1.262 MB / 444.2 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.6211, allocations: 8 kB / 444.2 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.6212, allocations: 8.031 kB / 444.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.6212, allocations: 3.984 kB / 444.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.6355, allocations: 6.447 MB / 450.7 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-05/0.6356, allocations: 20 kB / 450.7 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.6369, allocations: 211.5 kB / 450.9 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.87e-05/0.6369, allocations: 31.94 kB / 451 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.595e-05/0.637, allocations: 48 kB / 451 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.059e-05/0.6371, allocations: 35.86 kB / 451 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.054e-05/0.6371, allocations: 32.02 kB / 451.1 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002874/0.64, allocations: 1.664 MB / 452.7 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005387/0.6406, allocations: 282.7 kB / 453 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/0.6409, allocations: 47.98 kB / 453.1 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.642, allocations: 36 kB / 453.1 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/0.6422, allocations: 139.5 kB / 453.2 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.6424, allocations: 52 kB / 453.3 MB, free: 1.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002539/0.6449, allocations: 1.2 MB / 454.5 MB, free: 240 kB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6449, allocations: 0 / 454.5 MB, free: 240 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.003/0.6479, allocations: 492.1 kB / 455 MB, free: 15.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * 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.003474/0.6514, allocations: 2.293 MB / 457.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004609/0.6561, allocations: 1.813 MB / 459.1 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/0.6561, allocations: 8 kB / 459.1 MB, free: 11.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.6574, allocations: 488.1 kB / 459.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.6591, allocations: 246.2 kB / 459.8 MB, free: 10.63 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02074/0.6799, allocations: 10.17 MB / 470 MB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003434/0.6834, allocations: 2.24 MB / 472.2 MB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002219/0.6856, allocations: 1.058 MB / 473.3 MB, free: 11.79 MB / 410.7 MB Notification: Performance of SimCode: time 3.055e-06/0.6856, allocations: 4 kB / 473.3 MB, free: 11.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.2/3.886, allocations: 42.2 MB / 0.5034 GB, free: 113.1 MB / 410.7 MB