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.004961/0.004961, allocations: 101.1 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 193.6 kB / 16.79 MB, free: 6.238 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.243/1.243, allocations: 205.1 MB / 222.6 MB, free: 4.727 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.2881/0.2881, allocations: 43.5 MB / 313.5 MB, free: 8.531 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.001434/0.001435, allocations: 66.56 kB / 382.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1163, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2011/0.3174, allocations: 28.71 MB / 468.6 MB, free: 33.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.3278, allocations: 5.603 MB / 474.2 MB, free: 31.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006685/0.3345, allocations: 113.8 kB / 474.3 MB, free: 31.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0026/0.3372, allocations: 1.273 MB / 475.6 MB, free: 30.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002772/0.34, allocations: 1.153 MB / 476.8 MB, free: 30.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.3404, allocations: 70.48 kB / 476.8 MB, free: 30.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00362/0.344, allocations: 4.036 MB / 480.9 MB, free: 28.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/0.3463, allocations: 1.837 MB / 482.7 MB, free: 28.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/0.3476, allocations: 0.917 MB / 483.6 MB, free: 27.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.3493, allocations: 1.528 MB / 485.1 MB, free: 27.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004227/0.3497, allocations: 153.8 kB / 485.3 MB, free: 27.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009657/0.3507, allocations: 452.7 kB / 485.7 MB, free: 27.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.3518, allocations: 1.37 MB / 487.1 MB, free: 26.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.3533, allocations: 1.671 MB / 488.8 MB, free: 25.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00563/0.3589, allocations: 5.14 MB / 493.9 MB, free: 23.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.359, allocations: 0.5625 kB / 493.9 MB, free: 23.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.359, allocations: 1.062 kB / 493.9 MB, free: 23.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001626/0.3591, allocations: 3.938 kB / 493.9 MB, free: 23.82 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.007033/0.3662, allocations: 3.609 MB / 497.5 MB, free: 21.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3662, allocations: 10.45 kB / 497.5 MB, free: 21.58 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001116/0.3674, allocations: 0.6758 MB / 498.2 MB, free: 21.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009817/0.3772, allocations: 2.935 MB / 0.4894 GB, free: 20.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003143/0.3804, allocations: 1.533 MB / 0.4909 GB, free: 20 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.3805, allocations: 169.1 kB / 0.4911 GB, free: 19.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005042/0.381, allocations: 229 kB / 0.4913 GB, free: 19.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.3993, allocations: 9.482 MB / 0.5005 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.589e-05/0.3994, allocations: 15.84 kB / 0.5006 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000348/0.3998, allocations: 108.6 kB / 0.5007 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003266/0.4031, allocations: 2.375 MB / 0.503 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.4175, allocations: 8.666 MB / 0.5114 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03626/0.4538, allocations: 29.28 MB / 0.54 GB, free: 9.578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004592/0.4584, allocations: 3.059 MB / 0.543 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.4596, allocations: 0.9894 MB / 0.544 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007802/0.4675, allocations: 4.849 MB / 0.5487 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.4675, allocations: 39.22 kB / 0.5488 GB, free: 168 kB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 6.111e-06/0.4676, allocations: 0 / 0.5488 GB, free: 168 kB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.005756/0.4733, allocations: 2.736 MB / 0.5514 GB, free: 13.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.4734, allocations: 64.06 kB / 0.5515 GB, free: 13.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003718/0.4771, allocations: 2.565 MB / 0.554 GB, free: 10.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.4773, allocations: 37.7 kB / 0.554 GB, free: 10.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002031/0.4793, allocations: 2.645 MB / 0.5566 GB, free: 8.027 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007546/0.4801, allocations: 0.4977 MB / 0.5571 GB, free: 7.523 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/0.4813, allocations: 0.8967 MB / 0.558 GB, free: 6.613 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4814, allocations: 361.8 kB / 0.5583 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.4834, allocations: 1.359 MB / 0.5597 GB, free: 4.887 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00374/0.4872, allocations: 4.118 MB / 0.5637 GB, free: 15.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006276/0.4935, allocations: 5.964 MB / 0.5695 GB, free: 8.035 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.579e-05/0.4936, allocations: 28 kB / 0.5695 GB, free: 8.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007766/0.5013, allocations: 5.283 MB / 0.5747 GB, free: 2.719 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.879e-05/0.5014, allocations: 48 kB / 0.5747 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.905e-05/0.5015, allocations: 96 kB / 0.5748 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001026/0.5016, allocations: 128 kB / 0.5749 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/0.5041, allocations: 0.9786 MB / 0.5759 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001289/0.5042, allocations: 194.2 kB / 0.5761 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/0.5068, allocations: 0.5992 MB / 0.5767 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003218/0.5072, allocations: 288 kB / 0.577 GB, free: 408 kB / 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.002698/0.5099, allocations: 1.887 MB / 0.5788 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.5102, allocations: 213.2 kB / 0.579 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.5106, allocations: 267.4 kB / 0.5793 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/0.5106, allocations: 16 kB / 0.5793 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5106, allocations: 0 / 0.5793 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5106, allocations: 3.984 kB / 0.5793 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008072/0.5187, allocations: 5.626 MB / 0.5848 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.5188, allocations: 4 kB / 0.5848 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000556/0.5193, allocations: 139.8 kB / 0.5849 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.5193, allocations: 12.5 kB / 0.5849 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.753e-05/0.5194, allocations: 20 kB / 0.5849 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.5194, allocations: 8 kB / 0.5849 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-05/0.5194, allocations: 11.94 kB / 0.585 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.5216, allocations: 1.788 MB / 0.5867 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000462/0.522, allocations: 286 kB / 0.587 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/0.5223, allocations: 23.98 kB / 0.587 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/0.5228, allocations: 31.97 kB / 0.587 GB, free: 5.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.5229, allocations: 68.36 kB / 0.5871 GB, free: 5.773 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.59e-05/0.523, allocations: 40 kB / 0.5871 GB, free: 5.734 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002032/0.5251, allocations: 1.56 MB / 0.5887 GB, free: 4.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5251, allocations: 0 / 0.5887 GB, free: 4.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003349/0.5284, allocations: 1.011 MB / 0.5896 GB, free: 3.145 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.002334/0.5308, allocations: 2.443 MB / 0.592 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004383/0.5352, allocations: 3.125 MB / 0.5951 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5352, allocations: 0 / 0.5951 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008/0.536, allocations: 0.7454 MB / 0.5958 GB, free: 12.78 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.5373, allocations: 244.3 kB / 0.596 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03813/0.5755, allocations: 32.96 MB / 0.6282 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002757/0.5783, allocations: 2.958 MB / 0.6311 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002996/0.5813, allocations: 1.484 MB / 0.6326 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002023/0.5833, allocations: 1.515 MB / 0.634 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of SimCode: time 1.082e-06/0.5833, allocations: 0 / 0.634 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2424/0.8257, allocations: 40.4 MB / 0.6735 GB, free: 152.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.8259, allocations: 202.8 kB / 0.6737 GB, free: 152.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.822/3.648, allocations: 3.938 kB / 0.6737 GB, free: 152.3 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)