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.0008381/0.0008384, allocations: 96.62 kB / 15.7 MB, free: 468 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.0009939/0.0009939, allocations: 169.5 kB / 16.57 MB, free: 5.684 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.683/1.683, allocations: 205.4 MB / 222.7 MB, free: 5.77 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.3918/0.3918, allocations: 43.57 MB / 314.6 MB, free: 8.66 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.0005726/0.0005727, allocations: 16 kB / 383.9 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1326, allocations: 58.87 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.009237/0.1419, allocations: 8.187 MB / 451 MB, free: 4.824 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00488/0.1468, allocations: 2.241 MB / 453.2 MB, free: 2.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.148, allocations: 27.94 kB / 453.3 MB, free: 2.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.1491, allocations: 382.3 kB / 453.6 MB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.1517, allocations: 1.109 MB / 454.8 MB, free: 1.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.1519, allocations: 15.98 kB / 454.8 MB, free: 1.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2556/0.4075, allocations: 1.579 MB / 456.3 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.4092, allocations: 0.8749 MB / 457.2 MB, free: 36.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007126/0.4099, allocations: 462.1 kB / 457.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000841/0.4108, allocations: 0.7026 MB / 458.4 MB, free: 36.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.4109, allocations: 51.78 kB / 458.4 MB, free: 36.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005796/0.4115, allocations: 266.8 kB / 458.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005341/0.4121, allocations: 0.6227 MB / 459.3 MB, free: 36.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.4124, allocations: 369 kB / 459.7 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.4138, allocations: 1.999 MB / 461.7 MB, free: 36.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4138, allocations: 0 / 461.7 MB, free: 36.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 5e-06/0.4138, allocations: 3.141 kB / 461.7 MB, free: 36.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.615e-05/0.4138, allocations: 0 / 461.7 MB, free: 36.28 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.002076/0.4159, allocations: 1.663 MB / 463.3 MB, free: 35.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.416, allocations: 11.14 kB / 463.3 MB, free: 35.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004145/0.4201, allocations: 1.512 MB / 464.9 MB, free: 35.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.4218, allocations: 0.843 MB / 465.7 MB, free: 34.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.254e-05/0.4219, allocations: 77.75 kB / 465.8 MB, free: 34.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.4221, allocations: 101.6 kB / 465.9 MB, free: 34.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007385/0.4295, allocations: 4.62 MB / 470.5 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.212e-05/0.4296, allocations: 19.47 kB / 470.5 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/0.4298, allocations: 60.45 kB / 470.6 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001857/0.4316, allocations: 1.097 MB / 471.7 MB, free: 33.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007444/0.4391, allocations: 3.991 MB / 475.7 MB, free: 33.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02127/0.4604, allocations: 18.48 MB / 494.1 MB, free: 21.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.462, allocations: 1.172 MB / 495.3 MB, free: 20.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/0.4626, allocations: 344.4 kB / 495.7 MB, free: 20.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.4626, allocations: 15.06 kB / 495.7 MB, free: 20.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.4626, allocations: 38.41 kB / 495.7 MB, free: 20 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.186e-06/0.4627, allocations: 0 / 495.7 MB, free: 20 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001967/0.4646, allocations: 1.02 MB / 496.7 MB, free: 19.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.4647, allocations: 112.5 kB / 496.8 MB, free: 19.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004497/0.4692, allocations: 2.196 MB / 499 MB, free: 18.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.4693, allocations: 35.05 kB / 499.1 MB, free: 18.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001365/0.4706, allocations: 1.62 MB / 0.4889 GB, free: 17.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003259/0.471, allocations: 265.3 kB / 0.4892 GB, free: 17.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.4711, allocations: 64.64 kB / 0.4893 GB, free: 17.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000352/0.4715, allocations: 0.4959 MB / 0.4897 GB, free: 16.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.4731, allocations: 0.8796 MB / 0.4906 GB, free: 16.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00278/0.4759, allocations: 3.159 MB / 0.4937 GB, free: 13.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/0.4787, allocations: 1.684 MB / 0.4953 GB, free: 12.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001452/0.4788, allocations: 22.72 kB / 0.4954 GB, free: 12.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007304/0.4862, allocations: 3.813 MB / 0.4991 GB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-05/0.4863, allocations: 40.36 kB / 0.4991 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002417/0.4865, allocations: 85.59 kB / 0.4992 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002646/0.4868, allocations: 117.2 kB / 0.4993 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/0.4892, allocations: 0.7503 MB / 0.5 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002649/0.4895, allocations: 158.9 kB / 0.5002 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/0.4924, allocations: 491.4 kB / 0.5007 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005052/0.4929, allocations: 215.1 kB / 0.5009 GB, free: 10.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002255/0.4952, allocations: 1.105 MB / 0.502 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004277/0.4956, allocations: 173.1 kB / 0.5021 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004962/0.4961, allocations: 202.1 kB / 0.5023 GB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/0.4961, allocations: 9.156 kB / 0.5023 GB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.4962, allocations: 1.094 kB / 0.5023 GB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4962, allocations: 4.297 kB / 0.5023 GB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004586/0.5008, allocations: 2.005 MB / 0.5043 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.5008, allocations: 8.219 kB / 0.5043 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003504/0.5012, allocations: 63.33 kB / 0.5043 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/0.5012, allocations: 2.828 kB / 0.5044 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.5012, allocations: 9 kB / 0.5044 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.507e-06/0.5013, allocations: 1.188 kB / 0.5044 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.5013, allocations: 1.656 kB / 0.5044 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.5033, allocations: 1.037 MB / 0.5054 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008604/0.5041, allocations: 240.2 kB / 0.5056 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006207/0.5048, allocations: 7.266 kB / 0.5056 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009854/0.5058, allocations: 25.44 kB / 0.5056 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.5059, allocations: 25.03 kB / 0.5057 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/0.5059, allocations: 19.44 kB / 0.5057 GB, free: 8.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002639/0.5086, allocations: 1.367 MB / 0.507 GB, free: 7.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5086, allocations: 0 / 0.507 GB, free: 7.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003723/0.5123, allocations: 0.5027 MB / 0.5075 GB, free: 7.398 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004388/0.5128, allocations: 129.7 kB / 0.5076 GB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00363/0.5164, allocations: 2.032 MB / 0.5096 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.5164, allocations: 0 / 0.5096 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.5169, allocations: 336 kB / 0.5099 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.5185, allocations: 160.1 kB / 0.5101 GB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007209/0.5257, allocations: 4.407 MB / 0.5144 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/0.5275, allocations: 1.787 MB / 0.5161 GB, free: 456 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002689/0.5302, allocations: 1.109 MB / 0.5172 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/0.5306, allocations: 119.4 kB / 0.5173 GB, free: 15.21 MB / 398.1 MB Notification: Performance of SimCode: time 1.914e-06/0.5306, allocations: 0 / 0.5173 GB, free: 15.21 MB / 398.1 MB Notification: Performance of Templates: time 0.02734/0.558, allocations: 11.98 MB / 0.529 GB, free: 3.34 MB / 398.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)