Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",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 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 176.6 kB / 8.517 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 221.4 MB / 230.3 MB, free: 7.727 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009667/0.0009667, allocations: 88.67 kB / 281.2 MB, free: 5.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1606/0.1606, allocations: 44.15 MB / 376.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.167/0.3277, allocations: 68.03 MB / 444.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09241/0.4201, allocations: 61.91 MB / 0.4942 GB, free: 1.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2519/0.672, allocations: 104.4 MB / 0.5961 GB, free: 8.398 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.6723, allocations: 75.95 kB / 0.5962 GB, free: 8.324 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.1503/0.8226, allocations: 61.55 MB / 0.6563 GB, free: 10.31 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.8227, allocations: 11.94 kB / 0.6563 GB, free: 10.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00715/0.8298, allocations: 1.548 MB / 0.6578 GB, free: 8.742 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/0.8334, allocations: 1.899 MB / 0.6597 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-05/0.8335, allocations: 108 kB / 0.6598 GB, free: 6.691 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005133/0.834, allocations: 192 kB / 0.66 GB, free: 6.504 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006614/0.8406, allocations: 4.897 MB / 0.6647 GB, free: 1.602 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008514/0.8491, allocations: 6.714 MB / 0.6713 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.648e-05/0.8492, allocations: 15.88 kB / 0.6713 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003418/0.8496, allocations: 11.98 kB / 0.6713 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000716/0.8503, allocations: 0.7516 MB / 0.6721 GB, free: 9.738 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02501/0.8753, allocations: 24.42 MB / 0.6959 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.8769, allocations: 1.476 MB / 0.6973 GB, free: 15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006518/0.8775, allocations: 0.5539 MB / 0.6979 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.054e-05/0.8776, allocations: 16.64 kB / 0.6979 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.8776, allocations: 43.22 kB / 0.6979 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=99): time 2.945e-06/0.8776, allocations: 0 / 0.6979 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99): time 0.003775/0.8814, allocations: 1.635 MB / 0.6995 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.8815, allocations: 64.09 kB / 0.6996 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.8833, allocations: 1.673 MB / 0.7012 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.8834, allocations: 25.7 kB / 0.7013 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009929/0.8844, allocations: 2.049 MB / 0.7033 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.8847, allocations: 371.1 kB / 0.7036 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.614e-05/0.8848, allocations: 0 / 0.7036 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002514/0.885, allocations: 0.498 MB / 0.7041 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.8862, allocations: 0.9202 MB / 0.705 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/0.8884, allocations: 2.967 MB / 0.7079 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.8903, allocations: 1.703 MB / 0.7096 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.421e-05/0.8904, allocations: 27.94 kB / 0.7096 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=437) (initialization): time 0.1295/1.02, allocations: 3.419 MB / 0.7129 GB, free: 201.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.02, allocations: 8.438 kB / 0.7129 GB, free: 201.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-05/1.02, allocations: 76.34 kB / 0.713 GB, free: 201.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.247e-05/1.02, allocations: 109.1 kB / 0.7131 GB, free: 201.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/1.022, allocations: 0.7426 MB / 0.7138 GB, free: 201.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.343e-05/1.022, allocations: 145.4 kB / 0.714 GB, free: 201.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/1.024, allocations: 367.5 kB / 0.7143 GB, free: 201.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/1.024, allocations: 204.4 kB / 0.7145 GB, free: 201.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 34 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (413): * Single equations (assignments): 410 * 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.0002856/1.024, allocations: 301.3 kB / 0.7148 GB, free: 201.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/1.025, allocations: 169.5 kB / 0.715 GB, free: 201.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/1.026, allocations: 1.284 MB / 0.7162 GB, free: 201.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/1.026, allocations: 6.594 kB / 0.7162 GB, free: 201.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.026, allocations: 3.844 kB / 0.7162 GB, free: 201.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.026, allocations: 3.938 kB / 0.7162 GB, free: 201.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005845/1.032, allocations: 4.757 MB / 0.7209 GB, free: 200.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/1.032, allocations: 10.19 kB / 0.7209 GB, free: 200.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/1.033, allocations: 140.3 kB / 0.721 GB, free: 200.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/1.033, allocations: 13.84 kB / 0.721 GB, free: 200.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/1.033, allocations: 18.44 kB / 0.7211 GB, free: 200.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/1.033, allocations: 21.55 kB / 0.7211 GB, free: 200.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/1.033, allocations: 12.84 kB / 0.7211 GB, free: 200.8 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001388/1.034, allocations: 2.149 MB / 0.7232 GB, free: 199.4 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001414/1.035, allocations: 2.553 MB / 0.7257 GB, free: 197.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/1.036, allocations: 253.2 kB / 0.7259 GB, free: 197.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/1.036, allocations: 17.16 kB / 0.7259 GB, free: 197.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005519/1.036, allocations: 14.84 kB / 0.7259 GB, free: 197.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/1.037, allocations: 68.8 kB / 0.726 GB, free: 197.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/1.037, allocations: 40.36 kB / 0.7261 GB, free: 197.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001095/1.038, allocations: 1.115 MB / 0.7271 GB, free: 197.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002956/1.041, allocations: 0.7782 MB / 0.7279 GB, free: 197.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 71 * 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.0002692/1.041, allocations: 145.4 kB / 0.728 GB, free: 197.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002229/1.043, allocations: 2.173 MB / 0.7302 GB, free: 197.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.043, allocations: 0 / 0.7302 GB, free: 197.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005575/1.044, allocations: 0.5734 MB / 0.7307 GB, free: 197.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008112/1.045, allocations: 202.6 kB / 0.7309 GB, free: 197.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007215/1.052, allocations: 5.03 MB / 0.7358 GB, free: 195.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002666/1.055, allocations: 2.832 MB / 0.7386 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of SimCode: time 8.11e-07/1.055, allocations: 2.969 kB / 0.7386 GB, free: 195.1 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1)