Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.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.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Visualizers_Torus",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.01655/0.01655, allocations: 163.6 kB / 15.12 MB, free: 5.965 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.814/1.814, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001732/0.001732, allocations: 110.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.4497/0.4497, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004763, allocations: 8 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1085, allocations: 48.72 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.4179/0.5265, allocations: 24.92 MB / 436.6 MB, free: 30.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01466/0.5412, allocations: 4.82 MB / 441.4 MB, free: 29.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006545/0.5478, allocations: 108.8 kB / 441.6 MB, free: 29.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00482/0.5527, allocations: 1.261 MB / 442.8 MB, free: 29.55 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01437/0.5671, allocations: 4.059 MB / 446.9 MB, free: 28.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.5687, allocations: 83.61 kB / 447 MB, free: 28.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005426/0.5742, allocations: 3.078 MB / 450 MB, free: 28.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00485/0.5791, allocations: 2.135 MB / 452.2 MB, free: 27.95 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.5813, allocations: 0.8857 MB / 453 MB, free: 27.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002914/0.5843, allocations: 1.381 MB / 454.4 MB, free: 27.56 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008024/0.5851, allocations: 119.8 kB / 454.5 MB, free: 27.56 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.5868, allocations: 379.7 kB / 454.9 MB, free: 27.54 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001983/0.5888, allocations: 1.271 MB / 456.2 MB, free: 27.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.59, allocations: 0.684 MB / 456.9 MB, free: 27.2 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006937/0.5969, allocations: 4.154 MB / 461 MB, free: 26.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.597, allocations: 0.6094 kB / 461 MB, free: 26.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.597, allocations: 3.938 kB / 461 MB, free: 26.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000227/0.5972, allocations: 0 / 461 MB, free: 26.88 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: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.008168/0.6054, allocations: 2.964 MB / 464 MB, free: 25.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.6055, allocations: 9.469 kB / 464 MB, free: 25.28 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002299/0.6078, allocations: 0.6652 MB / 464.7 MB, free: 25.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01803/0.6258, allocations: 3.026 MB / 467.7 MB, free: 23.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005022/0.6309, allocations: 1.495 MB / 469.2 MB, free: 23.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/0.6312, allocations: 176.6 kB / 469.4 MB, free: 23.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/0.6324, allocations: 217.5 kB / 469.6 MB, free: 23.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/0.6547, allocations: 9.442 MB / 479 MB, free: 18.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.523e-05/0.6549, allocations: 18.88 kB / 479 MB, free: 18.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007057/0.6556, allocations: 110.8 kB / 479.1 MB, free: 18.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006658/0.6623, allocations: 2.374 MB / 481.5 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02396/0.6863, allocations: 8.621 MB / 490.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06055/0.7469, allocations: 29.19 MB / 0.5072 GB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008291/0.7553, allocations: 3.045 MB / 0.5101 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002462/0.7578, allocations: 0.9765 MB / 0.5111 GB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02085/0.7787, allocations: 4.839 MB / 0.5158 GB, free: 4.871 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.546e-05/0.7788, allocations: 43.22 kB / 0.5159 GB, free: 4.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=126): time 8.085e-06/0.7788, allocations: 0 / 0.5159 GB, free: 4.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=126): time 0.01775/0.7966, allocations: 2.727 MB / 0.5185 GB, free: 2.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/0.7968, allocations: 60.06 kB / 0.5186 GB, free: 2.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009429/0.8062, allocations: 2.525 MB / 0.521 GB, free: 15.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002927/0.8066, allocations: 37.7 kB / 0.5211 GB, free: 15.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003968/0.8106, allocations: 2.639 MB / 0.5237 GB, free: 12.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001251/0.8119, allocations: 496.5 kB / 0.5241 GB, free: 12.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006826/0.8126, allocations: 84 kB / 0.5242 GB, free: 12.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000956/0.8136, allocations: 0.5476 MB / 0.5247 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006257/0.8199, allocations: 1.336 MB / 0.526 GB, free: 10.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01034/0.8303, allocations: 4.088 MB / 0.53 GB, free: 4.848 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009617/0.84, allocations: 2.339 MB / 0.5323 GB, free: 2.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001469/0.8402, allocations: 28 kB / 0.5324 GB, free: 2.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.02136/0.8616, allocations: 5.226 MB / 0.5375 GB, free: 13.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.851e-05/0.8618, allocations: 48.94 kB / 0.5375 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001621/0.862, allocations: 99.94 kB / 0.5376 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/0.8622, allocations: 144 kB / 0.5377 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005798/0.868, allocations: 0.9708 MB / 0.5387 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002311/0.8683, allocations: 187.3 kB / 0.5389 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004541/0.8728, allocations: 0.6031 MB / 0.5395 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000866/0.8737, allocations: 270.3 kB / 0.5397 GB, free: 10.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 443 * Number of states: 0 () * Number of discrete variables: 18 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (537): * Single equations (assignments): 531 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005219/0.879, allocations: 1.888 MB / 0.5416 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005266/0.8795, allocations: 217.1 kB / 0.5418 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008264/0.8804, allocations: 271.1 kB / 0.542 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.557e-05/0.8804, allocations: 22.44 kB / 0.542 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.8804, allocations: 0 / 0.542 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.8805, allocations: 3.984 kB / 0.542 GB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02207/0.9025, allocations: 5.597 MB / 0.5475 GB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.9026, allocations: 4 kB / 0.5475 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.9039, allocations: 135.8 kB / 0.5476 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.986e-05/0.9039, allocations: 8 kB / 0.5476 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/0.9041, allocations: 27.94 kB / 0.5477 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.708e-05/0.9041, allocations: 11.94 kB / 0.5477 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.9041, allocations: 7.75 kB / 0.5477 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003845/0.908, allocations: 1.783 MB / 0.5494 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008485/0.9089, allocations: 294 kB / 0.5497 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004618/0.9094, allocations: 20 kB / 0.5497 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.9106, allocations: 43.91 kB / 0.5498 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.9108, allocations: 56.44 kB / 0.5498 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.9109, allocations: 46.36 kB / 0.5499 GB, free: 320 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004362/0.9153, allocations: 1.528 MB / 0.5514 GB, free: 14.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.9153, allocations: 0 / 0.5514 GB, free: 14.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005536/0.9209, allocations: 1.006 MB / 0.5523 GB, free: 13.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 72 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004563/0.9255, allocations: 2.403 MB / 0.5547 GB, free: 11.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007809/0.9334, allocations: 3.103 MB / 0.5577 GB, free: 8.203 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/0.9334, allocations: 4 kB / 0.5577 GB, free: 8.199 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001738/0.9352, allocations: 0.7311 MB / 0.5584 GB, free: 7.469 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.9375, allocations: 258.5 kB / 0.5587 GB, free: 7.223 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.338/1.276, allocations: 21.23 MB / 0.5794 GB, free: 131.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006869/1.282, allocations: 3.024 MB / 0.5824 GB, free: 130.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006261/1.289, allocations: 1.486 MB / 0.5838 GB, free: 130.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003393/1.292, allocations: 1.51 MB / 0.5853 GB, free: 130.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/1.292, allocations: 0 / 0.5853 GB, free: 130.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.118/1.41, allocations: 48.12 MB / 0.6323 GB, free: 107.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/1.411, allocations: 180.2 kB / 0.6325 GB, free: 107.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.294/5.704, allocations: 4 kB / 0.6325 GB, free: 107.5 MB / 426.7 MB