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.001967/0.001967, allocations: 109.8 kB / 16.41 MB, free: 6.488 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.001946/0.001946, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.478/1.478, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.216/0.216, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 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.001389/0.001389, allocations: 63.91 kB / 441.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1399, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01284/0.1528, allocations: 11.29 MB / 0.4989 GB, free: 480 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007107/0.16, allocations: 2.785 MB / 0.5016 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.1619, allocations: 51.94 kB / 0.5017 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002903/0.1648, allocations: 1.312 MB / 0.5029 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003436/0.1683, allocations: 1.249 MB / 0.5042 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.1688, allocations: 75.84 kB / 0.5042 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003992/0.1728, allocations: 2.76 MB / 0.5069 GB, free: 8.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002646/0.1755, allocations: 1.848 MB / 0.5087 GB, free: 6.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/0.1776, allocations: 1.051 MB / 0.5098 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/0.1798, allocations: 1.452 MB / 0.5112 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005321/0.1804, allocations: 208 kB / 0.5114 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.1816, allocations: 491.4 kB / 0.5118 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001486/0.1831, allocations: 1.414 MB / 0.5132 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001999/0.1851, allocations: 1.723 MB / 0.5149 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006869/0.192, allocations: 5.491 MB / 0.5203 GB, free: 10.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.192, allocations: 0 / 0.5203 GB, free: 10.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.192, allocations: 3.938 kB / 0.5203 GB, free: 10.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001814/0.1922, allocations: 0 / 0.5203 GB, free: 10.46 MB / 414.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.005848/0.1981, allocations: 3.612 MB / 0.5238 GB, free: 6.789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1981, allocations: 11.89 kB / 0.5238 GB, free: 6.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.2083, allocations: 2.94 MB / 0.5267 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004605/0.2129, allocations: 1.53 MB / 0.5282 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.2131, allocations: 172.6 kB / 0.5283 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006259/0.2138, allocations: 228 kB / 0.5286 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2745/0.4883, allocations: 9.462 MB / 0.5378 GB, free: 34.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-05/0.4884, allocations: 18.84 kB / 0.5378 GB, free: 34.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003547/0.4888, allocations: 111 kB / 0.5379 GB, free: 34.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004122/0.4929, allocations: 2.378 MB / 0.5402 GB, free: 34.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/0.5112, allocations: 8.663 MB / 0.5487 GB, free: 31.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03883/0.5501, allocations: 29.08 MB / 0.5771 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004277/0.5544, allocations: 3.055 MB / 0.5801 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.5556, allocations: 0.9805 MB / 0.581 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008014/0.5637, allocations: 4.832 MB / 0.5858 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.5638, allocations: 43.16 kB / 0.5858 GB, free: 14.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 5.26e-06/0.5638, allocations: 4 kB / 0.5858 GB, free: 14.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.006073/0.5698, allocations: 2.732 MB / 0.5885 GB, free: 11.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.5699, allocations: 60.06 kB / 0.5885 GB, free: 11.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004553/0.5745, allocations: 2.569 MB / 0.591 GB, free: 8.773 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.046e-05/0.5746, allocations: 41.69 kB / 0.5911 GB, free: 8.727 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002175/0.5767, allocations: 2.645 MB / 0.5937 GB, free: 6.043 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000574/0.5773, allocations: 497.6 kB / 0.5941 GB, free: 5.551 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001317/0.5787, allocations: 0.9045 MB / 0.595 GB, free: 4.633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.5788, allocations: 363.5 kB / 0.5954 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/0.5809, allocations: 1.352 MB / 0.5967 GB, free: 2.914 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003716/0.5846, allocations: 4.122 MB / 0.6007 GB, free: 13.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006637/0.5913, allocations: 5.956 MB / 0.6065 GB, free: 6.074 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.323e-05/0.5914, allocations: 32 kB / 0.6066 GB, free: 6.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01/0.6014, allocations: 5.286 MB / 0.6117 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.6015, allocations: 48 kB / 0.6118 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001899/0.6017, allocations: 96 kB / 0.6119 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.6019, allocations: 135.9 kB / 0.612 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/0.6049, allocations: 0.9715 MB / 0.6129 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000162/0.6051, allocations: 203.2 kB / 0.6131 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/0.6081, allocations: 0.5953 MB / 0.6137 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005518/0.6087, allocations: 276 kB / 0.614 GB, free: 14.43 MB / 462.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.003475/0.6122, allocations: 1.903 MB / 0.6158 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004817/0.6127, allocations: 215.1 kB / 0.616 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006438/0.6133, allocations: 267.4 kB / 0.6163 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.327e-05/0.6134, allocations: 20 kB / 0.6163 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/0.6134, allocations: 0 / 0.6163 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.6134, allocations: 3.984 kB / 0.6163 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.6244, allocations: 5.615 MB / 0.6218 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.6244, allocations: 8.094 kB / 0.6218 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/0.625, allocations: 139.7 kB / 0.6219 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.163e-05/0.6251, allocations: 11.98 kB / 0.622 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.897e-05/0.6251, allocations: 20 kB / 0.622 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.6252, allocations: 4 kB / 0.622 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.6252, allocations: 11.94 kB / 0.622 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.6279, allocations: 1.792 MB / 0.6237 GB, free: 4.219 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007536/0.6286, allocations: 286 kB / 0.624 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004333/0.6291, allocations: 19.98 kB / 0.624 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008728/0.63, allocations: 39.97 kB / 0.6241 GB, free: 3.859 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.6301, allocations: 60.36 kB / 0.6241 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/0.6302, allocations: 47.98 kB / 0.6242 GB, free: 3.754 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003145/0.6334, allocations: 1.556 MB / 0.6257 GB, free: 2.184 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6334, allocations: 0 / 0.6257 GB, free: 2.184 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004653/0.6381, allocations: 1.013 MB / 0.6267 GB, free: 1.172 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.0005067/0.6386, allocations: 145.6 kB / 0.6268 GB, free: 1.023 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005355/0.6439, allocations: 3.147 MB / 0.6299 GB, free: 13.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.644, allocations: 3.938 kB / 0.6299 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009776/0.645, allocations: 0.7493 MB / 0.6306 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.6467, allocations: 255.3 kB / 0.6309 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.6618, allocations: 7.172 MB / 0.6379 GB, free: 5.656 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004701/0.6665, allocations: 2.963 MB / 0.6408 GB, free: 2.664 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003378/0.6699, allocations: 1.488 MB / 0.6422 GB, free: 1.168 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/0.6704, allocations: 155.4 kB / 0.6424 GB, free: 1.016 MB / 478.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6704, allocations: 0 / 0.6424 GB, free: 1.016 MB / 478.1 MB Notification: Performance of Templates: time 0.04/0.7104, allocations: 16.54 MB / 0.6585 GB, free: 0.4961 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.makefile (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)