Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointSSP",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.01307/0.01307, allocations: 163.6 kB / 15.12 MB, free: 5.953 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.726/1.726, 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.001729/0.001729, allocations: 102.8 kB / 226.2 MB, free: 10.1 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.4422/0.4422, allocations: 38.06 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004689, allocations: 16 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1033, allocations: 48.72 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.3574/0.4607, allocations: 30.11 MB / 441.8 MB, free: 30.12 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01646/0.4773, allocations: 6.43 MB / 448.2 MB, free: 29.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005706/0.483, allocations: 131.9 kB / 448.4 MB, free: 29.1 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004616/0.4877, allocations: 1.417 MB / 449.8 MB, free: 28.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01479/0.5025, allocations: 4.65 MB / 454.4 MB, free: 27.78 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002641/0.5052, allocations: 409 kB / 454.8 MB, free: 27.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003166/0.5084, allocations: 2.156 MB / 457 MB, free: 27.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006682/0.5151, allocations: 4.046 MB / 461 MB, free: 25.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.5163, allocations: 0.6546 MB / 461.7 MB, free: 25.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.5179, allocations: 1.04 MB / 462.7 MB, free: 25.47 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003283/0.5183, allocations: 92.56 kB / 462.8 MB, free: 25.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.5198, allocations: 0.5158 MB / 463.3 MB, free: 25.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.5211, allocations: 0.9782 MB / 464.3 MB, free: 25.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006041/0.5217, allocations: 0.5146 MB / 464.8 MB, free: 24.71 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005736/0.5275, allocations: 3.679 MB / 468.5 MB, free: 24.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.5275, allocations: 0 / 468.5 MB, free: 24.08 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5276, allocations: 3.094 kB / 468.5 MB, free: 24.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001752/0.5277, allocations: 0 / 468.5 MB, free: 24.08 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.007164/0.5349, allocations: 2.442 MB / 471 MB, free: 22.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.535, allocations: 8.781 kB / 471 MB, free: 22.54 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001214/0.5362, allocations: 459.8 kB / 471.4 MB, free: 22.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.5382, allocations: 354.4 kB / 471.8 MB, free: 22.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/0.5417, allocations: 1.224 MB / 473 MB, free: 21.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.5419, allocations: 177.3 kB / 473.2 MB, free: 21.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006956/0.5426, allocations: 230.2 kB / 473.4 MB, free: 21.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01854/0.5612, allocations: 6.022 MB / 479.4 MB, free: 17.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-05/0.5613, allocations: 13.72 kB / 479.4 MB, free: 17.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003876/0.5617, allocations: 108.5 kB / 479.5 MB, free: 17.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00267/0.5644, allocations: 0.9522 MB / 480.5 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01745/0.5819, allocations: 4.49 MB / 485 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03536/0.6173, allocations: 18.59 MB / 0.4918 GB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007575/0.625, allocations: 1.342 MB / 0.4931 GB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.6262, allocations: 423.3 kB / 0.4935 GB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00274/0.629, allocations: 2.052 MB / 0.4955 GB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/0.6291, allocations: 47.06 kB / 0.4955 GB, free: 11.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=69): time 3.216e-06/0.6291, allocations: 4 kB / 0.4955 GB, free: 11.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=117): time 0.04185/0.6709, allocations: 6.075 MB / 0.5015 GB, free: 5.371 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/0.6711, allocations: 90.11 kB / 0.5015 GB, free: 5.262 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003709/0.6748, allocations: 1.792 MB / 0.5033 GB, free: 3.465 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002593/0.6751, allocations: 45.7 kB / 0.5033 GB, free: 3.414 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001703/0.6768, allocations: 1.632 MB / 0.5049 GB, free: 1.777 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006711/0.6775, allocations: 438.4 kB / 0.5054 GB, free: 1.352 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.6778, allocations: 56 kB / 0.5054 GB, free: 1.297 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002989/0.6781, allocations: 415.8 kB / 0.5058 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002312/0.6804, allocations: 0.8058 MB / 0.5066 GB, free: 80 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003637/0.684, allocations: 2.333 MB / 0.5089 GB, free: 12.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003568/0.6877, allocations: 1.342 MB / 0.5102 GB, free: 11.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.923e-05/0.6877, allocations: 16 kB / 0.5102 GB, free: 11.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.00876/0.6965, allocations: 3.133 MB / 0.5133 GB, free: 8.492 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.6966, allocations: 28 kB / 0.5133 GB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.72e-05/0.6967, allocations: 52 kB / 0.5133 GB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001274/0.6969, allocations: 88.02 kB / 0.5134 GB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004183/0.701, allocations: 0.6395 MB / 0.514 GB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001489/0.7012, allocations: 107.6 kB / 0.5141 GB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/0.7042, allocations: 119.8 kB / 0.5143 GB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004977/0.7048, allocations: 156 kB / 0.5144 GB, free: 7.312 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * 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 (359): * Single equations (assignments): 359 * 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.004019/0.7088, allocations: 1.2 MB / 0.5156 GB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005866/0.7094, allocations: 173.8 kB / 0.5157 GB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005021/0.7144, allocations: 1.328 MB / 0.517 GB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/0.7145, allocations: 12 kB / 0.5171 GB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.7145, allocations: 0 / 0.5171 GB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/0.7146, allocations: 3.984 kB / 0.5171 GB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0225/0.7371, allocations: 6.849 MB / 0.5237 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.926e-05/0.7372, allocations: 27.94 kB / 0.5238 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/0.739, allocations: 223.6 kB / 0.524 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.365e-05/0.7391, allocations: 32 kB / 0.524 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/0.7393, allocations: 51.98 kB / 0.5241 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.979e-05/0.7393, allocations: 39.86 kB / 0.5241 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.508e-05/0.7394, allocations: 35.81 kB / 0.5241 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004283/0.7437, allocations: 1.782 MB / 0.5259 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009371/0.7447, allocations: 278.8 kB / 0.5261 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004742/0.7452, allocations: 55.98 kB / 0.5262 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/0.7471, allocations: 39.98 kB / 0.5262 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003366/0.7474, allocations: 139.4 kB / 0.5264 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/0.7476, allocations: 63.94 kB / 0.5264 GB, free: 10.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003982/0.7516, allocations: 1.212 MB / 0.5276 GB, free: 9.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.7517, allocations: 0 / 0.5276 GB, free: 9.047 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005474/0.7571, allocations: 500 kB / 0.5281 GB, free: 8.559 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 97 * 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 (116): * Single equations (assignments): 116 * 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.005403/0.7626, allocations: 2.392 MB / 0.5304 GB, free: 5.848 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01487/0.7775, allocations: 1.854 MB / 0.5322 GB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.958e-05/0.7776, allocations: 4 kB / 0.5322 GB, free: 4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004492/0.7821, allocations: 0.5188 MB / 0.5327 GB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/0.7848, allocations: 281.6 kB / 0.533 GB, free: 3.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.042/0.8268, allocations: 15.79 MB / 0.5484 GB, free: 1.648 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003744/0.8306, allocations: 2.244 MB / 0.5506 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003569/0.8342, allocations: 0.7229 MB / 0.5513 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002426/0.8367, allocations: 1.042 MB / 0.5524 GB, free: 13.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.8367, allocations: 3.938 kB / 0.5524 GB, free: 13.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4594/1.296, allocations: 37.4 MB / 0.5889 GB, free: 124.5 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/1.296, allocations: 176.9 kB / 0.589 GB, free: 124.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.218/5.514, allocations: 0 / 0.589 GB, free: 124.2 MB / 426.7 MB