Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008886/0.008885, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001926/0.001926, allocations: 187.6 kB / 16.67 MB, free: 5.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.535/1.535, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3283/0.3283, allocations: 37.99 MB / 307.9 MB, free: 10.1 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 67.89 kB / 433 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3213, allocations: 56.47 MB / 489.4 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01329/0.3346, allocations: 11.28 MB / 0.489 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006908/0.3416, allocations: 2.792 MB / 0.4917 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/0.3435, allocations: 52.53 kB / 0.4918 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.3462, allocations: 1.308 MB / 0.493 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003015/0.3492, allocations: 1.213 MB / 0.4942 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.3496, allocations: 79.66 kB / 0.4943 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003335/0.3529, allocations: 2.749 MB / 0.497 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002485/0.3554, allocations: 1.853 MB / 0.4988 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.3572, allocations: 1.054 MB / 0.4998 GB, free: 6.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.3588, allocations: 1.451 MB / 0.5012 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004398/0.3593, allocations: 209.4 kB / 0.5014 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.3603, allocations: 487.7 kB / 0.5019 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001098/0.3615, allocations: 1.416 MB / 0.5033 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.3627, allocations: 1.709 MB / 0.505 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005406/0.3682, allocations: 5.509 MB / 0.5103 GB, free: 15.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.3682, allocations: 0 / 0.5103 GB, free: 15.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3682, allocations: 4 kB / 0.5103 GB, free: 15.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001757/0.3684, allocations: 1.219 kB / 0.5103 GB, free: 15.46 MB / 398.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.007289/0.3757, allocations: 3.71 MB / 0.514 GB, free: 12.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.3757, allocations: 13.89 kB / 0.514 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.386, allocations: 2.956 MB / 0.5169 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004153/0.3902, allocations: 1.541 MB / 0.5184 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.3904, allocations: 180.6 kB / 0.5185 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00058/0.391, allocations: 224 kB / 0.5188 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01777/0.4088, allocations: 9.468 MB / 0.528 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.456e-05/0.4089, allocations: 19.81 kB / 0.528 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003482/0.4092, allocations: 107.8 kB / 0.5281 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003635/0.4129, allocations: 2.377 MB / 0.5304 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/0.4303, allocations: 8.664 MB / 0.5389 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0428/0.4731, allocations: 29.16 MB / 0.5674 GB, free: 6.582 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005361/0.4786, allocations: 3.049 MB / 0.5704 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.4799, allocations: 0.9844 MB / 0.5713 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008509/0.4885, allocations: 4.831 MB / 0.576 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.4885, allocations: 47.16 kB / 0.5761 GB, free: 13.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 3.557e-06/0.4885, allocations: 0 / 0.5761 GB, free: 13.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.005988/0.4945, allocations: 2.741 MB / 0.5788 GB, free: 10.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.4946, allocations: 68.05 kB / 0.5788 GB, free: 10.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00399/0.4986, allocations: 2.578 MB / 0.5813 GB, free: 7.742 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.938e-05/0.4987, allocations: 37.7 kB / 0.5814 GB, free: 7.699 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001696/0.5004, allocations: 2.759 MB / 0.5841 GB, free: 4.914 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004309/0.5009, allocations: 0.5117 MB / 0.5846 GB, free: 4.398 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/0.502, allocations: 0.9013 MB / 0.5855 GB, free: 3.484 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.5021, allocations: 365.9 kB / 0.5858 GB, free: 3.121 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/0.504, allocations: 1.367 MB / 0.5871 GB, free: 1.746 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003539/0.5075, allocations: 4.114 MB / 0.5912 GB, free: 12.24 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005808/0.5133, allocations: 5.968 MB / 0.597 GB, free: 4.902 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.323e-05/0.5134, allocations: 28 kB / 0.597 GB, free: 4.875 MB / 478.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007414/0.5208, allocations: 5.292 MB / 0.6022 GB, free: 15.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.893e-05/0.5209, allocations: 51.98 kB / 0.6022 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.307e-05/0.521, allocations: 96 kB / 0.6023 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/0.5211, allocations: 128 kB / 0.6024 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/0.5237, allocations: 0.9824 MB / 0.6034 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001643/0.5239, allocations: 187.3 kB / 0.6036 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003075/0.527, allocations: 0.6169 MB / 0.6042 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000341/0.5273, allocations: 288 kB / 0.6045 GB, free: 13.23 MB / 494.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.003275/0.5306, allocations: 1.891 MB / 0.6063 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003684/0.531, allocations: 222.5 kB / 0.6065 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005106/0.5315, allocations: 275.4 kB / 0.6068 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/0.5315, allocations: 12 kB / 0.6068 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.5316, allocations: 0 / 0.6068 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.5316, allocations: 7.984 kB / 0.6068 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008775/0.5404, allocations: 5.615 MB / 0.6123 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.5404, allocations: 4 kB / 0.6123 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005999/0.541, allocations: 135.7 kB / 0.6124 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.762e-05/0.541, allocations: 8.562 kB / 0.6124 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/0.5411, allocations: 28 kB / 0.6124 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.876e-05/0.5412, allocations: 11.98 kB / 0.6125 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.5412, allocations: 7.938 kB / 0.6125 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.5434, allocations: 1.797 MB / 0.6142 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005134/0.5439, allocations: 299.2 kB / 0.6145 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.5441, allocations: 20 kB / 0.6145 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.5447, allocations: 43.94 kB / 0.6146 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.5448, allocations: 64.38 kB / 0.6146 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-05/0.5449, allocations: 39.98 kB / 0.6147 GB, free: 2.547 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002497/0.5475, allocations: 1.56 MB / 0.6162 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5475, allocations: 0 / 0.6162 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004441/0.5519, allocations: 1.016 MB / 0.6172 GB, free: 15.95 MB / 0.4981 GB 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.000398/0.5523, allocations: 146.9 kB / 0.6173 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005712/0.558, allocations: 3.168 MB / 0.6204 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.5581, allocations: 0 / 0.6204 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009103/0.559, allocations: 0.7385 MB / 0.6211 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.5605, allocations: 268.9 kB / 0.6214 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.575, allocations: 7.278 MB / 0.6285 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003649/0.5787, allocations: 2.962 MB / 0.6314 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.2848/0.8636, allocations: 1.482 MB / 0.6328 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007528/0.8644, allocations: 158 kB / 0.633 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.343e-06/0.8644, allocations: 0 / 0.633 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.04873/0.9131, allocations: 16.53 MB / 0.6491 GB, free: 124.7 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)