Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.VoluminousWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.002366/0.002367, allocations: 108 kB / 15.61 MB, free: 152 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.002716/0.002716, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.651/1.651, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.3964/0.3964, allocations: 37.99 MB / 307.7 MB, free: 10.02 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.001541/0.001541, allocations: 76.47 kB / 375.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1324, allocations: 56.47 MB / 431.7 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007457/0.1399, allocations: 5.708 MB / 437.4 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004153/0.1441, allocations: 1.827 MB / 439.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004634/0.1446, allocations: 23.94 kB / 439.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.1459, allocations: 0.5135 MB / 439.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.1475, allocations: 0.6652 MB / 440.4 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.1477, allocations: 19.92 kB / 440.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002323/0.1501, allocations: 1.448 MB / 441.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.1516, allocations: 0.7113 MB / 442.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.153, allocations: 490 kB / 443.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.1544, allocations: 0.6848 MB / 443.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004703/0.1549, allocations: 88 kB / 443.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.156, allocations: 303.5 kB / 444.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.1571, allocations: 0.6738 MB / 444.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.1586, allocations: 0.8303 MB / 445.7 MB, free: 8.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003049/0.1617, allocations: 2.523 MB / 448.2 MB, free: 6.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.1617, allocations: 3.984 kB / 448.2 MB, free: 6.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.616e-06/0.1617, allocations: 3.938 kB / 448.2 MB, free: 6.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.832e-05/0.1618, allocations: 3.938 kB / 448.2 MB, free: 6.051 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.00373/0.1655, allocations: 1.978 MB / 450.2 MB, free: 4.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.1656, allocations: 11.89 kB / 450.2 MB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004919/0.1705, allocations: 1.465 MB / 451.7 MB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.1723, allocations: 0.8473 MB / 452.5 MB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-05/0.1724, allocations: 86.22 kB / 452.6 MB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.1727, allocations: 111.8 kB / 452.7 MB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2445/0.4171, allocations: 4.614 MB / 457.3 MB, free: 51.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/0.4172, allocations: 20.47 kB / 457.3 MB, free: 51.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.4174, allocations: 56.7 kB / 457.4 MB, free: 51.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00155/0.4189, allocations: 1.105 MB / 458.5 MB, free: 50.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005224/0.4242, allocations: 4.001 MB / 462.5 MB, free: 49.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01508/0.4393, allocations: 18.48 MB / 481 MB, free: 35.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.4406, allocations: 1.174 MB / 482.2 MB, free: 34.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000434/0.441, allocations: 341.5 kB / 482.5 MB, free: 34.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.4411, allocations: 6.938 kB / 482.5 MB, free: 34.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.4411, allocations: 37.72 kB / 482.5 MB, free: 34.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 4.349e-06/0.4411, allocations: 4 kB / 482.5 MB, free: 34.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001486/0.4426, allocations: 1.032 MB / 483.6 MB, free: 34.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.4427, allocations: 105.9 kB / 483.7 MB, free: 34.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003432/0.4461, allocations: 2.199 MB / 485.9 MB, free: 33.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.4462, allocations: 37.05 kB / 485.9 MB, free: 33.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001218/0.4474, allocations: 1.626 MB / 487.5 MB, free: 31.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/0.4478, allocations: 260.1 kB / 487.8 MB, free: 31.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009955/0.4488, allocations: 0.6687 MB / 488.5 MB, free: 31.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.4489, allocations: 371 kB / 488.8 MB, free: 31.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.45, allocations: 0.8904 MB / 489.7 MB, free: 30.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/0.4523, allocations: 3.167 MB / 492.9 MB, free: 27.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004092/0.4564, allocations: 4.442 MB / 497.3 MB, free: 23.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/0.4565, allocations: 27.31 kB / 497.3 MB, free: 23.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.00735/0.4639, allocations: 3.849 MB / 0.4894 GB, free: 21.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.464, allocations: 40.72 kB / 0.4895 GB, free: 21.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001979/0.4642, allocations: 84.97 kB / 0.4896 GB, free: 21.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.4644, allocations: 106.9 kB / 0.4897 GB, free: 21.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/0.4669, allocations: 0.7484 MB / 0.4904 GB, free: 21.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002697/0.4672, allocations: 163.1 kB / 0.4906 GB, free: 21.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/0.47, allocations: 489.8 kB / 0.491 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005513/0.4706, allocations: 211.8 kB / 0.4912 GB, free: 21.3 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.001972/0.4726, allocations: 1.101 MB / 0.4923 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004419/0.473, allocations: 167.1 kB / 0.4925 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004854/0.4735, allocations: 200.5 kB / 0.4927 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/0.4736, allocations: 8.094 kB / 0.4927 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.4736, allocations: 4 kB / 0.4927 GB, free: 20.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.4736, allocations: 1.344 kB / 0.4927 GB, free: 20.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004454/0.478, allocations: 2.026 MB / 0.4946 GB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.4781, allocations: 1 kB / 0.4946 GB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.4784, allocations: 58.56 kB / 0.4947 GB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/0.4784, allocations: 5.906 kB / 0.4947 GB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.4784, allocations: 11.34 kB / 0.4947 GB, free: 19.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.4784, allocations: 9.344 kB / 0.4947 GB, free: 19.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4785, allocations: 2.062 kB / 0.4947 GB, free: 19.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.4796, allocations: 1.029 MB / 0.4957 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005737/0.4802, allocations: 230.7 kB / 0.496 GB, free: 18.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004015/0.4806, allocations: 10.34 kB / 0.496 GB, free: 18.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007749/0.4814, allocations: 24.72 kB / 0.496 GB, free: 18.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.4815, allocations: 26.84 kB / 0.496 GB, free: 18.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.172e-05/0.4815, allocations: 20.83 kB / 0.496 GB, free: 18.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002507/0.484, allocations: 1.368 MB / 0.4974 GB, free: 18.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4841, allocations: 0 / 0.4974 GB, free: 18.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002925/0.487, allocations: 0.4986 MB / 0.4979 GB, free: 18.26 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.0003796/0.4874, allocations: 137.8 kB / 0.498 GB, free: 18.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003762/0.4911, allocations: 2.145 MB / 0.5001 GB, free: 17.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4912, allocations: 0.7812 kB / 0.5001 GB, free: 17.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.4916, allocations: 338.5 kB / 0.5004 GB, free: 17.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.4929, allocations: 167.6 kB / 0.5006 GB, free: 17.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007449/0.5003, allocations: 3.752 MB / 0.5042 GB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002224/0.5026, allocations: 1.792 MB / 0.506 GB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002939/0.5056, allocations: 1.113 MB / 0.5071 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/0.506, allocations: 114.4 kB / 0.5072 GB, free: 14.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.506, allocations: 0 / 0.5072 GB, free: 14.59 MB / 382.1 MB Notification: Performance of Templates: time 0.02599/0.532, allocations: 12.67 MB / 0.5195 GB, free: 4.754 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)