Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009079/0.000908, allocations: 91.91 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1704/0.1704, allocations: 45.14 MB / 383.3 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1871/0.3576, allocations: 69.37 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08119/0.4388, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.272/0.7109, allocations: 109.7 MB / 0.611 GB, free: 9.621 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.7111, allocations: 76.58 kB / 0.6111 GB, free: 9.582 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.3224/1.033, allocations: 132.3 MB / 0.7403 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/1.034, allocations: 12 kB / 0.7403 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02672/1.06, allocations: 6.675 MB / 0.7468 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1558/1.216, allocations: 6.347 MB / 0.753 GB, free: 170.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002555/1.216, allocations: 204.4 kB / 0.7532 GB, free: 170.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002162/1.219, allocations: 377.9 kB / 0.7535 GB, free: 170.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01138/1.23, allocations: 8.98 MB / 0.7623 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/1.244, allocations: 13.67 MB / 0.7757 GB, free: 167.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001738/1.245, allocations: 84.22 kB / 0.7757 GB, free: 167.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006506/1.245, allocations: 40.72 kB / 0.7758 GB, free: 167.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001376/1.247, allocations: 1.508 MB / 0.7773 GB, free: 167.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05191/1.299, allocations: 65.9 MB / 0.8416 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004701/1.303, allocations: 5.166 MB / 0.8467 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003309/1.307, allocations: 3.508 MB / 0.8501 GB, free: 123 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01068/1.317, allocations: 8.936 MB / 0.8588 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/1.317, allocations: 55.88 kB / 0.8589 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=218): time 4.318e-06/1.317, allocations: 3.5 kB / 0.8589 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=260): time 0.04498/1.362, allocations: 24.21 MB / 0.8825 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/1.363, allocations: 231.4 kB / 0.8827 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004972/1.367, allocations: 4.318 MB / 0.8869 GB, free: 99.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002811/1.368, allocations: 28.23 kB / 0.887 GB, free: 99.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001381/1.369, allocations: 4.106 MB / 0.891 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006788/1.37, allocations: 0.974 MB / 0.8919 GB, free: 95.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003213/1.37, allocations: 0 / 0.8919 GB, free: 95.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003198/1.371, allocations: 0.6432 MB / 0.8926 GB, free: 94.62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003485/1.374, allocations: 3.056 MB / 0.8955 GB, free: 91.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00486/1.379, allocations: 7.826 MB / 0.9032 GB, free: 82.33 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005094/1.384, allocations: 4.846 MB / 0.9079 GB, free: 78.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.657e-05/1.384, allocations: 48 kB / 0.908 GB, free: 78.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1056) (initialization): time 0.01562/1.4, allocations: 11.1 MB / 0.9188 GB, free: 68.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/1.4, allocations: 7.938 kB / 0.9188 GB, free: 68.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/1.4, allocations: 168 kB / 0.919 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003695/1.404, allocations: 1.601 MB / 0.9205 GB, free: 67.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005574/1.409, allocations: 1.867 MB / 0.9224 GB, free: 65.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/1.421, allocations: 10.35 MB / 0.9325 GB, free: 56.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005568/1.426, allocations: 255.5 kB / 0.9327 GB, free: 56.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007079/1.427, allocations: 494.8 kB / 0.9332 GB, free: 55.79 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 779 * Number of states: 0 () * Number of discrete variables: 65 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (984): * Single equations (assignments): 979 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008582/1.428, allocations: 0.5457 MB / 0.9337 GB, free: 55.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006008/1.428, allocations: 461.8 kB / 0.9342 GB, free: 54.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008758/1.437, allocations: 5.702 MB / 0.9397 GB, free: 50.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.672e-05/1.437, allocations: 24 kB / 0.9397 GB, free: 50.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/1.437, allocations: 15.91 kB / 0.9398 GB, free: 50.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/1.437, allocations: 14.78 kB / 0.9398 GB, free: 50.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/1.455, allocations: 12.05 MB / 0.9515 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.455, allocations: 4 kB / 0.9516 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/1.458, allocations: 416 kB / 0.9519 GB, free: 40.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003499/1.461, allocations: 1.317 MB / 0.9532 GB, free: 39.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002488/1.462, allocations: 5.219 kB / 0.9532 GB, free: 39.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/1.473, allocations: 9.668 MB / 0.9627 GB, free: 30.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.473, allocations: 4 kB / 0.9627 GB, free: 30.16 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01168/1.485, allocations: 9.64 MB / 0.9721 GB, free: 20.44 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01465/1.5, allocations: 13.4 MB / 0.9852 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009113/1.501, allocations: 483 kB / 0.9856 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006787/1.501, allocations: 0 / 0.9856 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/1.503, allocations: 87.86 kB / 0.9857 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000308/1.504, allocations: 121.8 kB / 0.9858 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002385/1.504, allocations: 67.12 kB / 0.9859 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003725/1.508, allocations: 2.921 MB / 0.9888 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005908/1.513, allocations: 1.281 MB / 0.99 GB, free: 2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 197 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004369/1.514, allocations: 151.8 kB / 0.9902 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.1555/1.669, allocations: 7.57 MB / 0.9975 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.669, allocations: 3.312 kB / 0.9975 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004101/1.674, allocations: 2.888 MB / 1 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/1.676, allocations: 0.5257 MB / 1.001 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/1.695, allocations: 11.91 MB / 1.013 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005751/1.701, allocations: 5.101 MB / 1.017 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of SimCode: time 8.41e-07/1.701, allocations: 5.359 kB / 1.018 GB, free: 155.9 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)