Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.VoluminousWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001145, allocations: 96.14 kB / 15.87 MB, free: 16 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.002221/0.002221, allocations: 202.4 kB / 16.79 MB, free: 6.84 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.631/1.631, allocations: 205.1 MB / 222.6 MB, free: 4.758 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.3767/0.3767, allocations: 43.5 MB / 313.5 MB, free: 8.234 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.001405/0.001405, allocations: 66.56 kB / 382 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1225, allocations: 57.79 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.009073/0.1316, allocations: 9.223 MB / 449 MB, free: 5.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005201/0.1368, allocations: 2.396 MB / 451.4 MB, free: 2.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.1383, allocations: 31.94 kB / 451.5 MB, free: 2.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.1397, allocations: 490.5 kB / 451.9 MB, free: 2.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.1414, allocations: 0.6384 MB / 452.6 MB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.1415, allocations: 19.97 kB / 452.6 MB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.248/0.3895, allocations: 2.045 MB / 454.6 MB, free: 37.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.391, allocations: 0.7326 MB / 455.4 MB, free: 37.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007958/0.3919, allocations: 422 kB / 455.8 MB, free: 37.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008812/0.3928, allocations: 0.743 MB / 456.5 MB, free: 37.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.393, allocations: 60.47 kB / 456.6 MB, free: 37.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006461/0.3936, allocations: 281 kB / 456.9 MB, free: 37.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005607/0.3942, allocations: 0.6604 MB / 457.5 MB, free: 37.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006948/0.3949, allocations: 0.8204 MB / 458.3 MB, free: 37.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.3969, allocations: 2.516 MB / 460.9 MB, free: 36.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3969, allocations: 1.156 kB / 460.9 MB, free: 36.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.397, allocations: 0 / 460.9 MB, free: 36.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.47e-05/0.397, allocations: 0 / 460.9 MB, free: 36.75 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: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.003093/0.4001, allocations: 1.969 MB / 462.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4002, allocations: 11.81 kB / 462.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004254/0.4044, allocations: 1.475 MB / 464.3 MB, free: 35.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.406, allocations: 0.8481 MB / 465.2 MB, free: 35.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.933e-05/0.4061, allocations: 77.8 kB / 465.2 MB, free: 35.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.4063, allocations: 98.2 kB / 465.3 MB, free: 35.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006353/0.4126, allocations: 4.626 MB / 470 MB, free: 33.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.188e-05/0.4127, allocations: 21.28 kB / 470 MB, free: 33.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.4129, allocations: 56.09 kB / 470 MB, free: 33.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001519/0.4144, allocations: 1.104 MB / 471.1 MB, free: 33.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006126/0.4206, allocations: 4.008 MB / 475.2 MB, free: 32.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02015/0.4408, allocations: 18.48 MB / 493.6 MB, free: 18.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.4424, allocations: 1.179 MB / 494.8 MB, free: 17.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005076/0.443, allocations: 344.8 kB / 495.1 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.443, allocations: 7.391 kB / 495.2 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.443, allocations: 45.36 kB / 495.2 MB, free: 17.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.206e-06/0.443, allocations: 0 / 495.2 MB, free: 17.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001993/0.445, allocations: 1.029 MB / 496.2 MB, free: 17.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.4451, allocations: 107.4 kB / 496.3 MB, free: 16.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003552/0.4487, allocations: 2.203 MB / 498.5 MB, free: 16.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.146e-05/0.4488, allocations: 36.72 kB / 498.6 MB, free: 16.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.4499, allocations: 1.613 MB / 0.4885 GB, free: 14.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.4502, allocations: 266.3 kB / 0.4887 GB, free: 14.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008097/0.451, allocations: 0.6784 MB / 0.4894 GB, free: 14.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4511, allocations: 356.4 kB / 0.4897 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.4524, allocations: 0.8928 MB / 0.4906 GB, free: 13.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002207/0.4547, allocations: 3.171 MB / 0.4937 GB, free: 10.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005045/0.4597, allocations: 4.443 MB / 0.498 GB, free: 6.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-05/0.4598, allocations: 27.56 kB / 0.498 GB, free: 6.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007714/0.4676, allocations: 3.838 MB / 0.5018 GB, free: 4.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.996e-05/0.4677, allocations: 39.97 kB / 0.5018 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001655/0.4678, allocations: 81.97 kB / 0.5019 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/0.468, allocations: 110.5 kB / 0.502 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/0.4704, allocations: 0.7602 MB / 0.5028 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001945/0.4706, allocations: 158.9 kB / 0.5029 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/0.4735, allocations: 487.1 kB / 0.5034 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003078/0.4738, allocations: 218.3 kB / 0.5036 GB, free: 4.523 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 371 * Number of states: 0 () * Number of discrete variables: 12 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 407 * Array equations: 3 * 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.001837/0.4757, allocations: 1.101 MB / 0.5047 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/0.476, allocations: 168.5 kB / 0.5048 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/0.4764, allocations: 206.3 kB / 0.505 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/0.4764, allocations: 15.3 kB / 0.505 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.4764, allocations: 6.109 kB / 0.505 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4764, allocations: 1.5 kB / 0.505 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/0.4802, allocations: 2.008 MB / 0.507 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4802, allocations: 1.188 kB / 0.507 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/0.4805, allocations: 60.12 kB / 0.5071 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4805, allocations: 2.594 kB / 0.5071 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.4805, allocations: 17.08 kB / 0.5071 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.4805, allocations: 0.9844 kB / 0.5071 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4806, allocations: 6.156 kB / 0.5071 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009553/0.4815, allocations: 1.037 MB / 0.5081 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/0.4819, allocations: 236.5 kB / 0.5083 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.482, allocations: 6.031 kB / 0.5083 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/0.4825, allocations: 26.88 kB / 0.5084 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.4826, allocations: 26.8 kB / 0.5084 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.4826, allocations: 17.28 kB / 0.5084 GB, free: 2.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001597/0.4842, allocations: 1.369 MB / 0.5097 GB, free: 1.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4842, allocations: 0 / 0.5097 GB, free: 1.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002648/0.4869, allocations: 499.8 kB / 0.5102 GB, free: 1.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 33 * Array equations: 3 * 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.0002772/0.4872, allocations: 132.1 kB / 0.5103 GB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002846/0.49, allocations: 2.044 MB / 0.5123 GB, free: 0.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4901, allocations: 0 / 0.5123 GB, free: 0.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.4904, allocations: 342.8 kB / 0.5127 GB, free: 208 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.4914, allocations: 157.6 kB / 0.5128 GB, free: 56 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007072/0.4985, allocations: 4.589 MB / 0.5173 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/0.5001, allocations: 1.791 MB / 0.519 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002841/0.503, allocations: 1.113 MB / 0.5201 GB, free: 9.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.5034, allocations: 111.4 kB / 0.5202 GB, free: 8.895 MB / 398.1 MB Notification: Performance of SimCode: time 1.262e-06/0.5034, allocations: 0 / 0.5202 GB, free: 8.895 MB / 398.1 MB Notification: Performance of Templates: time 0.02624/0.5296, allocations: 12.26 MB / 0.5322 GB, free: 12.74 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)