Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",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 3.2.3+maint.om/package.mo): time 0.001789/0.001789, allocations: 190.5 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0009446/0.0009446, allocations: 93.78 kB / 261.4 MB, free: 13.55 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.2073/0.2073, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2138/0.4211, allocations: 64.96 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.7016, allocations: 58.84 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.8455, allocations: 106.3 MB / 0.5693 GB, free: 8.695 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.8458, allocations: 79.45 kB / 0.5693 GB, free: 8.621 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: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.7538/1.6, allocations: 203.6 MB / 0.7681 GB, free: 36.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.6, allocations: 8 kB / 0.7682 GB, free: 36.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02061/1.62, allocations: 3.398 MB / 0.7715 GB, free: 33.37 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02735/1.648, allocations: 10.69 MB / 0.7819 GB, free: 22.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007054/1.648, allocations: 347.9 kB / 0.7822 GB, free: 22.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005318/1.654, allocations: 0.6131 MB / 0.7828 GB, free: 21.64 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03009/1.684, allocations: 15.05 MB / 0.7975 GB, free: 6.574 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06258/1.747, allocations: 21.23 MB / 0.8183 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009938/1.748, allocations: 95.16 kB / 0.8184 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006547/1.754, allocations: 48 kB / 0.8184 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004633/1.759, allocations: 2.419 MB / 0.8208 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4732/2.232, allocations: 95.42 MB / 0.914 GB, free: 79.08 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007751/2.24, allocations: 4.097 MB / 0.918 GB, free: 78.4 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005193/2.245, allocations: 2.163 MB / 0.9201 GB, free: 78.35 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02482/2.27, allocations: 9.987 MB / 0.9298 GB, free: 76.3 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/2.27, allocations: 66.34 kB / 0.9299 GB, free: 76.27 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=288): time 6.512e-06/2.27, allocations: 0 / 0.9299 GB, free: 76.27 MB / 0.4949 GB Notification: Performance of matching and sorting (n=288): time 0.01952/2.29, allocations: 6.289 MB / 0.936 GB, free: 74.9 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/2.29, allocations: 158.3 kB / 0.9362 GB, free: 74.74 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0128/2.302, allocations: 5.888 MB / 0.9419 GB, free: 72.7 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006712/2.303, allocations: 25.7 kB / 0.942 GB, free: 72.66 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.007015/2.31, allocations: 6.52 MB / 0.9483 GB, free: 68.26 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002404/2.313, allocations: 1.096 MB / 0.9494 GB, free: 67.46 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/2.314, allocations: 1.562 kB / 0.9494 GB, free: 67.46 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001445/2.316, allocations: 0.7625 MB / 0.9501 GB, free: 66.96 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006588/2.322, allocations: 2.896 MB / 0.953 GB, free: 65.98 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009785/2.332, allocations: 9.74 MB / 0.9625 GB, free: 55.7 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/2.343, allocations: 5.267 MB / 0.9676 GB, free: 54.09 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005568/2.343, allocations: 70.84 kB / 0.9677 GB, free: 54.09 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1429) (initialization): time 0.02944/2.373, allocations: 11.05 MB / 0.9785 GB, free: 50.4 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/2.373, allocations: 7.906 kB / 0.9785 GB, free: 50.39 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005981/2.374, allocations: 245.5 kB / 0.9787 GB, free: 50.39 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000551/2.374, allocations: 360.7 kB / 0.9791 GB, free: 50.39 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01116/2.385, allocations: 2.661 MB / 0.9817 GB, free: 50.07 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009117/2.386, allocations: 487.1 kB / 0.9821 GB, free: 49.76 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01211/2.398, allocations: 1.361 MB / 0.9835 GB, free: 48.45 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003231/2.402, allocations: 0.6726 MB / 0.9841 GB, free: 47.79 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1127 * Number of states: 0 () * Number of discrete variables: 72 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1405): * Single equations (assignments): 1402 * 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.00545/2.407, allocations: 0.7119 MB / 0.9848 GB, free: 47.08 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00211/2.409, allocations: 0.6131 MB / 0.9854 GB, free: 46.46 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009226/2.419, allocations: 3.418 MB / 0.9887 GB, free: 43.6 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.371e-05/2.419, allocations: 30.53 kB / 0.9888 GB, free: 43.57 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/2.419, allocations: 4 kB / 0.9888 GB, free: 43.57 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.8e-05/2.419, allocations: 19.05 kB / 0.9888 GB, free: 43.57 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2997/2.718, allocations: 58.83 MB / 1.046 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-05/2.719, allocations: 53.69 kB / 1.046 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002535/2.721, allocations: 0.5514 MB / 1.047 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.896e-05/2.721, allocations: 82.22 kB / 1.047 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002405/2.721, allocations: 93.58 kB / 1.047 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.995e-05/2.722, allocations: 105.8 kB / 1.047 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-05/2.722, allocations: 84.27 kB / 1.047 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00893/2.731, allocations: 15.95 MB / 1.063 GB, free: 102.3 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01032/2.741, allocations: 16.43 MB / 1.079 GB, free: 87.51 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002048/2.743, allocations: 0.7268 MB / 1.08 GB, free: 87.07 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/2.744, allocations: 84.73 kB / 1.08 GB, free: 87.07 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003741/2.748, allocations: 195.7 kB / 1.08 GB, free: 87.07 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004141/2.748, allocations: 317.6 kB / 1.08 GB, free: 87.03 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002823/2.749, allocations: 154.4 kB / 1.08 GB, free: 87.03 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.007636/2.756, allocations: 3.944 MB / 1.084 GB, free: 86.82 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01423/2.771, allocations: 2.454 MB / 1.086 GB, free: 86.47 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 269 * 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.001203/2.772, allocations: 248.2 kB / 1.087 GB, free: 86.38 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01288/2.785, allocations: 6.882 MB / 1.093 GB, free: 86.34 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.706e-05/2.785, allocations: 9.781 kB / 1.093 GB, free: 86.34 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002934/2.788, allocations: 1.785 MB / 1.095 GB, free: 86.25 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007102/2.795, allocations: 0.7693 MB / 1.096 GB, free: 86.21 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04684/2.842, allocations: 17.14 MB / 1.113 GB, free: 81.07 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01885/2.861, allocations: 7.604 MB / 1.12 GB, free: 80.13 MB / 0.4949 GB Notification: Performance of SimCode: time 1.633e-06/2.861, allocations: 0 / 1.12 GB, free: 80.13 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1)