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.004656/0.004656, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.001136/0.001136, allocations: 196 kB / 16.79 MB, free: 6.238 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.276/1.276, allocations: 205.1 MB / 222.6 MB, free: 4.746 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.3121/0.3121, allocations: 43.5 MB / 313.5 MB, free: 8.531 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.001319/0.001319, allocations: 70.56 kB / 382.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1026, allocations: 57.78 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.009587/0.1123, allocations: 9.219 MB / 449.1 MB, free: 5.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004691/0.117, allocations: 2.396 MB / 451.5 MB, free: 3.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005846/0.1176, allocations: 31.94 kB / 451.6 MB, free: 3.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.1187, allocations: 494.4 kB / 452 MB, free: 2.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.1198, allocations: 0.6423 MB / 452.7 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.086e-05/0.1199, allocations: 15.94 kB / 452.7 MB, free: 1.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1753/0.2952, allocations: 2.052 MB / 454.8 MB, free: 37.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009792/0.2962, allocations: 0.7218 MB / 455.5 MB, free: 37.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005065/0.2968, allocations: 428.2 kB / 455.9 MB, free: 37.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006298/0.2974, allocations: 0.7367 MB / 456.6 MB, free: 37.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.2975, allocations: 60.59 kB / 456.7 MB, free: 37.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004914/0.298, allocations: 287 kB / 457 MB, free: 37.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003822/0.2984, allocations: 0.6574 MB / 457.6 MB, free: 37.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005115/0.2989, allocations: 0.8278 MB / 458.5 MB, free: 36.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.3005, allocations: 2.503 MB / 461 MB, free: 36.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3005, allocations: 2.938 kB / 461 MB, free: 36.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3005, allocations: 0 / 461 MB, free: 36.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.225e-05/0.3006, allocations: 0.9062 kB / 461 MB, free: 36.59 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.002324/0.3029, allocations: 1.973 MB / 462.9 MB, free: 35.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3029, allocations: 12.78 kB / 462.9 MB, free: 35.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002986/0.3032, allocations: 342.3 kB / 463.3 MB, free: 35.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003987/0.3072, allocations: 1.466 MB / 464.7 MB, free: 35.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.3083, allocations: 0.8583 MB / 465.6 MB, free: 35.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.3084, allocations: 77.8 kB / 465.7 MB, free: 35.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.3085, allocations: 105.4 kB / 465.8 MB, free: 35.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003871/0.3124, allocations: 4.621 MB / 470.4 MB, free: 33.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.3125, allocations: 21.33 kB / 470.4 MB, free: 33.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.3126, allocations: 53.88 kB / 470.5 MB, free: 33.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001324/0.3139, allocations: 1.101 MB / 471.6 MB, free: 33.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004761/0.3187, allocations: 4.014 MB / 475.6 MB, free: 32.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.3328, allocations: 18.47 MB / 494.1 MB, free: 18.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.334, allocations: 1.184 MB / 495.2 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003881/0.3344, allocations: 343.6 kB / 495.6 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.3344, allocations: 8.422 kB / 495.6 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.3345, allocations: 42 kB / 495.6 MB, free: 17.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.206e-06/0.3345, allocations: 1.375 kB / 495.6 MB, free: 17.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001482/0.336, allocations: 1.029 MB / 496.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.336, allocations: 107.7 kB / 496.8 MB, free: 16.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002811/0.3388, allocations: 2.199 MB / 499 MB, free: 15.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.3389, allocations: 36.33 kB / 499 MB, free: 15.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009085/0.3398, allocations: 1.623 MB / 0.4889 GB, free: 14.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.34, allocations: 263.8 kB / 0.4891 GB, free: 14.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007611/0.3408, allocations: 0.6721 MB / 0.4898 GB, free: 14.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3409, allocations: 357.7 kB / 0.4901 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.3422, allocations: 0.8967 MB / 0.491 GB, free: 13.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/0.3443, allocations: 3.178 MB / 0.4941 GB, free: 10.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003762/0.348, allocations: 4.441 MB / 0.4985 GB, free: 6.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.322e-05/0.3481, allocations: 27.38 kB / 0.4985 GB, free: 6.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005558/0.3536, allocations: 3.84 MB / 0.5022 GB, free: 4.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/0.3537, allocations: 43.56 kB / 0.5023 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.174e-05/0.3538, allocations: 82.69 kB / 0.5024 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001203/0.3539, allocations: 105 kB / 0.5025 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/0.356, allocations: 0.7566 MB / 0.5032 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001471/0.3561, allocations: 160.2 kB / 0.5033 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/0.3584, allocations: 487.8 kB / 0.5038 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/0.3587, allocations: 217.4 kB / 0.504 GB, free: 4.27 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.001409/0.3602, allocations: 1.103 MB / 0.5051 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.3604, allocations: 170.7 kB / 0.5053 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.3607, allocations: 203.1 kB / 0.5055 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.3607, allocations: 8.438 kB / 0.5055 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.3607, allocations: 1.469 kB / 0.5055 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.485e-06/0.3608, allocations: 2.719 kB / 0.5055 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.3637, allocations: 2.01 MB / 0.5074 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3637, allocations: 4 kB / 0.5074 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.364, allocations: 63.33 kB / 0.5075 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.364, allocations: 3.656 kB / 0.5075 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.3641, allocations: 8 kB / 0.5075 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.3641, allocations: 8.266 kB / 0.5075 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3641, allocations: 0 / 0.5075 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008632/0.365, allocations: 1.03 MB / 0.5085 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.3652, allocations: 236.6 kB / 0.5087 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.3653, allocations: 13.16 kB / 0.5088 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/0.3658, allocations: 27.08 kB / 0.5088 GB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.3659, allocations: 23.69 kB / 0.5088 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.3659, allocations: 15.5 kB / 0.5088 GB, free: 1.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00135/0.3673, allocations: 1.375 MB / 0.5102 GB, free: 1.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3673, allocations: 0 / 0.5102 GB, free: 1.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002035/0.3693, allocations: 0.4927 MB / 0.5106 GB, free: 1.238 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.001063/0.3704, allocations: 1.643 MB / 0.5122 GB, free: 132 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00265/0.373, allocations: 2.046 MB / 0.5142 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3731, allocations: 4.906 kB / 0.5142 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.3734, allocations: 340.5 kB / 0.5146 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.3744, allocations: 160.5 kB / 0.5147 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/0.4011, allocations: 22.2 MB / 0.5364 GB, free: 5.207 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.4026, allocations: 1.795 MB / 0.5382 GB, free: 3.383 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002275/0.4049, allocations: 1.115 MB / 0.5392 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008047/0.4057, allocations: 0.7297 MB / 0.54 GB, free: 1.535 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4057, allocations: 0 / 0.54 GB, free: 1.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/0.5118, allocations: 27.94 MB / 0.5672 GB, free: 5.641 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/0.5121, allocations: 211.3 kB / 0.5674 GB, free: 5.383 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/2.937, allocations: 4 kB / 0.5674 GB, free: 5.379 MB / 446.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)