Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.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.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_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.01412/0.01413, allocations: 165.2 kB / 15.12 MB, free: 5.957 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.734/1.734, allocations: 170.8 MB / 186.7 MB, free: 1.105 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.002404/0.002404, allocations: 102.8 kB / 226.2 MB, free: 10.08 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.4347/0.4347, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004662, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1042, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3599/0.4641, allocations: 50.73 MB / 462.4 MB, free: 21.36 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03173/0.4959, allocations: 11.3 MB / 473.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0113/0.5072, allocations: 238.5 kB / 474 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008612/0.5159, allocations: 2.458 MB / 476.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02861/0.5446, allocations: 8.608 MB / 485 MB, free: 9.137 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005821/0.5505, allocations: 1.087 MB / 486.1 MB, free: 8.734 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.04651/0.597, allocations: 19.84 MB / 0.4941 GB, free: 14.2 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02423/0.6213, allocations: 7.039 MB / 0.501 GB, free: 7.113 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008259/0.6296, allocations: 2.113 MB / 0.503 GB, free: 4.992 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01252/0.6422, allocations: 3.505 MB / 0.5065 GB, free: 1.477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002744/0.645, allocations: 264 kB / 0.5067 GB, free: 1.219 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007774/0.6529, allocations: 1.33 MB / 0.508 GB, free: 15.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00776/0.6607, allocations: 2.902 MB / 0.5108 GB, free: 12.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004463/0.6652, allocations: 1.376 MB / 0.5122 GB, free: 11.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02244/0.6877, allocations: 9.655 MB / 0.5216 GB, free: 1.914 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.6878, allocations: 4 kB / 0.5216 GB, free: 1.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.6878, allocations: 0 / 0.5216 GB, free: 1.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004117/0.6883, allocations: 0 / 0.5216 GB, free: 1.91 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02366/0.7119, allocations: 6.68 MB / 0.5281 GB, free: 11.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.712, allocations: 8.031 kB / 0.5282 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004793/0.7168, allocations: 1.307 MB / 0.5294 GB, free: 9.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05671/0.7736, allocations: 5.817 MB / 0.5351 GB, free: 3.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/0.7916, allocations: 5.492 MB / 0.5405 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005614/0.7922, allocations: 402.5 kB / 0.5409 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002861/0.7951, allocations: 0.558 MB / 0.5414 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05572/0.8509, allocations: 18.82 MB / 0.5598 GB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002964/0.8512, allocations: 67.36 kB / 0.5599 GB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001744/0.853, allocations: 251.8 kB / 0.5601 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009392/0.8624, allocations: 3.42 MB / 0.5634 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05723/0.9197, allocations: 16.48 MB / 0.5795 GB, free: 5.367 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4251/1.345, allocations: 66.69 MB / 0.6447 GB, free: 76.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02781/1.373, allocations: 6.271 MB / 0.6508 GB, free: 74.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007037/1.38, allocations: 2.852 MB / 0.6536 GB, free: 72.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03883/1.419, allocations: 13.91 MB / 0.6672 GB, free: 64.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.379e-05/1.419, allocations: 59.09 kB / 0.6672 GB, free: 64.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 7.233e-06/1.419, allocations: 4 kB / 0.6672 GB, free: 64.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=354): time 0.1907/1.609, allocations: 26.53 MB / 0.6931 GB, free: 42.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/1.61, allocations: 188.3 kB / 0.6933 GB, free: 42.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01181/1.621, allocations: 5.903 MB / 0.6991 GB, free: 36.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007112/1.622, allocations: 77.06 kB / 0.6991 GB, free: 36.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003812/1.626, allocations: 4.963 MB / 0.704 GB, free: 31.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001818/1.628, allocations: 1.308 MB / 0.7053 GB, free: 30.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009689/1.629, allocations: 190.5 kB / 0.7054 GB, free: 30.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005877/1.63, allocations: 0.703 MB / 0.7061 GB, free: 29.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008347/1.638, allocations: 3.352 MB / 0.7094 GB, free: 25.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01161/1.65, allocations: 8.798 MB / 0.718 GB, free: 14.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01219/1.662, allocations: 5.337 MB / 0.7232 GB, free: 9.156 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001472/1.662, allocations: 54.81 kB / 0.7233 GB, free: 9.105 MB / 426.7 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.03966/1.702, allocations: 12.98 MB / 0.7359 GB, free: 12.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001761/1.702, allocations: 90.34 kB / 0.736 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003611/1.702, allocations: 192 kB / 0.7362 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008613/1.711, allocations: 1.434 MB / 0.7376 GB, free: 10.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01381/1.725, allocations: 2.156 MB / 0.7397 GB, free: 8.211 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/1.747, allocations: 7.739 MB / 0.7473 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.57/2.317, allocations: 0.4963 MB / 0.7478 GB, free: 124.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00204/2.319, allocations: 0.5423 MB / 0.7483 GB, free: 124.4 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[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],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1152): * Single equations (assignments): 1145 * Array equations: 6 * 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 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00968/2.329, allocations: 3.449 MB / 0.7517 GB, free: 124.2 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001449/2.331, allocations: 0.5296 MB / 0.7522 GB, free: 124.2 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02141/2.352, allocations: 5.745 MB / 0.7578 GB, free: 123.5 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001075/2.352, allocations: 40.47 kB / 0.7578 GB, free: 123.5 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/2.352, allocations: 10.09 kB / 0.7578 GB, free: 123.5 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.95e-05/2.352, allocations: 16.92 kB / 0.7578 GB, free: 123.5 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04657/2.399, allocations: 14.68 MB / 0.7722 GB, free: 117.9 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.693e-05/2.399, allocations: 17.02 kB / 0.7722 GB, free: 117.9 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00444/2.403, allocations: 0.5193 MB / 0.7727 GB, free: 117.8 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005881/2.409, allocations: 0.7616 MB / 0.7735 GB, free: 117.7 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006236/2.41, allocations: 78.08 kB / 0.7735 GB, free: 117.6 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01378/2.424, allocations: 5.086 MB / 0.7785 GB, free: 114.8 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.459e-05/2.424, allocations: 25.41 kB / 0.7785 GB, free: 114.8 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0256/2.449, allocations: 8.366 MB / 0.7867 GB, free: 111.2 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003772/2.453, allocations: 0.9518 MB / 0.7876 GB, free: 110.7 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001714/2.455, allocations: 71.06 kB / 0.7877 GB, free: 110.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004495/2.46, allocations: 140.6 kB / 0.7878 GB, free: 110.6 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009588/2.461, allocations: 235.2 kB / 0.788 GB, free: 110.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000323/2.461, allocations: 109.4 kB / 0.7881 GB, free: 110.5 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.009821/2.471, allocations: 3.668 MB / 0.7917 GB, free: 109.3 MB / 442.8 MB Notification: Performance of sort global known variables: time 6.11e-07/2.471, allocations: 0 / 0.7917 GB, free: 109.3 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0105/2.481, allocations: 1.627 MB / 0.7933 GB, free: 109.2 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 66 * Number of states: 2 (j2.s,j2.v) * 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 (280): * Single equations (assignments): 273 * Array equations: 6 * 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 {(2,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02414/2.505, allocations: 9.114 MB / 0.8022 GB, free: 104.6 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01868/2.524, allocations: 7.863 MB / 0.8099 GB, free: 98.71 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-05/2.524, allocations: 0 / 0.8099 GB, free: 98.71 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006147/2.53, allocations: 2.378 MB / 0.8122 GB, free: 96.59 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007189/2.538, allocations: 0.6914 MB / 0.8129 GB, free: 96 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.131/2.669, allocations: 58.74 MB / 0.8703 GB, free: 32.15 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0108/2.68, allocations: 5.325 MB / 0.8755 GB, free: 26.78 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.01316/2.693, allocations: 2.982 MB / 0.8784 GB, free: 23.79 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007612/2.7, allocations: 3.338 MB / 0.8816 GB, free: 20.45 MB / 442.8 MB Notification: Performance of SimCode: time 2.775e-06/2.701, allocations: 0 / 0.8816 GB, free: 20.45 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6077/3.308, allocations: 125.1 MB / 1.004 GB, free: 74.43 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003106/3.309, allocations: 204.9 kB / 1.004 GB, free: 74.19 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/11, allocations: 13.02 kB / 1.004 GB, free: 74.18 MB / 458.8 MB