Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 198.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.5 MB / 243.4 MB, free: 8.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008089/0.000809, allocations: 97.75 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3052/0.3052, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003118, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3099, allocations: 62.96 MB / 0.516 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.02639/0.3364, allocations: 41.73 MB / 0.5567 GB, free: 7.281 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02064/0.3571, allocations: 9.44 MB / 0.5659 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01057/0.3677, allocations: 197.4 kB / 0.5661 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007415/0.3751, allocations: 2.144 MB / 0.5682 GB, free: 56 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01912/0.3943, allocations: 6.458 MB / 0.5745 GB, free: 12.64 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003601/0.3979, allocations: 0.6731 MB / 0.5752 GB, free: 12.19 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00694/0.4049, allocations: 4.851 MB / 0.5799 GB, free: 7.699 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006385/0.4113, allocations: 4.239 MB / 0.584 GB, free: 3.367 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.4141, allocations: 1.218 MB / 0.5852 GB, free: 2.145 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003056/0.4172, allocations: 1.818 MB / 0.587 GB, free: 328 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007682/0.418, allocations: 128 kB / 0.5871 GB, free: 200 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.4207, allocations: 1.096 MB / 0.5882 GB, free: 15.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002137/0.4228, allocations: 1.679 MB / 0.5898 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002826/0.4257, allocations: 1.85 MB / 0.5917 GB, free: 11.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006465/0.4322, allocations: 5.292 MB / 0.5968 GB, free: 6.242 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4322, allocations: 0 / 0.5968 GB, free: 6.242 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4322, allocations: 0 / 0.5968 GB, free: 6.242 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001709/0.4324, allocations: 0 / 0.5968 GB, free: 6.242 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.006177/0.4386, allocations: 3.863 MB / 0.6006 GB, free: 2.312 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.4386, allocations: 8.031 kB / 0.6006 GB, free: 2.305 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008025/0.4394, allocations: 0.7071 MB / 0.6013 GB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006671/0.4461, allocations: 2.05 MB / 0.6033 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004668/0.4508, allocations: 2.772 MB / 0.606 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.451, allocations: 242.1 kB / 0.6062 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008109/0.4518, allocations: 407.5 kB / 0.6066 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01519/0.467, allocations: 9.856 MB / 0.6162 GB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/0.4671, allocations: 47.59 kB / 0.6163 GB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003738/0.4675, allocations: 151.9 kB / 0.6164 GB, free: 1.328 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002515/0.47, allocations: 1.814 MB / 0.6182 GB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/0.4848, allocations: 8.278 MB / 0.6263 GB, free: 7.215 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04287/0.5277, allocations: 38.85 MB / 0.6642 GB, free: 15.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008572/0.5363, allocations: 3.73 MB / 0.6679 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/0.5382, allocations: 1.571 MB / 0.6694 GB, free: 9.676 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/0.5486, allocations: 7.713 MB / 0.6769 GB, free: 1.586 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.5486, allocations: 47.5 kB / 0.677 GB, free: 1.531 MB / 490.7 MB Notification: Performance of pre-optimization done (n=144): time 4.919e-06/0.5487, allocations: 4 kB / 0.677 GB, free: 1.527 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.2618/0.8105, allocations: 14.21 MB / 0.6909 GB, free: 127.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009391/0.8115, allocations: 1.59 MB / 0.6924 GB, free: 126.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004361/0.8158, allocations: 3.843 MB / 0.6962 GB, free: 124.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002478/0.8161, allocations: 47.3 kB / 0.6962 GB, free: 124.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/0.8176, allocations: 3.092 MB / 0.6992 GB, free: 122.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005414/0.8181, allocations: 0.6475 MB / 0.6999 GB, free: 122 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.8183, allocations: 116.6 kB / 0.7 GB, free: 121.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.8186, allocations: 0.5594 MB / 0.7005 GB, free: 121.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/0.8212, allocations: 1.966 MB / 0.7024 GB, free: 120.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00444/0.8257, allocations: 5.699 MB / 0.708 GB, free: 115.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00826/0.834, allocations: 8.334 MB / 0.7161 GB, free: 108 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001418/0.8341, allocations: 39.16 kB / 0.7162 GB, free: 108 MB / 490.7 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.01665/0.8508, allocations: 8.261 MB / 0.7242 GB, free: 105 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.595e-05/0.8509, allocations: 62.38 kB / 0.7243 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004396/0.8553, allocations: 2.558 MB / 0.7268 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003826/0.8592, allocations: 1.166 MB / 0.7279 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004611/0.8638, allocations: 1.367 MB / 0.7293 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004254/0.8681, allocations: 4.655 MB / 0.7338 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004614/0.8727, allocations: 384.7 kB / 0.7342 GB, free: 99.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007608/0.8735, allocations: 372.1 kB / 0.7345 GB, free: 99.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (740): * Single equations (assignments): 731 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003109/0.8766, allocations: 2.044 MB / 0.7365 GB, free: 97.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005973/0.8772, allocations: 343.3 kB / 0.7369 GB, free: 97.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/0.8823, allocations: 2.957 MB / 0.7398 GB, free: 94.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004068/0.8864, allocations: 2.496 MB / 0.7422 GB, free: 92.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.8864, allocations: 0 / 0.7422 GB, free: 92.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/0.8865, allocations: 11.64 kB / 0.7422 GB, free: 92.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/0.8999, allocations: 9.37 MB / 0.7514 GB, free: 82.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.9, allocations: 4 kB / 0.7514 GB, free: 82.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.9011, allocations: 251.6 kB / 0.7516 GB, free: 82.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00282/0.9039, allocations: 1.072 MB / 0.7526 GB, free: 81.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.904, allocations: 49.06 kB / 0.7527 GB, free: 81.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003974/0.908, allocations: 4.809 MB / 0.7574 GB, free: 76.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006943/0.9087, allocations: 1.458 MB / 0.7588 GB, free: 74.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006671/0.9154, allocations: 5.323 MB / 0.764 GB, free: 69.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.9165, allocations: 396.5 kB / 0.7644 GB, free: 69.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003224/0.9168, allocations: 36.11 kB / 0.7644 GB, free: 69.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.9181, allocations: 135.7 kB / 0.7646 GB, free: 68.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/0.9185, allocations: 113.7 kB / 0.7647 GB, free: 68.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.9186, allocations: 47.98 kB / 0.7647 GB, free: 68.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002759/0.9213, allocations: 2.371 MB / 0.767 GB, free: 66.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9213, allocations: 0 / 0.767 GB, free: 66.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004484/0.9258, allocations: 0.9987 MB / 0.768 GB, free: 65.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006586/0.9324, allocations: 5.861 MB / 0.7737 GB, free: 59.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007483/0.9399, allocations: 5.365 MB / 0.779 GB, free: 54.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.94, allocations: 0 / 0.779 GB, free: 54.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003162/0.9431, allocations: 2.059 MB / 0.781 GB, free: 51.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004322/0.9475, allocations: 450.7 kB / 0.7814 GB, free: 51.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04467/0.9922, allocations: 34.07 MB / 0.8147 GB, free: 13.72 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002508/0.9948, allocations: 3.183 MB / 0.8178 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001921/0.9967, allocations: 1.874 MB / 0.8196 GB, free: 8.629 MB / 490.7 MB Notification: Performance of SimCode: time 9.91e-07/0.9967, allocations: 0 / 0.8196 GB, free: 8.629 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.881/8.878, allocations: 142.7 MB / 0.9589 GB, free: 107.7 MB / 0.5261 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1)