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.000764/0.000764, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005686/0.005686, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.435/1.435, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3205/0.3205, allocations: 38.03 MB / 308.8 MB, free: 10.32 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.0005481/0.0005481, allocations: 16.66 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1173, allocations: 57.52 MB / 434.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2254/0.3428, allocations: 27.79 MB / 462.4 MB, free: 33.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009402/0.3523, allocations: 5.573 MB / 467.9 MB, free: 32.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003591/0.3559, allocations: 113.8 kB / 468 MB, free: 32.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009432/0.3568, allocations: 405.9 kB / 468.4 MB, free: 32.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.3595, allocations: 1.162 MB / 469.6 MB, free: 32.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.3599, allocations: 74.75 kB / 469.7 MB, free: 32.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003384/0.3632, allocations: 4.029 MB / 473.7 MB, free: 31.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002822/0.3661, allocations: 2.321 MB / 476 MB, free: 31.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.3672, allocations: 0.8385 MB / 476.9 MB, free: 31.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.3685, allocations: 1.417 MB / 478.3 MB, free: 30.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002356/0.3687, allocations: 118.8 kB / 478.4 MB, free: 30.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008166/0.3695, allocations: 408.5 kB / 478.8 MB, free: 30.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000864/0.3704, allocations: 1.334 MB / 480.1 MB, free: 30.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.3714, allocations: 1.639 MB / 481.8 MB, free: 29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003036/0.3745, allocations: 5.025 MB / 486.8 MB, free: 27.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3745, allocations: 3.938 kB / 486.8 MB, free: 27.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3745, allocations: 0 / 486.8 MB, free: 27.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.133e-05/0.3746, allocations: 4 kB / 486.8 MB, free: 27.67 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.003586/0.3782, allocations: 2.929 MB / 489.7 MB, free: 25.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3782, allocations: 12.97 kB / 489.7 MB, free: 25.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009363/0.3876, allocations: 3.023 MB / 492.8 MB, free: 25.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/0.3905, allocations: 1.523 MB / 494.3 MB, free: 24.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.3907, allocations: 172.2 kB / 494.5 MB, free: 24.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004666/0.3912, allocations: 223.7 kB / 494.7 MB, free: 24.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.406, allocations: 9.476 MB / 0.4923 GB, free: 20.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.475e-05/0.4061, allocations: 22.59 kB / 0.4924 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003244/0.4064, allocations: 108 kB / 0.4925 GB, free: 20.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003625/0.4101, allocations: 2.371 MB / 0.4948 GB, free: 20.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01662/0.4267, allocations: 8.674 MB / 0.5032 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03424/0.461, allocations: 29.33 MB / 0.5319 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004639/0.4657, allocations: 3.053 MB / 0.5349 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.4669, allocations: 0.9818 MB / 0.5358 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007347/0.4743, allocations: 4.849 MB / 0.5406 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.4743, allocations: 35.22 kB / 0.5406 GB, free: 10.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 3.006e-06/0.4743, allocations: 0 / 0.5406 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.005547/0.4799, allocations: 2.739 MB / 0.5433 GB, free: 8.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.4799, allocations: 56.06 kB / 0.5433 GB, free: 7.992 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003789/0.4837, allocations: 2.565 MB / 0.5458 GB, free: 5.398 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.4839, allocations: 37.7 kB / 0.5459 GB, free: 5.355 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001855/0.4857, allocations: 2.655 MB / 0.5485 GB, free: 2.699 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004293/0.4862, allocations: 0.4918 MB / 0.5489 GB, free: 2.211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004352/0.4866, allocations: 391.7 kB / 0.5493 GB, free: 1.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4868, allocations: 361.9 kB / 0.5497 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/0.4886, allocations: 1.352 MB / 0.551 GB, free: 104 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003508/0.4921, allocations: 4.122 MB / 0.555 GB, free: 10.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005947/0.498, allocations: 5.96 MB / 0.5608 GB, free: 3.258 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.436e-05/0.4981, allocations: 28 kB / 0.5608 GB, free: 3.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007245/0.5053, allocations: 5.278 MB / 0.566 GB, free: 13.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/0.5054, allocations: 48 kB / 0.566 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.709e-05/0.5055, allocations: 108.1 kB / 0.5662 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000117/0.5056, allocations: 132 kB / 0.5663 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/0.508, allocations: 0.9747 MB / 0.5672 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001298/0.5082, allocations: 191.2 kB / 0.5674 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.5105, allocations: 0.5992 MB / 0.568 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003137/0.5108, allocations: 282.6 kB / 0.5683 GB, free: 11.62 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.002517/0.5134, allocations: 1.899 MB / 0.5701 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/0.5136, allocations: 213.1 kB / 0.5703 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004737/0.5141, allocations: 271.4 kB / 0.5706 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/0.5141, allocations: 19.2 kB / 0.5706 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5142, allocations: 0 / 0.5706 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.5142, allocations: 3.984 kB / 0.5706 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007785/0.522, allocations: 5.611 MB / 0.5761 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.522, allocations: 8 kB / 0.5761 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005297/0.5225, allocations: 131.8 kB / 0.5762 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.5226, allocations: 8 kB / 0.5762 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.5226, allocations: 24 kB / 0.5762 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/0.5226, allocations: 19.86 kB / 0.5763 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5226, allocations: 4.469 kB / 0.5763 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.5246, allocations: 1.79 MB / 0.578 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/0.5251, allocations: 302 kB / 0.5783 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.5253, allocations: 19.28 kB / 0.5783 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005451/0.5258, allocations: 43.89 kB / 0.5784 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.5259, allocations: 56.44 kB / 0.5784 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.412e-05/0.526, allocations: 46.89 kB / 0.5785 GB, free: 0.957 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002063/0.5281, allocations: 1.564 MB / 0.58 GB, free: 15.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5281, allocations: 0 / 0.58 GB, free: 15.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003215/0.5313, allocations: 1.003 MB / 0.581 GB, free: 14.37 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.0002944/0.5316, allocations: 141.1 kB / 0.5811 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00398/0.5356, allocations: 3.13 MB / 0.5842 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5356, allocations: 0 / 0.5842 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007913/0.5364, allocations: 0.7429 MB / 0.5849 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.5386, allocations: 253.9 kB / 0.5851 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.5499, allocations: 9.199 MB / 0.5941 GB, free: 0.875 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00284/0.5528, allocations: 2.965 MB / 0.597 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003095/0.5559, allocations: 1.488 MB / 0.5985 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/0.5562, allocations: 155.4 kB / 0.5986 GB, free: 12.24 MB / 478.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5562, allocations: 0 / 0.5986 GB, free: 12.24 MB / 478.1 MB Notification: Performance of Templates: time 0.03437/0.5906, allocations: 17.75 MB / 0.616 GB, free: 10.57 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: