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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008947/0.000895, allocations: 179.4 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.184/1.184, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0007845/0.0007847, allocations: 85.36 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2866/0.2866, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003499, allocations: 12 kB / 432.1 MB, free: 5.707 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09313/0.0935, allocations: 58.84 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007527/0.1011, allocations: 8.202 MB / 499.1 MB, free: 2.543 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004149/0.1052, allocations: 2.237 MB / 0.4896 GB, free: 304 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009426/0.1062, allocations: 31.94 kB / 0.4896 GB, free: 272 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1705/0.2768, allocations: 373.5 kB / 0.49 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.2798, allocations: 1.102 MB / 0.4911 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.2801, allocations: 20.89 kB / 0.4911 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.282, allocations: 1.603 MB / 0.4926 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.2835, allocations: 0.8994 MB / 0.4935 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006855/0.2842, allocations: 466.7 kB / 0.494 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008693/0.2851, allocations: 0.7031 MB / 0.4947 GB, free: 34.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.2854, allocations: 53.72 kB / 0.4947 GB, free: 34.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.286, allocations: 273 kB / 0.495 GB, free: 34.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005489/0.2866, allocations: 0.6252 MB / 0.4956 GB, free: 34.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006495/0.2872, allocations: 0.7794 MB / 0.4963 GB, free: 34.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.289, allocations: 2.008 MB / 0.4983 GB, free: 34.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.289, allocations: 5.375 kB / 0.4983 GB, free: 34.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.289, allocations: 0 / 0.4983 GB, free: 34.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.72e-05/0.2891, allocations: 0 / 0.4983 GB, free: 34.04 MB / 378.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.002312/0.2914, allocations: 1.64 MB / 0.4999 GB, free: 33.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.2915, allocations: 12.59 kB / 0.4999 GB, free: 33.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000377/0.2919, allocations: 345.1 kB / 0.5002 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00443/0.2963, allocations: 1.51 MB / 0.5017 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.2979, allocations: 0.8627 MB / 0.5026 GB, free: 32.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/0.298, allocations: 77.53 kB / 0.5026 GB, free: 32.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.2982, allocations: 107 kB / 0.5027 GB, free: 32.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00534/0.3036, allocations: 4.615 MB / 0.5072 GB, free: 31.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.3036, allocations: 24.75 kB / 0.5073 GB, free: 31.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.3038, allocations: 54.03 kB / 0.5073 GB, free: 31.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001452/0.3053, allocations: 1.103 MB / 0.5084 GB, free: 31.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005353/0.3106, allocations: 3.987 MB / 0.5123 GB, free: 31.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/0.3248, allocations: 18.5 MB / 0.5304 GB, free: 17.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009508/0.3258, allocations: 1.169 MB / 0.5315 GB, free: 16.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.3261, allocations: 342.6 kB / 0.5318 GB, free: 16.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.3261, allocations: 7.297 kB / 0.5318 GB, free: 16.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.3262, allocations: 38.56 kB / 0.5319 GB, free: 16.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 3.667e-06/0.3262, allocations: 0 / 0.5319 GB, free: 16.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001273/0.3274, allocations: 1.03 MB / 0.5329 GB, free: 15.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.3275, allocations: 105.8 kB / 0.533 GB, free: 15.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/0.3298, allocations: 2.193 MB / 0.5351 GB, free: 14.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.3299, allocations: 34.25 kB / 0.5352 GB, free: 14.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007094/0.3306, allocations: 1.627 MB / 0.5367 GB, free: 13.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.3307, allocations: 263 kB / 0.537 GB, free: 13.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.693e-05/0.3308, allocations: 65.56 kB / 0.5371 GB, free: 13.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.331, allocations: 0.4959 MB / 0.5375 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.3322, allocations: 0.8788 MB / 0.5384 GB, free: 12.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.3341, allocations: 3.155 MB / 0.5415 GB, free: 9.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00336/0.3374, allocations: 4.434 MB / 0.5458 GB, free: 5.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.158e-05/0.3375, allocations: 27.78 kB / 0.5458 GB, free: 5.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007183/0.3447, allocations: 3.815 MB / 0.5496 GB, free: 3.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.513e-05/0.3448, allocations: 39.25 kB / 0.5496 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/0.345, allocations: 81.47 kB / 0.5497 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001446/0.3451, allocations: 110.2 kB / 0.5498 GB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/0.3473, allocations: 0.7519 MB / 0.5505 GB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001208/0.3474, allocations: 155.9 kB / 0.5507 GB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/0.3498, allocations: 499.4 kB / 0.5511 GB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/0.3501, allocations: 218.1 kB / 0.5514 GB, free: 3.188 MB / 378.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.001478/0.3516, allocations: 1.106 MB / 0.5524 GB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.3518, allocations: 166.7 kB / 0.5526 GB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.3521, allocations: 200.2 kB / 0.5528 GB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.3521, allocations: 7.938 kB / 0.5528 GB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.3522, allocations: 0 / 0.5528 GB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.3522, allocations: 3.859 kB / 0.5528 GB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/0.355, allocations: 2.011 MB / 0.5548 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.355, allocations: 0 / 0.5548 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/0.3553, allocations: 63.22 kB / 0.5548 GB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3553, allocations: 2.531 kB / 0.5548 GB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.3554, allocations: 11.72 kB / 0.5548 GB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.3554, allocations: 7.812 kB / 0.5548 GB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3554, allocations: 3.984 kB / 0.5548 GB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008634/0.3563, allocations: 1.018 MB / 0.5558 GB, free: 16.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.3565, allocations: 249.8 kB / 0.5561 GB, free: 16.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.3567, allocations: 8.625 kB / 0.5561 GB, free: 16.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/0.3571, allocations: 27.97 kB / 0.5561 GB, free: 16.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.3572, allocations: 19.88 kB / 0.5561 GB, free: 16.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.3573, allocations: 22.62 kB / 0.5561 GB, free: 16.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001571/0.3589, allocations: 1.363 MB / 0.5575 GB, free: 15.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3589, allocations: 5.312 kB / 0.5575 GB, free: 15.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002362/0.3612, allocations: 0.495 MB / 0.558 GB, free: 15.81 MB / 394.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.001437/0.3627, allocations: 1.631 MB / 0.5596 GB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003024/0.3657, allocations: 2.023 MB / 0.5615 GB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3657, allocations: 0 / 0.5615 GB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.3661, allocations: 335.5 kB / 0.5619 GB, free: 11.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.3672, allocations: 169.3 kB / 0.562 GB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02276/0.39, allocations: 14.11 MB / 0.5758 GB, free: 11.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/0.3918, allocations: 1.792 MB / 0.5775 GB, free: 10.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.3928, allocations: 0.7585 MB / 0.5783 GB, free: 9.32 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3929, allocations: 4 kB / 0.5783 GB, free: 9.316 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.356/4.749, allocations: 32.68 MB / 0.6102 GB, free: 8.699 MB / 442.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)