Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001528/0.001528, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001131, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2903/0.2903, allocations: 43.56 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008191/0.0008194, allocations: 20 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1347, allocations: 58.87 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.01304/0.1478, allocations: 7.792 MB / 498 MB, free: 1.504 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006539/0.1544, allocations: 2.308 MB / 0.4886 GB, free: 15.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.1558, allocations: 31.94 kB / 0.4886 GB, free: 15.15 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.1571, allocations: 342.4 kB / 0.489 GB, free: 14.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004709/0.1618, allocations: 1.184 MB / 0.4901 GB, free: 13.63 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.1623, allocations: 19.98 kB / 0.4901 GB, free: 13.61 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002186/0.1645, allocations: 0.8303 MB / 0.4909 GB, free: 12.78 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/0.1665, allocations: 0.8864 MB / 0.4918 GB, free: 11.85 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007976/0.1674, allocations: 382.5 kB / 0.4922 GB, free: 11.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.1685, allocations: 0.5099 MB / 0.4927 GB, free: 10.96 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002881/0.1688, allocations: 52 kB / 0.4927 GB, free: 10.91 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008696/0.1697, allocations: 263.6 kB / 0.493 GB, free: 10.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000952/0.1706, allocations: 0.5805 MB / 0.4935 GB, free: 10.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000495/0.1712, allocations: 368.5 kB / 0.4939 GB, free: 9.707 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003406/0.1746, allocations: 1.992 MB / 0.4958 GB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1746, allocations: 3.938 kB / 0.4958 GB, free: 7.707 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1747, allocations: 0 / 0.4958 GB, free: 7.707 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.169e-05/0.1747, allocations: 4 kB / 0.4958 GB, free: 7.703 MB / 346.7 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.004203/0.179, allocations: 1.67 MB / 0.4975 GB, free: 5.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.179, allocations: 8.031 kB / 0.4975 GB, free: 5.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.1898, allocations: 1.787 MB / 0.4992 GB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/0.1926, allocations: 0.8463 MB / 0.5001 GB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.1927, allocations: 73.91 kB / 0.5001 GB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004597/0.1932, allocations: 103.9 kB / 0.5002 GB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.2034, allocations: 4.614 MB / 0.5047 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.88e-05/0.2035, allocations: 19.81 kB / 0.5047 GB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002868/0.2038, allocations: 51.92 kB / 0.5048 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003227/0.207, allocations: 1.099 MB / 0.5059 GB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.2181, allocations: 3.988 MB / 0.5098 GB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3508/0.569, allocations: 18.48 MB / 0.5278 GB, free: 28.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.5712, allocations: 1.186 MB / 0.529 GB, free: 28.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.5713, allocations: 5.203 kB / 0.529 GB, free: 28.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.5713, allocations: 44.5 kB / 0.529 GB, free: 28.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 4.318e-06/0.5713, allocations: 0 / 0.529 GB, free: 28.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.002791/0.5741, allocations: 1.274 MB / 0.5303 GB, free: 27.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.5742, allocations: 111.7 kB / 0.5304 GB, free: 27.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004903/0.5791, allocations: 2.199 MB / 0.5325 GB, free: 26.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.5793, allocations: 35.77 kB / 0.5326 GB, free: 26.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.5807, allocations: 1.636 MB / 0.5342 GB, free: 25.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004116/0.5812, allocations: 270.7 kB / 0.5344 GB, free: 25.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.5814, allocations: 61.25 kB / 0.5345 GB, free: 25.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002741/0.5817, allocations: 460.7 kB / 0.5349 GB, free: 24.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/0.584, allocations: 0.8798 MB / 0.5358 GB, free: 24.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004043/0.5881, allocations: 3.148 MB / 0.5388 GB, free: 21.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004185/0.5923, allocations: 1.681 MB / 0.5405 GB, free: 20.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/0.5925, allocations: 23.53 kB / 0.5405 GB, free: 20.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.01031/0.6028, allocations: 3.772 MB / 0.5442 GB, free: 19.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.338e-05/0.6029, allocations: 44.38 kB / 0.5442 GB, free: 19.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/0.6031, allocations: 80.59 kB / 0.5443 GB, free: 19.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.6033, allocations: 117.8 kB / 0.5444 GB, free: 19.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004116/0.6074, allocations: 0.7544 MB / 0.5452 GB, free: 19.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001366/0.6076, allocations: 159.1 kB / 0.5453 GB, free: 19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/0.6111, allocations: 0.4893 MB / 0.5458 GB, free: 18.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005805/0.6117, allocations: 213 kB / 0.546 GB, free: 18.66 MB / 362.7 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.002215/0.6139, allocations: 1.096 MB / 0.5471 GB, free: 18.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003834/0.6143, allocations: 166.6 kB / 0.5472 GB, free: 18.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004307/0.6148, allocations: 200.2 kB / 0.5474 GB, free: 17.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/0.6148, allocations: 9.234 kB / 0.5474 GB, free: 17.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.6148, allocations: 2.531 kB / 0.5474 GB, free: 17.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.6148, allocations: 3.328 kB / 0.5474 GB, free: 17.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004575/0.6194, allocations: 2.017 MB / 0.5494 GB, free: 17.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.6195, allocations: 0 / 0.5494 GB, free: 17.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005447/0.62, allocations: 61.08 kB / 0.5495 GB, free: 17.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.6201, allocations: 0 / 0.5495 GB, free: 17.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.392e-05/0.6201, allocations: 19.53 kB / 0.5495 GB, free: 17.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.6201, allocations: 7.125 kB / 0.5495 GB, free: 17.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6201, allocations: 0 / 0.5495 GB, free: 17.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.6217, allocations: 1.06 MB / 0.5505 GB, free: 16.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/0.6221, allocations: 237.2 kB / 0.5507 GB, free: 16.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.6224, allocations: 12.78 kB / 0.5508 GB, free: 16.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008718/0.6233, allocations: 22.94 kB / 0.5508 GB, free: 16.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.6234, allocations: 29.98 kB / 0.5508 GB, free: 16.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.898e-05/0.6235, allocations: 15.06 kB / 0.5508 GB, free: 16.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002664/0.6262, allocations: 1.369 MB / 0.5522 GB, free: 15.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6262, allocations: 0 / 0.5522 GB, free: 15.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003466/0.6297, allocations: 0.4923 MB / 0.5526 GB, free: 15.6 MB / 362.7 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.0003403/0.6301, allocations: 127.3 kB / 0.5528 GB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004368/0.6344, allocations: 2.023 MB / 0.5547 GB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.6345, allocations: 4.062 kB / 0.5547 GB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006165/0.6351, allocations: 337 kB / 0.5551 GB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.6363, allocations: 157.4 kB / 0.5552 GB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008934/0.6453, allocations: 4.606 MB / 0.5597 GB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002106/0.6474, allocations: 1.837 MB / 0.5615 GB, free: 7.141 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005916/0.6481, allocations: 139.4 kB / 0.5616 GB, free: 7.004 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6481, allocations: 0 / 0.5616 GB, free: 7.004 MB / 362.7 MB Notification: Performance of Templates: time 0.05538/0.7035, allocations: 24.87 MB / 0.5859 GB, free: 14.17 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)