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: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_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.0009065/0.0009064, allocations: 97.53 kB / 15.69 MB, free: 488 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.0008992/0.0008993, allocations: 173.2 kB / 16.56 MB, free: 6.379 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.47/1.47, allocations: 205.4 MB / 222.7 MB, free: 5.68 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.3101/0.3101, allocations: 43.55 MB / 314.5 MB, free: 8.777 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.0004773/0.0004778, allocations: 14.97 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1158, allocations: 58.86 MB / 442.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.246/0.3619, allocations: 24.53 MB / 467.3 MB, free: 35.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.3724, allocations: 5.564 MB / 472.8 MB, free: 33.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004017/0.3764, allocations: 112.9 kB / 472.9 MB, free: 33.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003297/0.3797, allocations: 1.266 MB / 474.2 MB, free: 32.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.3901, allocations: 3.616 MB / 477.8 MB, free: 31.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009009/0.391, allocations: 81.05 kB / 477.9 MB, free: 31.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001844/0.3929, allocations: 1.511 MB / 479.4 MB, free: 30.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.3951, allocations: 2.122 MB / 481.5 MB, free: 30.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007748/0.3959, allocations: 0.7412 MB / 482.3 MB, free: 29.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008856/0.3968, allocations: 0.9794 MB / 483.3 MB, free: 29.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002311/0.397, allocations: 120 kB / 483.4 MB, free: 29.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006895/0.3977, allocations: 365.3 kB / 483.7 MB, free: 29.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007044/0.3984, allocations: 1.188 MB / 484.9 MB, free: 29.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000411/0.3989, allocations: 0.6903 MB / 485.6 MB, free: 28.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003712/0.4026, allocations: 4.159 MB / 489.8 MB, free: 27.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.4026, allocations: 0 / 489.8 MB, free: 27.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4026, allocations: 0 / 489.8 MB, free: 27.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001485/0.4028, allocations: 0 / 489.8 MB, free: 27.7 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.00436/0.4071, allocations: 2.983 MB / 492.8 MB, free: 25.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.4072, allocations: 8.781 kB / 492.8 MB, free: 25.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01242/0.4196, allocations: 3.579 MB / 496.3 MB, free: 25.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004485/0.4241, allocations: 1.503 MB / 497.8 MB, free: 24.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.4243, allocations: 169.4 kB / 498 MB, free: 24.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006051/0.4249, allocations: 221.4 kB / 498.2 MB, free: 24.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01451/0.4394, allocations: 9.5 MB / 0.4958 GB, free: 19.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.697e-05/0.4395, allocations: 19.72 kB / 0.4958 GB, free: 19.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003209/0.4399, allocations: 107.4 kB / 0.4959 GB, free: 19.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003541/0.4434, allocations: 2.371 MB / 0.4983 GB, free: 18.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0146/0.458, allocations: 8.694 MB / 0.5068 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04069/0.4987, allocations: 29.34 MB / 0.5354 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004919/0.5037, allocations: 3.059 MB / 0.5384 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00927/0.513, allocations: 4.865 MB / 0.5431 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.5131, allocations: 47.22 kB / 0.5432 GB, free: 7.418 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 4.378e-06/0.5131, allocations: 0 / 0.5432 GB, free: 7.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.006021/0.5191, allocations: 3.24 MB / 0.5464 GB, free: 4.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.5192, allocations: 60.06 kB / 0.5464 GB, free: 3.988 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004223/0.5234, allocations: 2.554 MB / 0.5489 GB, free: 1.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.809e-05/0.5235, allocations: 41.69 kB / 0.5489 GB, free: 1.359 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002477/0.526, allocations: 2.645 MB / 0.5515 GB, free: 14.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005306/0.5266, allocations: 0.4899 MB / 0.552 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.5267, allocations: 91.92 kB / 0.5521 GB, free: 14.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0005685/0.5273, allocations: 0.5515 MB / 0.5526 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002079/0.5294, allocations: 1.336 MB / 0.5539 GB, free: 12.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004897/0.5343, allocations: 4.087 MB / 0.5579 GB, free: 6.703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003494/0.5378, allocations: 2.351 MB / 0.5602 GB, free: 4.352 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.514e-05/0.5379, allocations: 28 kB / 0.5603 GB, free: 4.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008562/0.5464, allocations: 5.251 MB / 0.5654 GB, free: 15.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.59e-05/0.5465, allocations: 48 kB / 0.5654 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.852e-05/0.5466, allocations: 96 kB / 0.5655 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000131/0.5468, allocations: 148 kB / 0.5657 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/0.5494, allocations: 0.9786 MB / 0.5666 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001412/0.5496, allocations: 192.1 kB / 0.5668 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00286/0.5525, allocations: 0.5992 MB / 0.5674 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003361/0.5528, allocations: 284.1 kB / 0.5677 GB, free: 12.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003321/0.5562, allocations: 1.891 MB / 0.5695 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003389/0.5565, allocations: 217 kB / 0.5697 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004068/0.5569, allocations: 271.4 kB / 0.57 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/0.557, allocations: 16 kB / 0.57 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-06/0.557, allocations: 0 / 0.57 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.557, allocations: 3.984 kB / 0.57 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008811/0.5658, allocations: 5.606 MB / 0.5755 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.5658, allocations: 4 kB / 0.5755 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/0.5664, allocations: 139.8 kB / 0.5756 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/0.5664, allocations: 8.562 kB / 0.5756 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-05/0.5665, allocations: 23.98 kB / 0.5756 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.5665, allocations: 12 kB / 0.5756 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5665, allocations: 7.938 kB / 0.5757 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.5688, allocations: 2.11 MB / 0.5777 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005221/0.5693, allocations: 305.9 kB / 0.578 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.5695, allocations: 23.98 kB / 0.578 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005804/0.5701, allocations: 39.89 kB / 0.5781 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/0.5702, allocations: 60.39 kB / 0.5781 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.045e-05/0.5703, allocations: 43.98 kB / 0.5782 GB, free: 1.598 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002154/0.5724, allocations: 1.545 MB / 0.5797 GB, free: 40 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5725, allocations: 0 / 0.5797 GB, free: 40 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.003225/0.5757, allocations: 1.007 MB / 0.5807 GB, free: 15.03 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 (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.000276/0.576, allocations: 147.5 kB / 0.5808 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004133/0.5801, allocations: 3.112 MB / 0.5838 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5801, allocations: 0 / 0.5838 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008062/0.581, allocations: 0.7351 MB / 0.5846 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009499/0.5819, allocations: 241.9 kB / 0.5848 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.5945, allocations: 8.788 MB / 0.5934 GB, free: 1.965 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003443/0.598, allocations: 3.042 MB / 0.5963 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003617/0.6016, allocations: 1.484 MB / 0.5978 GB, free: 13.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.6021, allocations: 163.4 kB / 0.5979 GB, free: 13.24 MB / 478.1 MB Notification: Performance of SimCode: time 2.164e-06/0.6021, allocations: 0 / 0.5979 GB, free: 13.24 MB / 478.1 MB Notification: Performance of Templates: time 0.03466/0.6368, allocations: 17.45 MB / 0.615 GB, free: 11.81 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.makefile Environment - environmentSimulation: (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) Environment - environmentSimulation: