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.0009826/0.0009827, allocations: 102.9 kB / 16.02 MB, free: 76 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.0008645/0.0008645, allocations: 185.1 kB / 16.92 MB, free: 6.918 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.313/1.313, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.2992/0.2992, allocations: 43.57 MB / 315 MB, free: 9.09 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.0004961/0.0004961, allocations: 19.98 kB / 384.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1184, allocations: 58.87 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008801/0.1272, allocations: 8.732 MB / 452.3 MB, free: 4.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004882/0.1321, allocations: 2.373 MB / 454.6 MB, free: 1.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.1334, allocations: 31.94 kB / 454.7 MB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006702/0.1341, allocations: 207.1 kB / 454.9 MB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.1358, allocations: 0.6462 MB / 455.5 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.1359, allocations: 15.98 kB / 455.5 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1906/0.3265, allocations: 2.048 MB / 457.6 MB, free: 36.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.3278, allocations: 0.9301 MB / 458.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004369/0.3282, allocations: 413.1 kB / 458.9 MB, free: 36.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006171/0.3288, allocations: 0.7175 MB / 459.6 MB, free: 36.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.3289, allocations: 51.72 kB / 459.7 MB, free: 36.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004438/0.3294, allocations: 278.6 kB / 460 MB, free: 36.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003819/0.3298, allocations: 0.6541 MB / 460.6 MB, free: 36.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004394/0.3302, allocations: 0.8329 MB / 461.5 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.3317, allocations: 2.461 MB / 463.9 MB, free: 35.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3317, allocations: 0 / 463.9 MB, free: 35.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3317, allocations: 0 / 463.9 MB, free: 35.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.246e-05/0.3317, allocations: 0 / 463.9 MB, free: 35.42 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.001733/0.3335, allocations: 1.649 MB / 465.6 MB, free: 34.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3335, allocations: 9.375 kB / 465.6 MB, free: 34.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002675/0.3338, allocations: 344.9 kB / 465.9 MB, free: 34.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004301/0.3381, allocations: 1.508 MB / 467.4 MB, free: 34.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.3391, allocations: 0.8634 MB / 468.3 MB, free: 33.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/0.3392, allocations: 75.48 kB / 468.4 MB, free: 33.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.3394, allocations: 105.2 kB / 468.5 MB, free: 33.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004031/0.3434, allocations: 4.625 MB / 473.1 MB, free: 32.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.3435, allocations: 19.34 kB / 473.1 MB, free: 32.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.3436, allocations: 58.03 kB / 473.2 MB, free: 32.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00135/0.345, allocations: 1.1 MB / 474.3 MB, free: 32.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00485/0.3498, allocations: 4.011 MB / 478.3 MB, free: 32.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01499/0.3648, allocations: 18.49 MB / 496.8 MB, free: 18.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.3661, allocations: 1.18 MB / 497.9 MB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.3666, allocations: 342.2 kB / 498.3 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.3666, allocations: 4.594 kB / 498.3 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.3666, allocations: 40.38 kB / 498.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.936e-06/0.3666, allocations: 2.344 kB / 498.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001432/0.368, allocations: 1.028 MB / 499.3 MB, free: 16.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.3681, allocations: 111.7 kB / 499.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/0.3709, allocations: 2.206 MB / 0.4899 GB, free: 15.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.3709, allocations: 31.08 kB / 0.4899 GB, free: 15.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007786/0.3717, allocations: 1.625 MB / 0.4915 GB, free: 14.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.3719, allocations: 263.9 kB / 0.4918 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.3722, allocations: 281.9 kB / 0.492 GB, free: 14.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.337e-05/0.3723, allocations: 359.4 kB / 0.4924 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.3735, allocations: 0.8961 MB / 0.4933 GB, free: 13.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.3756, allocations: 3.168 MB / 0.4963 GB, free: 10.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003581/0.3792, allocations: 4.445 MB / 0.5007 GB, free: 6.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.891e-05/0.3793, allocations: 31.94 kB / 0.5007 GB, free: 6.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005373/0.3847, allocations: 3.842 MB / 0.5045 GB, free: 4.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.355e-05/0.3848, allocations: 39.16 kB / 0.5045 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.3849, allocations: 82.03 kB / 0.5046 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.385, allocations: 108.3 kB / 0.5047 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/0.3868, allocations: 0.7514 MB / 0.5054 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001188/0.387, allocations: 162.3 kB / 0.5056 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.3889, allocations: 491.1 kB / 0.506 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/0.3892, allocations: 216.8 kB / 0.5063 GB, free: 4.195 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.001426/0.3906, allocations: 1.103 MB / 0.5073 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.3909, allocations: 165.4 kB / 0.5075 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.3912, allocations: 202.1 kB / 0.5077 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.3912, allocations: 11.72 kB / 0.5077 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.3912, allocations: 2.125 kB / 0.5077 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3912, allocations: 5.141 kB / 0.5077 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.3939, allocations: 2.014 MB / 0.5097 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.394, allocations: 3.875 kB / 0.5097 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.3942, allocations: 63.98 kB / 0.5097 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3942, allocations: 6.094 kB / 0.5097 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.3942, allocations: 11.16 kB / 0.5097 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.3943, allocations: 3.938 kB / 0.5098 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3943, allocations: 3.656 kB / 0.5098 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/0.3951, allocations: 1.029 MB / 0.5108 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.3953, allocations: 243.9 kB / 0.511 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.3954, allocations: 7.031 kB / 0.511 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/0.3959, allocations: 34.36 kB / 0.511 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.396, allocations: 21.59 kB / 0.5111 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.396, allocations: 18.2 kB / 0.5111 GB, free: 1.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001464/0.3975, allocations: 1.376 MB / 0.5124 GB, free: 1.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3975, allocations: 3.312 kB / 0.5124 GB, free: 1.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002096/0.3996, allocations: 499.2 kB / 0.5129 GB, free: 1.16 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.001119/0.4007, allocations: 1.633 MB / 0.5145 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003071/0.4038, allocations: 2.044 MB / 0.5165 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4038, allocations: 4.438 kB / 0.5165 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004319/0.4043, allocations: 351.5 kB / 0.5168 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.4054, allocations: 151.6 kB / 0.517 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0286/0.434, allocations: 22.25 MB / 0.5387 GB, free: 3.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/0.4355, allocations: 1.786 MB / 0.5404 GB, free: 1.734 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002366/0.4379, allocations: 1.113 MB / 0.5415 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008755/0.4388, allocations: 0.7298 MB / 0.5422 GB, free: 15.88 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4388, allocations: 0 / 0.5422 GB, free: 15.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0471/0.4859, allocations: 27.78 MB / 0.5694 GB, free: 4.172 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.4861, allocations: 210.3 kB / 0.5696 GB, free: 3.914 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/3.019, allocations: 0 / 0.5696 GB, free: 3.914 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)