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.0008475/0.0008475, allocations: 96.23 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.0008939/0.0008939, allocations: 166.8 kB / 16.57 MB, free: 5.652 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.4/1.4, allocations: 205.4 MB / 222.7 MB, free: 5.836 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.3686/0.3686, allocations: 43.55 MB / 314.6 MB, free: 8.625 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.0005575/0.0005577, allocations: 20 kB / 384 MB, free: 7.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1195, allocations: 58.86 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008045/0.1276, allocations: 8.191 MB / 451.1 MB, free: 4.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004247/0.1319, allocations: 2.241 MB / 453.3 MB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.1331, allocations: 31.94 kB / 453.3 MB, free: 2.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.1342, allocations: 378.3 kB / 453.7 MB, free: 2.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.1369, allocations: 1.101 MB / 454.8 MB, free: 1.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.1371, allocations: 16 kB / 454.8 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2195/0.3566, allocations: 1.58 MB / 456.4 MB, free: 36.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.358, allocations: 0.8778 MB / 457.3 MB, free: 36.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005299/0.3585, allocations: 461.1 kB / 457.7 MB, free: 36.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000685/0.3592, allocations: 0.7026 MB / 458.4 MB, free: 36.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.3594, allocations: 54.59 kB / 458.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004879/0.3599, allocations: 256.8 kB / 458.7 MB, free: 36.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004061/0.3603, allocations: 0.6312 MB / 459.4 MB, free: 36.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.3605, allocations: 369.8 kB / 459.7 MB, free: 36.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.3617, allocations: 1.998 MB / 461.7 MB, free: 36.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3617, allocations: 4.375 kB / 461.7 MB, free: 36.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3617, allocations: 0 / 461.7 MB, free: 36.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.3618, allocations: 0 / 461.7 MB, free: 36.5 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.001883/0.3637, allocations: 1.669 MB / 463.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3637, allocations: 10.22 kB / 463.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002803/0.364, allocations: 343.7 kB / 463.7 MB, free: 35.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003877/0.3679, allocations: 1.515 MB / 465.3 MB, free: 35.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.369, allocations: 0.8407 MB / 466.1 MB, free: 35.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.3691, allocations: 78.64 kB / 466.2 MB, free: 35.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.3692, allocations: 95.88 kB / 466.3 MB, free: 35.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004361/0.3736, allocations: 4.621 MB / 470.9 MB, free: 33.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.3737, allocations: 20.47 kB / 470.9 MB, free: 33.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.3738, allocations: 57.61 kB / 471 MB, free: 33.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001318/0.3751, allocations: 1.103 MB / 472.1 MB, free: 33.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005068/0.3802, allocations: 3.998 MB / 476.1 MB, free: 33.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01842/0.3986, allocations: 18.47 MB / 494.5 MB, free: 21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.4001, allocations: 1.168 MB / 495.7 MB, free: 20.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/0.4005, allocations: 350.8 kB / 496.1 MB, free: 20.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.4006, allocations: 3.188 kB / 496.1 MB, free: 20.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.4006, allocations: 43.28 kB / 496.1 MB, free: 19.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.417e-06/0.4006, allocations: 3.984 kB / 496.1 MB, free: 19.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001738/0.4024, allocations: 1.024 MB / 497.1 MB, free: 19.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.4024, allocations: 106.8 kB / 497.2 MB, free: 19.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003464/0.4059, allocations: 2.193 MB / 499.4 MB, free: 18.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.907e-05/0.406, allocations: 35.89 kB / 499.5 MB, free: 18.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.407, allocations: 1.623 MB / 0.4893 GB, free: 17.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/0.4073, allocations: 266 kB / 0.4896 GB, free: 17.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.4074, allocations: 62.38 kB / 0.4897 GB, free: 17.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002851/0.4077, allocations: 0.4942 MB / 0.4901 GB, free: 16.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.4091, allocations: 0.8795 MB / 0.491 GB, free: 16.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/0.4113, allocations: 3.16 MB / 0.4941 GB, free: 13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/0.4138, allocations: 1.686 MB / 0.4957 GB, free: 12.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.986e-05/0.4138, allocations: 27.58 kB / 0.4958 GB, free: 12.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.00596/0.4198, allocations: 3.811 MB / 0.4995 GB, free: 10.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-05/0.4199, allocations: 43.06 kB / 0.4995 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001659/0.4201, allocations: 81.53 kB / 0.4996 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.4203, allocations: 121.8 kB / 0.4997 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/0.4225, allocations: 0.7511 MB / 0.5004 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002257/0.4227, allocations: 158.8 kB / 0.5006 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/0.4253, allocations: 493.2 kB / 0.5011 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004596/0.4257, allocations: 213.9 kB / 0.5013 GB, free: 10.39 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.001989/0.4277, allocations: 1.101 MB / 0.5023 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/0.4281, allocations: 174.5 kB / 0.5025 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.4286, allocations: 203.5 kB / 0.5027 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/0.4286, allocations: 9.078 kB / 0.5027 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.4286, allocations: 0 / 0.5027 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.4286, allocations: 3.844 kB / 0.5027 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/0.4327, allocations: 2.008 MB / 0.5047 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.4328, allocations: 0.8438 kB / 0.5047 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.4331, allocations: 68.56 kB / 0.5047 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.4331, allocations: 2.188 kB / 0.5047 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.4331, allocations: 8.781 kB / 0.5048 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.4331, allocations: 2.062 kB / 0.5048 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4332, allocations: 1.344 kB / 0.5048 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.4343, allocations: 1.033 MB / 0.5058 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004563/0.4348, allocations: 240.2 kB / 0.506 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002825/0.4351, allocations: 7.281 kB / 0.506 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/0.4357, allocations: 25.05 kB / 0.506 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.4357, allocations: 25.75 kB / 0.506 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.4358, allocations: 17.59 kB / 0.5061 GB, free: 7.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001881/0.4377, allocations: 1.365 MB / 0.5074 GB, free: 7.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4377, allocations: 4 kB / 0.5074 GB, free: 7.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002751/0.4404, allocations: 0.5026 MB / 0.5079 GB, free: 7.363 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.001411/0.4419, allocations: 1.623 MB / 0.5095 GB, free: 22.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003049/0.4449, allocations: 2.031 MB / 0.5115 GB, free: 21.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4449, allocations: 0 / 0.5115 GB, free: 21.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.4452, allocations: 333.8 kB / 0.5118 GB, free: 21.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.4464, allocations: 168 kB / 0.5119 GB, free: 20.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02417/0.4706, allocations: 13.88 MB / 0.5255 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00216/0.4728, allocations: 1.787 MB / 0.5272 GB, free: 3.445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002627/0.4755, allocations: 1.117 MB / 0.5283 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.4766, allocations: 0.7297 MB / 0.529 GB, free: 1.594 MB / 398.1 MB Notification: Performance of SimCode: time 3.787e-06/0.4766, allocations: 0 / 0.529 GB, free: 1.594 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06253/0.5391, allocations: 32.34 MB / 0.5606 GB, free: 1.336 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.5394, allocations: 194.3 kB / 0.5608 GB, free: 1.094 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.717/3.257, allocations: 7.938 kB / 0.5608 GB, free: 1.086 MB / 430.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/linux/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) Environment - environmentSimulation: