Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001255/0.001254, 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.001432/0.001431, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.622/1.622, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3481/0.3481, allocations: 39.94 MB / 309.7 MB, free: 9.398 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.2. 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.001495/0.001495, allocations: 63.89 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1278, allocations: 56.89 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007493/0.1354, allocations: 5.705 MB / 440.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003754/0.1392, allocations: 1.835 MB / 442 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005637/0.1398, allocations: 27.94 kB / 442.1 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.141, allocations: 0.5058 MB / 442.6 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.1426, allocations: 0.6691 MB / 443.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001081/0.1427, allocations: 15.97 kB / 443.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.1445, allocations: 1.441 MB / 444.7 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009086/0.1454, allocations: 0.7151 MB / 445.4 MB, free: 8.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005844/0.146, allocations: 490 kB / 445.9 MB, free: 8.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007791/0.1468, allocations: 0.681 MB / 446.6 MB, free: 7.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.1469, allocations: 88 kB / 446.7 MB, free: 7.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005859/0.1475, allocations: 303.5 kB / 446.9 MB, free: 7.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005136/0.148, allocations: 0.6699 MB / 447.6 MB, free: 6.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006663/0.1487, allocations: 0.8381 MB / 448.5 MB, free: 5.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.151, allocations: 2.519 MB / 451 MB, free: 3.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.151, allocations: 0 / 451 MB, free: 3.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.151, allocations: 4 kB / 451 MB, free: 3.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.111e-05/0.1511, allocations: 4 kB / 451 MB, free: 3.117 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.002901/0.154, allocations: 1.974 MB / 453 MB, free: 1.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.154, allocations: 15.89 kB / 453 MB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2387/0.3927, allocations: 1.474 MB / 454.4 MB, free: 47.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.395, allocations: 0.8466 MB / 455.3 MB, free: 47.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.941e-05/0.3951, allocations: 77.92 kB / 455.4 MB, free: 47.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004212/0.3955, allocations: 97.92 kB / 455.5 MB, free: 47.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005143/0.4007, allocations: 4.635 MB / 460.1 MB, free: 45.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.4007, allocations: 17.5 kB / 460.1 MB, free: 45.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.4009, allocations: 57.31 kB / 460.2 MB, free: 45.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001539/0.4024, allocations: 1.101 MB / 461.3 MB, free: 45.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005451/0.4079, allocations: 4.009 MB / 465.3 MB, free: 44.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/0.4238, allocations: 18.48 MB / 483.8 MB, free: 30.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.4251, allocations: 1.174 MB / 484.9 MB, free: 29.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/0.4256, allocations: 345.3 kB / 485.3 MB, free: 29.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.4256, allocations: 2.906 kB / 485.3 MB, free: 29.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.4256, allocations: 44.69 kB / 485.3 MB, free: 29.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 4.198e-06/0.4256, allocations: 0 / 485.3 MB, free: 29.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001482/0.4271, allocations: 1.036 MB / 486.4 MB, free: 29.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.4272, allocations: 105.9 kB / 486.5 MB, free: 29.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00309/0.4303, allocations: 2.194 MB / 488.7 MB, free: 28.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.4304, allocations: 36.52 kB / 488.7 MB, free: 28.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009594/0.4313, allocations: 1.623 MB / 490.3 MB, free: 27.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.4317, allocations: 260.3 kB / 490.6 MB, free: 26.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008202/0.4325, allocations: 0.6767 MB / 491.2 MB, free: 26.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.4326, allocations: 355.2 kB / 491.6 MB, free: 26.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.4338, allocations: 0.9012 MB / 492.5 MB, free: 25.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/0.4362, allocations: 3.166 MB / 495.7 MB, free: 22.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004494/0.4408, allocations: 4.451 MB / 0.4884 GB, free: 18.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001587/0.4409, allocations: 28.09 kB / 0.4884 GB, free: 18.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007481/0.4484, allocations: 3.841 MB / 0.4922 GB, free: 16.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.4486, allocations: 50.28 kB / 0.4922 GB, free: 16.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002367/0.4489, allocations: 81.62 kB / 0.4923 GB, free: 16.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.4491, allocations: 106.5 kB / 0.4924 GB, free: 16.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/0.4515, allocations: 0.7528 MB / 0.4931 GB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002109/0.4518, allocations: 154.7 kB / 0.4933 GB, free: 16.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/0.4547, allocations: 491.4 kB / 0.4937 GB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005722/0.4553, allocations: 212.2 kB / 0.4939 GB, free: 16.41 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.002221/0.4575, allocations: 1.103 MB / 0.495 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004894/0.458, allocations: 170.2 kB / 0.4952 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005363/0.4586, allocations: 202.1 kB / 0.4954 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/0.4586, allocations: 10.84 kB / 0.4954 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.4586, allocations: 1.375 kB / 0.4954 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.4586, allocations: 1.969 kB / 0.4954 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005452/0.4641, allocations: 2.008 MB / 0.4974 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/0.4641, allocations: 6.016 kB / 0.4974 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.4645, allocations: 63.83 kB / 0.4974 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.601e-05/0.4646, allocations: 1.188 kB / 0.4974 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/0.4646, allocations: 9.766 kB / 0.4974 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.306e-05/0.4647, allocations: 6.469 kB / 0.4974 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/0.4647, allocations: 5.25 kB / 0.4974 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.4665, allocations: 1.021 MB / 0.4984 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006587/0.4672, allocations: 238.2 kB / 0.4987 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004607/0.4677, allocations: 8.297 kB / 0.4987 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005828/0.4683, allocations: 23.22 kB / 0.4987 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.4684, allocations: 31.19 kB / 0.4987 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/0.4684, allocations: 15.66 kB / 0.4987 GB, free: 14.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002447/0.4709, allocations: 1.369 MB / 0.5001 GB, free: 13.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4709, allocations: 0 / 0.5001 GB, free: 13.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003579/0.4745, allocations: 0.501 MB / 0.5006 GB, free: 13.39 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.0003628/0.4748, allocations: 134.5 kB / 0.5007 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004346/0.4792, allocations: 2.138 MB / 0.5028 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.4792, allocations: 1.594 kB / 0.5028 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.4796, allocations: 337.9 kB / 0.5031 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.4808, allocations: 169.3 kB / 0.5033 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006931/0.4877, allocations: 3.755 MB / 0.5069 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/0.4897, allocations: 1.786 MB / 0.5087 GB, free: 9.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002462/0.4922, allocations: 1.112 MB / 0.5098 GB, free: 9.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.4925, allocations: 118.5 kB / 0.5099 GB, free: 9.055 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4925, allocations: 0 / 0.5099 GB, free: 9.055 MB / 382.1 MB Notification: Performance of Templates: time 0.0231/0.5156, allocations: 12.68 MB / 0.5223 GB, free: 14.05 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)