Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 178.6 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007624/0.0007627, allocations: 94.28 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3708/0.3708, allocations: 43.56 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004082, allocations: 8 kB / 431.4 MB, free: 5.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.138, allocations: 58.85 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.3215/0.4595, allocations: 25.88 MB / 0.504 GB, free: 32.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.4725, allocations: 5.332 MB / 0.5092 GB, free: 28.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007849/0.4804, allocations: 113.6 kB / 0.5093 GB, free: 28.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004393/0.4848, allocations: 1.252 MB / 0.5106 GB, free: 28.08 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.4956, allocations: 3.526 MB / 0.514 GB, free: 26.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.4971, allocations: 86.45 kB / 0.5141 GB, free: 26.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004089/0.5012, allocations: 3.05 MB / 0.5171 GB, free: 25.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004041/0.5052, allocations: 2.137 MB / 0.5192 GB, free: 24.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.5073, allocations: 0.8852 MB / 0.52 GB, free: 24.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.5096, allocations: 1.388 MB / 0.5214 GB, free: 23.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008207/0.5104, allocations: 116.4 kB / 0.5215 GB, free: 23.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.5119, allocations: 370.5 kB / 0.5218 GB, free: 23.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001619/0.5136, allocations: 1.281 MB / 0.5231 GB, free: 23.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.5149, allocations: 0.6844 MB / 0.5238 GB, free: 22.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004571/0.5195, allocations: 4.164 MB / 0.5278 GB, free: 22.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5195, allocations: 0 / 0.5278 GB, free: 22.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5195, allocations: 0 / 0.5278 GB, free: 22.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002621/0.5198, allocations: 0 / 0.5278 GB, free: 22.07 MB / 378.7 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.006234/0.526, allocations: 2.977 MB / 0.5307 GB, free: 20.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.526, allocations: 9.812 kB / 0.5307 GB, free: 20.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.5364, allocations: 3.025 MB / 0.5337 GB, free: 19.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/0.5408, allocations: 1.511 MB / 0.5352 GB, free: 18.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.5409, allocations: 174.5 kB / 0.5353 GB, free: 18.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004475/0.5414, allocations: 222.7 kB / 0.5356 GB, free: 18.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01453/0.5559, allocations: 9.449 MB / 0.5448 GB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.295e-05/0.556, allocations: 18.88 kB / 0.5448 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003181/0.5563, allocations: 112.2 kB / 0.5449 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003658/0.56, allocations: 2.387 MB / 0.5472 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01434/0.5744, allocations: 8.629 MB / 0.5557 GB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03925/0.6136, allocations: 29.29 MB / 0.5843 GB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004928/0.6186, allocations: 3.054 MB / 0.5872 GB, free: 5.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.6201, allocations: 0.9726 MB / 0.5882 GB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008673/0.6288, allocations: 4.847 MB / 0.5929 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.6288, allocations: 39.22 kB / 0.593 GB, free: 15.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 3.978e-06/0.6288, allocations: 4 kB / 0.593 GB, free: 15.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.005949/0.6348, allocations: 2.72 MB / 0.5956 GB, free: 12.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.6349, allocations: 64.06 kB / 0.5957 GB, free: 12.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004249/0.6391, allocations: 2.554 MB / 0.5982 GB, free: 10.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.221e-05/0.6392, allocations: 37.69 kB / 0.5982 GB, free: 10.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002228/0.6415, allocations: 2.649 MB / 0.6008 GB, free: 7.492 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005748/0.6421, allocations: 497.6 kB / 0.6013 GB, free: 7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.6423, allocations: 91.98 kB / 0.6014 GB, free: 6.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003863/0.6427, allocations: 0.5476 MB / 0.6019 GB, free: 6.352 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/0.6448, allocations: 1.332 MB / 0.6032 GB, free: 5.012 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003797/0.6486, allocations: 4.106 MB / 0.6072 GB, free: 15.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003289/0.652, allocations: 2.355 MB / 0.6095 GB, free: 13.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.36e-05/0.652, allocations: 31.95 kB / 0.6095 GB, free: 13.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008159/0.6602, allocations: 5.248 MB / 0.6147 GB, free: 7.867 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.444e-05/0.6603, allocations: 44 kB / 0.6147 GB, free: 7.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/0.6604, allocations: 100 kB / 0.6148 GB, free: 7.727 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.6606, allocations: 144.1 kB / 0.6149 GB, free: 7.586 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/0.6634, allocations: 0.9747 MB / 0.6159 GB, free: 6.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001488/0.6635, allocations: 191.2 kB / 0.6161 GB, free: 6.422 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002963/0.6665, allocations: 0.5992 MB / 0.6167 GB, free: 5.816 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00037/0.6669, allocations: 280 kB / 0.6169 GB, free: 5.543 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002825/0.6697, allocations: 1.899 MB / 0.6188 GB, free: 3.629 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.6701, allocations: 221 kB / 0.619 GB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.6705, allocations: 267.4 kB / 0.6193 GB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-05/0.6706, allocations: 16 kB / 0.6193 GB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.6706, allocations: 0 / 0.6193 GB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.6706, allocations: 3.984 kB / 0.6193 GB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00943/0.68, allocations: 5.607 MB / 0.6247 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.6801, allocations: 4 kB / 0.6247 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005639/0.6807, allocations: 139.8 kB / 0.6249 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/0.6807, allocations: 8 kB / 0.6249 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/0.6808, allocations: 23.98 kB / 0.6249 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.77e-05/0.6808, allocations: 11.94 kB / 0.6249 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.6808, allocations: 8.562 kB / 0.6249 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.683, allocations: 1.781 MB / 0.6267 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005554/0.6835, allocations: 306 kB / 0.627 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003293/0.6839, allocations: 23.94 kB / 0.627 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006763/0.6846, allocations: 35.95 kB / 0.627 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.6847, allocations: 60.39 kB / 0.6271 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.849e-05/0.6848, allocations: 51.97 kB / 0.6271 GB, free: 10.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002371/0.6871, allocations: 1.541 MB / 0.6286 GB, free: 9.309 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6871, allocations: 0 / 0.6286 GB, free: 9.309 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0035/0.6907, allocations: 1.011 MB / 0.6296 GB, free: 8.293 MB / 458.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.0003141/0.691, allocations: 143 kB / 0.6298 GB, free: 8.145 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004528/0.6955, allocations: 3.112 MB / 0.6328 GB, free: 5.059 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6955, allocations: 0 / 0.6328 GB, free: 5.059 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008768/0.6964, allocations: 0.739 MB / 0.6335 GB, free: 4.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.6978, allocations: 247.1 kB / 0.6338 GB, free: 4.078 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.7129, allocations: 9.242 MB / 0.6428 GB, free: 10.76 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003955/0.7169, allocations: 2.973 MB / 0.6457 GB, free: 7.754 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006815/0.7176, allocations: 195.4 kB / 0.6459 GB, free: 7.562 MB / 474.7 MB Notification: Performance of SimCode: time 1.212e-06/0.7176, allocations: 3.938 kB / 0.6459 GB, free: 7.559 MB / 474.7 MB Notification: Performance of Templates: time 0.2483/0.9659, allocations: 41.37 MB / 0.6863 GB, free: 154 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)