Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01423/0.01423, allocations: 161.8 kB / 15.11 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.701/1.701, allocations: 170.8 MB / 186.7 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001785/0.001784, allocations: 106.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4209/0.4209, allocations: 38.04 MB / 303.7 MB, free: 42.49 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005434/0.0005436, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.106, allocations: 48.72 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.3276/0.4336, allocations: 30.15 MB / 441.9 MB, free: 30.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0177/0.4514, allocations: 6.644 MB / 448.5 MB, free: 29.2 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00645/0.4579, allocations: 130.9 kB / 448.6 MB, free: 29.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004969/0.4629, allocations: 1.425 MB / 450.1 MB, free: 28.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01484/0.4778, allocations: 4.646 MB / 454.7 MB, free: 27.85 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003254/0.4811, allocations: 0.548 MB / 455.2 MB, free: 27.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003555/0.4847, allocations: 2.231 MB / 457.5 MB, free: 27.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007161/0.4919, allocations: 4.065 MB / 461.5 MB, free: 25.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.4933, allocations: 0.6807 MB / 462.2 MB, free: 25.63 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.4953, allocations: 1.074 MB / 463.3 MB, free: 25.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003796/0.4957, allocations: 98.97 kB / 463.4 MB, free: 25.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.4977, allocations: 0.7419 MB / 464.1 MB, free: 25.19 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.4991, allocations: 0.9736 MB / 465.1 MB, free: 24.9 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006275/0.4997, allocations: 0.515 MB / 465.6 MB, free: 24.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00615/0.5059, allocations: 3.861 MB / 469.5 MB, free: 23.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.506, allocations: 0 / 469.5 MB, free: 23.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.078e-06/0.506, allocations: 4 kB / 469.5 MB, free: 23.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001963/0.5062, allocations: 3.938 kB / 469.5 MB, free: 23.75 MB / 330.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.01205/0.5183, allocations: 2.589 MB / 472.1 MB, free: 21.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.5184, allocations: 13.12 kB / 472.1 MB, free: 21.91 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002026/0.5204, allocations: 464.7 kB / 472.6 MB, free: 21.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003349/0.5238, allocations: 361.1 kB / 472.9 MB, free: 21.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005472/0.5293, allocations: 1.27 MB / 474.2 MB, free: 20.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000274/0.5297, allocations: 170.8 kB / 474.3 MB, free: 20.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.5309, allocations: 238.6 kB / 474.6 MB, free: 20.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03308/0.564, allocations: 6.895 MB / 481.5 MB, free: 16.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/0.5643, allocations: 16.69 kB / 481.5 MB, free: 16.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008668/0.5651, allocations: 102.9 kB / 481.6 MB, free: 16.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003765/0.5689, allocations: 0.9874 MB / 482.6 MB, free: 16.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02731/0.5963, allocations: 5.672 MB / 488.2 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05644/0.6528, allocations: 20.39 MB / 0.4967 GB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02056/0.6734, allocations: 1.823 MB / 0.4985 GB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003115/0.6766, allocations: 0.7181 MB / 0.4992 GB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01777/0.6944, allocations: 5.087 MB / 0.5042 GB, free: 2.605 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.6945, allocations: 39.22 kB / 0.5042 GB, free: 2.559 MB / 346.7 MB Notification: Performance of pre-optimization done (n=73): time 3.316e-06/0.6946, allocations: 0 / 0.5042 GB, free: 2.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=119): time 0.09381/0.7884, allocations: 10.29 MB / 0.5142 GB, free: 8.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.562e-05/0.7885, allocations: 90.11 kB / 0.5143 GB, free: 8.148 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004024/0.7926, allocations: 1.937 MB / 0.5162 GB, free: 6.211 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002961/0.7929, allocations: 41.7 kB / 0.5163 GB, free: 6.164 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.7945, allocations: 1.652 MB / 0.5179 GB, free: 4.488 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006648/0.7952, allocations: 442.1 kB / 0.5183 GB, free: 4.051 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.7954, allocations: 60 kB / 0.5184 GB, free: 3.992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002957/0.7958, allocations: 431.9 kB / 0.5188 GB, free: 3.562 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003158/0.7989, allocations: 1.13 MB / 0.5199 GB, free: 2.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004795/0.8038, allocations: 2.714 MB / 0.5225 GB, free: 14.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004367/0.8082, allocations: 1.677 MB / 0.5242 GB, free: 13.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.609e-05/0.8083, allocations: 16 kB / 0.5242 GB, free: 13.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01069/0.819, allocations: 3.84 MB / 0.5279 GB, free: 9.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.124e-05/0.8191, allocations: 32.25 kB / 0.528 GB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.291e-05/0.8192, allocations: 56 kB / 0.528 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/0.8193, allocations: 84 kB / 0.5281 GB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005/0.8243, allocations: 0.7018 MB / 0.5288 GB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001517/0.8245, allocations: 111.6 kB / 0.5289 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/0.8277, allocations: 147.9 kB / 0.529 GB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003913/0.8281, allocations: 164 kB / 0.5292 GB, free: 8.109 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * 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 (373): * Single equations (assignments): 373 * 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.002989/0.8311, allocations: 1.203 MB / 0.5304 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004734/0.8316, allocations: 185.6 kB / 0.5305 GB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005278/0.8369, allocations: 1.989 MB / 0.5325 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.8369, allocations: 12 kB / 0.5325 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.8369, allocations: 8 kB / 0.5325 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/0.837, allocations: 7.969 kB / 0.5325 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/0.8531, allocations: 6.255 MB / 0.5386 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/0.8532, allocations: 12 kB / 0.5386 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/0.8549, allocations: 231.6 kB / 0.5388 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-05/0.855, allocations: 20 kB / 0.5389 GB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.8551, allocations: 40 kB / 0.5389 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.18e-05/0.8551, allocations: 27.92 kB / 0.5389 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.688e-05/0.8552, allocations: 27.83 kB / 0.5389 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003488/0.8587, allocations: 1.803 MB / 0.5407 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006694/0.8594, allocations: 274.7 kB / 0.541 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003465/0.8597, allocations: 39.98 kB / 0.541 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.861, allocations: 43.98 kB / 0.5411 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.8612, allocations: 120.1 kB / 0.5412 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.8613, allocations: 44 kB / 0.5412 GB, free: 11.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002987/0.8643, allocations: 1.272 MB / 0.5425 GB, free: 9.938 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.122e-06/0.8644, allocations: 0 / 0.5425 GB, free: 9.938 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003842/0.8682, allocations: 0.5352 MB / 0.543 GB, free: 9.402 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * 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 (120): * Single equations (assignments): 120 * 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.004631/0.8729, allocations: 2.446 MB / 0.5454 GB, free: 6.742 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006514/0.8795, allocations: 2.376 MB / 0.5477 GB, free: 4.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/0.8796, allocations: 7.938 kB / 0.5477 GB, free: 4.371 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.8812, allocations: 0.6342 MB / 0.5483 GB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.8835, allocations: 250.4 kB / 0.5485 GB, free: 3.492 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04563/0.9292, allocations: 17.24 MB / 0.5654 GB, free: 500 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003459/0.9327, allocations: 2.243 MB / 0.5676 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003951/0.9367, allocations: 0.782 MB / 0.5683 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002788/0.9395, allocations: 1.058 MB / 0.5694 GB, free: 12.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.303e-06/0.9395, allocations: 4 kB / 0.5694 GB, free: 12.37 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.483/1.423, allocations: 41.76 MB / 0.6101 GB, free: 124.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/1.423, allocations: 177.3 kB / 0.6103 GB, free: 124.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.324/5.747, allocations: 0 / 0.6103 GB, free: 124.4 MB / 426.7 MB