Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.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.Shapes,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",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.0008863/0.0008863, allocations: 175.5 kB / 16.72 MB, free: 4.949 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.232/1.232, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007409/0.0007409, allocations: 84.98 kB / 271.2 MB, free: 8.242 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.2797/0.2797, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 8 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09106, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.1787/0.2698, allocations: 36.42 MB / 0.515 GB, free: 24.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.2821, allocations: 6.99 MB / 0.5218 GB, free: 19.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004975/0.2871, allocations: 161.4 kB / 0.522 GB, free: 19.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003942/0.2911, allocations: 1.764 MB / 0.5237 GB, free: 19.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.302, allocations: 4.855 MB / 0.5284 GB, free: 17.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.3034, allocations: 108.6 kB / 0.5285 GB, free: 17.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.3048, allocations: 1.312 MB / 0.5298 GB, free: 16.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.3067, allocations: 1.836 MB / 0.5316 GB, free: 15.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.3071, allocations: 383.5 kB / 0.532 GB, free: 15.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005346/0.3077, allocations: 0.5446 MB / 0.5325 GB, free: 15.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.543e-05/0.3078, allocations: 43.19 kB / 0.5325 GB, free: 15.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.308, allocations: 57.14 kB / 0.5326 GB, free: 15.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004295/0.3085, allocations: 0.6316 MB / 0.5332 GB, free: 15.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004147/0.3089, allocations: 0.721 MB / 0.5339 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.3101, allocations: 1.77 MB / 0.5356 GB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3101, allocations: 0 / 0.5356 GB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3101, allocations: 0 / 0.5356 GB, free: 14.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.18e-05/0.3102, allocations: 0 / 0.5356 GB, free: 14.3 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.001697/0.3119, allocations: 1.611 MB / 0.5372 GB, free: 13.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3119, allocations: 13.81 kB / 0.5372 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002731/0.3122, allocations: 328.3 kB / 0.5375 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000397/0.3126, allocations: 218.6 kB / 0.5377 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008472/0.3135, allocations: 0.7248 MB / 0.5385 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/0.3136, allocations: 118.2 kB / 0.5386 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.3137, allocations: 153 kB / 0.5387 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/0.3169, allocations: 3.359 MB / 0.542 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/0.3169, allocations: 14.09 kB / 0.542 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.317, allocations: 73.7 kB / 0.5421 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006056/0.3177, allocations: 0.6192 MB / 0.5427 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.3204, allocations: 1.848 MB / 0.5445 GB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009704/0.3301, allocations: 13.53 MB / 0.5577 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.081e-05/0.3302, allocations: 174.3 kB / 0.5579 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.818e-05/0.3303, allocations: 81.84 kB / 0.5579 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.3303, allocations: 79.22 kB / 0.558 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.3304, allocations: 107.7 kB / 0.5581 GB, free: 14.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.3304, allocations: 0 / 0.5581 GB, free: 14.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002336/0.3306, allocations: 156.3 kB / 0.5583 GB, free: 14.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.3307, allocations: 127.2 kB / 0.5584 GB, free: 14.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.3326, allocations: 1.642 MB / 0.56 GB, free: 13.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.3327, allocations: 25.7 kB / 0.56 GB, free: 13.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008617/0.3335, allocations: 1.356 MB / 0.5613 GB, free: 12.44 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.3336, allocations: 47.7 kB / 0.5614 GB, free: 12.42 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.3336, allocations: 40.66 kB / 0.5614 GB, free: 12.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.3339, allocations: 443.2 kB / 0.5619 GB, free: 12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005066/0.3344, allocations: 373.1 kB / 0.5622 GB, free: 11.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.3358, allocations: 1.919 MB / 0.5641 GB, free: 9.395 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.3379, allocations: 2.505 MB / 0.5665 GB, free: 6.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.254e-05/0.338, allocations: 20.59 kB / 0.5665 GB, free: 6.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003081/0.3411, allocations: 2.093 MB / 0.5686 GB, free: 5.527 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.3411, allocations: 28.97 kB / 0.5686 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.627e-05/0.3412, allocations: 57.53 kB / 0.5687 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.095e-05/0.3413, allocations: 73.5 kB / 0.5687 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.3424, allocations: 493.5 kB / 0.5692 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.901e-05/0.3425, allocations: 108 kB / 0.5693 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.3438, allocations: 322.2 kB / 0.5696 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.3439, allocations: 137.6 kB / 0.5698 GB, free: 5.152 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.001046/0.345, allocations: 0.8722 MB / 0.5706 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.3452, allocations: 226.6 kB / 0.5708 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.3453, allocations: 229.4 kB / 0.571 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-05/0.3454, allocations: 184.2 kB / 0.5712 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.794e-05/0.3455, allocations: 178.5 kB / 0.5714 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.674e-05/0.3455, allocations: 180.2 kB / 0.5716 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.3472, allocations: 1.475 MB / 0.573 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.906e-05/0.3472, allocations: 104.9 kB / 0.5731 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.3472, allocations: 115.8 kB / 0.5732 GB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.544e-05/0.3473, allocations: 182.8 kB / 0.5734 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-05/0.3474, allocations: 184.2 kB / 0.5736 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.722e-05/0.3474, allocations: 178.2 kB / 0.5737 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.861e-05/0.3475, allocations: 176.3 kB / 0.5739 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.3477, allocations: 434.9 kB / 0.5743 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/0.348, allocations: 301.9 kB / 0.5746 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.3481, allocations: 184.2 kB / 0.5748 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.3484, allocations: 106.8 kB / 0.5749 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.3485, allocations: 182 kB / 0.5751 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.3485, allocations: 112.9 kB / 0.5752 GB, free: 440 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001168/0.3497, allocations: 1.005 MB / 0.5761 GB, free: 15.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3497, allocations: 0 / 0.5761 GB, free: 15.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001526/0.3512, allocations: 428.4 kB / 0.5766 GB, free: 15.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0004897/0.3517, allocations: 0.9421 MB / 0.5775 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.3529, allocations: 0.8867 MB / 0.5783 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.353, allocations: 0 / 0.5783 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.353, allocations: 1.625 kB / 0.5783 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008237/0.3538, allocations: 0.6482 MB / 0.579 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.3655, allocations: 9.695 MB / 0.5884 GB, free: 2.523 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.3667, allocations: 1.591 MB / 0.59 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006531/0.3674, allocations: 0.675 MB / 0.5907 GB, free: 228 kB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3674, allocations: 4 kB / 0.5907 GB, free: 224 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.433/3.8, allocations: 24.45 MB / 0.6145 GB, free: 7.758 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)