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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 102.8 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.394/1.394, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1985/0.1985, allocations: 43.51 MB / 313.9 MB, free: 0.5312 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.001551/0.001551, allocations: 66.73 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09505/0.09662, allocations: 57.8 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.005413/0.1021, allocations: 5.71 MB / 446.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.1054, allocations: 1.827 MB / 448.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007154/0.1061, allocations: 20 kB / 448.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.1075, allocations: 0.5019 MB / 448.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.109, allocations: 0.6808 MB / 449.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001151/0.1092, allocations: 19.97 kB / 449.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.1106, allocations: 1.448 MB / 450.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007527/0.1113, allocations: 0.7151 MB / 451.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004712/0.1118, allocations: 494 kB / 452 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007625/0.1126, allocations: 0.681 MB / 452.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.1128, allocations: 88 kB / 452.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005373/0.1133, allocations: 303.5 kB / 453.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005033/0.1138, allocations: 0.666 MB / 453.8 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006476/0.1145, allocations: 0.8342 MB / 454.6 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.1167, allocations: 2.527 MB / 457.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1167, allocations: 0 / 457.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1168, allocations: 0 / 457.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.35e-05/0.1168, allocations: 0 / 457.1 MB, free: 6.23 MB / 334.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.002923/0.1197, allocations: 1.978 MB / 459.1 MB, free: 4.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1198, allocations: 11.89 kB / 459.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003614/0.1201, allocations: 352.1 kB / 459.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00483/0.125, allocations: 1.464 MB / 460.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.1263, allocations: 0.8473 MB / 461.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.1263, allocations: 82.03 kB / 461.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.1265, allocations: 95.92 kB / 461.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004881/0.1314, allocations: 4.63 MB / 466.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.1315, allocations: 19.81 kB / 466.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.1316, allocations: 55.91 kB / 466.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001629/0.1333, allocations: 1.103 MB / 467.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005396/0.1387, allocations: 4.004 MB / 471.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01757/0.1563, allocations: 18.49 MB / 490.2 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.1578, allocations: 1.174 MB / 491.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/0.1583, allocations: 342.4 kB / 491.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1583, allocations: 4 kB / 491.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.1584, allocations: 38.5 kB / 491.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of pre-optimization done (n=60): time 4.198e-06/0.1584, allocations: 0 / 491.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of matching and sorting (n=60): time 0.001677/0.1601, allocations: 1.036 MB / 492.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/0.1602, allocations: 114.7 kB / 492.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003224/0.1634, allocations: 2.2 MB / 495.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.1634, allocations: 33.7 kB / 495.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.1648, allocations: 1.617 MB / 496.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.1651, allocations: 268.9 kB / 497 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008616/0.166, allocations: 0.6705 MB / 497.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1661, allocations: 365.9 kB / 498.1 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.1675, allocations: 0.8926 MB / 499 MB, free: 10.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003026/0.1705, allocations: 3.17 MB / 0.4904 GB, free: 6.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004888/0.1754, allocations: 4.435 MB / 0.4947 GB, free: 1.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.356e-05/0.1755, allocations: 24.19 kB / 0.4947 GB, free: 1.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.00599/0.1815, allocations: 3.847 MB / 0.4985 GB, free: 13.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.765e-05/0.1816, allocations: 40 kB / 0.4985 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/0.1817, allocations: 80 kB / 0.4986 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/0.1818, allocations: 111.9 kB / 0.4987 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/0.184, allocations: 0.7563 MB / 0.4994 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001262/0.1841, allocations: 159.4 kB / 0.4996 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.1864, allocations: 487.1 kB / 0.5001 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003012/0.1867, allocations: 228 kB / 0.5003 GB, free: 11.33 MB / 398.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.001485/0.1882, allocations: 1.097 MB / 0.5013 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.1885, allocations: 169.8 kB / 0.5015 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.1888, allocations: 200 kB / 0.5017 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.1889, allocations: 8 kB / 0.5017 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.1889, allocations: 0 / 0.5017 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.1889, allocations: 4 kB / 0.5017 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003265/0.1922, allocations: 2.023 MB / 0.5037 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.1922, allocations: 4 kB / 0.5037 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.1925, allocations: 63.89 kB / 0.5037 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.1925, allocations: 4 kB / 0.5038 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.1926, allocations: 15.92 kB / 0.5038 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1926, allocations: 0 / 0.5038 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1926, allocations: 0 / 0.5038 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.1937, allocations: 1.03 MB / 0.5048 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/0.1941, allocations: 234.8 kB / 0.505 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.1943, allocations: 7.938 kB / 0.505 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/0.1948, allocations: 27.91 kB / 0.505 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.1949, allocations: 23.97 kB / 0.5051 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.1949, allocations: 16 kB / 0.5051 GB, free: 6.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001805/0.1967, allocations: 1.375 MB / 0.5064 GB, free: 4.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1967, allocations: 0 / 0.5064 GB, free: 4.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002255/0.199, allocations: 0.491 MB / 0.5069 GB, free: 4.402 MB / 398.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.001541/0.2006, allocations: 1.628 MB / 0.5085 GB, free: 2.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003177/0.2037, allocations: 2.148 MB / 0.5106 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.2038, allocations: 4 kB / 0.5106 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003873/0.2042, allocations: 328.2 kB / 0.5109 GB, free: 296 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.2053, allocations: 176.5 kB / 0.5111 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2124/0.4177, allocations: 21.44 MB / 0.532 GB, free: 83.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/0.4194, allocations: 1.788 MB / 0.5338 GB, free: 82.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00265/0.4221, allocations: 1.112 MB / 0.5348 GB, free: 82.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000862/0.4229, allocations: 0.7295 MB / 0.5355 GB, free: 82.72 MB / 414.1 MB Notification: Performance of SimCode: time 8.81e-07/0.423, allocations: 1.375 kB / 0.5356 GB, free: 82.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05155/0.4745, allocations: 28.48 MB / 0.5634 GB, free: 62.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.64/10.11, allocations: 15.98 kB / 0.5634 GB, free: 62.08 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)