Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000786/0.0007861, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008405/0.0008404, allocations: 184.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.4 MB / 223.1 MB, free: 5.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3079/0.3079, allocations: 43.58 MB / 315 MB, free: 8.941 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005079, allocations: 16 kB / 384.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1045, allocations: 58.86 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2165/0.321, allocations: 27.8 MB / 471.3 MB, free: 32.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.333, allocations: 5.568 MB / 476.9 MB, free: 30.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00603/0.339, allocations: 114 kB / 477 MB, free: 30.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009248/0.34, allocations: 412.2 kB / 477.4 MB, free: 30.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002712/0.3427, allocations: 1.155 MB / 478.6 MB, free: 30.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.343, allocations: 76.09 kB / 478.6 MB, free: 30.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003451/0.3465, allocations: 4.024 MB / 482.7 MB, free: 29.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002494/0.349, allocations: 2.321 MB / 485 MB, free: 28.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.3501, allocations: 0.8447 MB / 485.8 MB, free: 27.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.3514, allocations: 1.418 MB / 487.3 MB, free: 27.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002453/0.3517, allocations: 118.7 kB / 487.4 MB, free: 27.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007974/0.3525, allocations: 412.2 kB / 487.8 MB, free: 27.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000821/0.3533, allocations: 1.332 MB / 489.1 MB, free: 26.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009799/0.3543, allocations: 1.635 MB / 490.7 MB, free: 25.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005073/0.3594, allocations: 5.031 MB / 495.8 MB, free: 24.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.3594, allocations: 1.031 kB / 495.8 MB, free: 24.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.3594, allocations: 0 / 495.8 MB, free: 24.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001822/0.3596, allocations: 1 kB / 495.8 MB, free: 24.27 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.006162/0.3658, allocations: 2.933 MB / 498.7 MB, free: 22.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.3658, allocations: 8.688 kB / 498.7 MB, free: 22.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001394/0.3672, allocations: 0.6704 MB / 499.4 MB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.3781, allocations: 3.03 MB / 0.4906 GB, free: 21.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004289/0.3824, allocations: 1.524 MB / 0.4921 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.3826, allocations: 177 kB / 0.4923 GB, free: 20.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001024/0.3837, allocations: 221.4 kB / 0.4925 GB, free: 20.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/0.3993, allocations: 9.471 MB / 0.5018 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.151e-05/0.3994, allocations: 19.38 kB / 0.5018 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003684/0.3998, allocations: 107.8 kB / 0.5019 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003815/0.4036, allocations: 2.38 MB / 0.5042 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/0.4181, allocations: 8.665 MB / 0.5127 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03894/0.4571, allocations: 29.33 MB / 0.5413 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004858/0.462, allocations: 3.058 MB / 0.5443 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.4633, allocations: 0.9778 MB / 0.5453 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007994/0.4714, allocations: 4.838 MB / 0.55 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.4714, allocations: 39.22 kB / 0.55 GB, free: 1.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 4.729e-06/0.4714, allocations: 5.406 kB / 0.55 GB, free: 1.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.005784/0.4772, allocations: 2.74 MB / 0.5527 GB, free: 14.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.4773, allocations: 64.06 kB / 0.5528 GB, free: 14.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003453/0.4808, allocations: 2.565 MB / 0.5553 GB, free: 11.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.4809, allocations: 33.7 kB / 0.5553 GB, free: 11.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001653/0.4825, allocations: 2.649 MB / 0.5579 GB, free: 8.996 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004852/0.483, allocations: 497.7 kB / 0.5584 GB, free: 8.504 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004642/0.4835, allocations: 391.7 kB / 0.5587 GB, free: 8.113 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4837, allocations: 361.9 kB / 0.5591 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.4856, allocations: 1.355 MB / 0.5604 GB, free: 6.391 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004038/0.4897, allocations: 4.122 MB / 0.5644 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006963/0.4967, allocations: 5.96 MB / 0.5702 GB, free: 9.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.608e-05/0.4968, allocations: 31.94 kB / 0.5703 GB, free: 9.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009426/0.5062, allocations: 5.287 MB / 0.5754 GB, free: 4.215 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.725e-05/0.5063, allocations: 50.5 kB / 0.5755 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/0.5064, allocations: 103.9 kB / 0.5756 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/0.5066, allocations: 128 kB / 0.5757 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/0.5094, allocations: 0.9747 MB / 0.5767 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001516/0.5096, allocations: 187.3 kB / 0.5768 GB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002969/0.5126, allocations: 0.6072 MB / 0.5774 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003602/0.513, allocations: 272 kB / 0.5777 GB, free: 1.902 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (540): * Single equations (assignments): 534 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003363/0.5163, allocations: 1.899 MB / 0.5795 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.5167, allocations: 217.2 kB / 0.5798 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005849/0.5173, allocations: 271.4 kB / 0.58 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/0.5173, allocations: 12 kB / 0.58 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.5173, allocations: 4 kB / 0.58 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.5173, allocations: 3.984 kB / 0.58 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008777/0.5261, allocations: 5.618 MB / 0.5855 GB, free: 9.742 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.5262, allocations: 4 kB / 0.5855 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/0.5267, allocations: 132.4 kB / 0.5856 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.5267, allocations: 8 kB / 0.5857 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.347e-05/0.5268, allocations: 35.97 kB / 0.5857 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.5268, allocations: 11.94 kB / 0.5857 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.5269, allocations: 4 kB / 0.5857 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/0.529, allocations: 1.788 MB / 0.5874 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.5295, allocations: 301.9 kB / 0.5877 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.5297, allocations: 16 kB / 0.5878 GB, free: 7.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005621/0.5302, allocations: 43.94 kB / 0.5878 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.5304, allocations: 64.38 kB / 0.5879 GB, free: 7.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/0.5305, allocations: 39.98 kB / 0.5879 GB, free: 7.211 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002071/0.5325, allocations: 1.564 MB / 0.5894 GB, free: 5.633 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5325, allocations: 0 / 0.5894 GB, free: 5.633 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003217/0.5358, allocations: 1.007 MB / 0.5904 GB, free: 4.621 MB / 462.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00242/0.5382, allocations: 2.439 MB / 0.5928 GB, free: 2.098 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004005/0.5422, allocations: 3.128 MB / 0.5958 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5422, allocations: 4.5 kB / 0.5958 GB, free: 14.99 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008019/0.543, allocations: 0.7374 MB / 0.5966 GB, free: 14.26 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.5452, allocations: 256.5 kB / 0.5968 GB, free: 14.01 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0425/0.5877, allocations: 32.96 MB / 0.629 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003187/0.5909, allocations: 2.962 MB / 0.6319 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003246/0.5942, allocations: 1.484 MB / 0.6333 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00186/0.5961, allocations: 1.522 MB / 0.6348 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.5961, allocations: 0 / 0.6348 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2473/0.8434, allocations: 40.11 MB / 0.674 GB, free: 150 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/0.8435, allocations: 190.3 kB / 0.6742 GB, free: 149.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.789/3.633, allocations: 1.031 kB / 0.6742 GB, free: 149.8 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)