Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",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.001224/0.001224, allocations: 188.7 kB / 7.802 MB, free: 2.508 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.444/1.444, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009385/0.0009382, allocations: 93.2 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.1929/0.1929, allocations: 43.48 MB / 352.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1987/0.3917, allocations: 64.97 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.6751, allocations: 58.83 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.8184, allocations: 106.3 MB / 0.5693 GB, free: 8.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000379/0.8189, allocations: 75.97 kB / 0.5693 GB, free: 8.605 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.7355/1.554, allocations: 202.4 MB / 0.767 GB, free: 38.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/1.554, allocations: 8 kB / 0.767 GB, free: 38.85 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02204/1.577, allocations: 3.395 MB / 0.7703 GB, free: 35.44 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02768/1.604, allocations: 10.7 MB / 0.7807 GB, free: 24.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000717/1.605, allocations: 348 kB / 0.7811 GB, free: 24.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006057/1.611, allocations: 0.6093 MB / 0.7817 GB, free: 23.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03147/1.643, allocations: 15.06 MB / 0.7964 GB, free: 8.629 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06025/1.703, allocations: 21.22 MB / 0.8171 GB, free: 1.781 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006379/1.704, allocations: 95.14 kB / 0.8172 GB, free: 1.688 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006763/1.71, allocations: 48 kB / 0.8172 GB, free: 1.641 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004671/1.715, allocations: 2.419 MB / 0.8196 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4853/2.2, allocations: 95.42 MB / 0.9128 GB, free: 77.42 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006251/2.207, allocations: 4.105 MB / 0.9168 GB, free: 76.75 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003784/2.211, allocations: 2.155 MB / 0.9189 GB, free: 76.69 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02041/2.231, allocations: 9.992 MB / 0.9286 GB, free: 74.65 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/2.231, allocations: 64.91 kB / 0.9287 GB, free: 74.61 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=288): time 6.342e-06/2.231, allocations: 3.812 kB / 0.9287 GB, free: 74.61 MB / 0.4949 GB Notification: Performance of matching and sorting (n=288): time 0.02015/2.251, allocations: 6.284 MB / 0.9348 GB, free: 73.87 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/2.251, allocations: 155.9 kB / 0.935 GB, free: 73.71 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0126/2.264, allocations: 5.889 MB / 0.9407 GB, free: 71.66 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000896/2.265, allocations: 29.11 kB / 0.9408 GB, free: 71.63 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005227/2.27, allocations: 6.515 MB / 0.9471 GB, free: 67.24 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001683/2.272, allocations: 1.097 MB / 0.9482 GB, free: 66.45 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008046/2.273, allocations: 0 / 0.9482 GB, free: 66.45 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005305/2.273, allocations: 0.7733 MB / 0.949 GB, free: 65.95 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003952/2.277, allocations: 2.894 MB / 0.9518 GB, free: 64.96 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006728/2.284, allocations: 9.738 MB / 0.9613 GB, free: 54.68 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008393/2.292, allocations: 5.259 MB / 0.9664 GB, free: 53.08 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002982/2.293, allocations: 71.31 kB / 0.9665 GB, free: 53.08 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1429) (initialization): time 0.02689/2.32, allocations: 11.05 MB / 0.9773 GB, free: 49.51 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/2.32, allocations: 7.5 kB / 0.9773 GB, free: 49.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003879/2.32, allocations: 245.5 kB / 0.9775 GB, free: 49.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000525/2.321, allocations: 361.5 kB / 0.9779 GB, free: 49.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/2.331, allocations: 2.657 MB / 0.9805 GB, free: 49.18 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002741/2.331, allocations: 490.2 kB / 0.9809 GB, free: 49.07 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01121/2.342, allocations: 1.367 MB / 0.9823 GB, free: 48.32 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002669/2.345, allocations: 0.6714 MB / 0.9829 GB, free: 48.23 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 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.003507/2.348, allocations: 0.7067 MB / 0.9836 GB, free: 47.66 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001821/2.35, allocations: 0.6127 MB / 0.9842 GB, free: 47.32 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008676/2.359, allocations: 3.421 MB / 0.9876 GB, free: 45.41 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.306e-05/2.359, allocations: 28 kB / 0.9876 GB, free: 45.38 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.228e-05/2.359, allocations: 3.938 kB / 0.9876 GB, free: 45.38 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.604e-05/2.359, allocations: 13.22 kB / 0.9876 GB, free: 45.38 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2983/2.658, allocations: 56.35 MB / 1.043 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.422e-05/2.658, allocations: 54.44 kB / 1.043 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002634/2.66, allocations: 0.5544 MB / 1.043 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.739e-05/2.66, allocations: 81.38 kB / 1.043 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002474/2.661, allocations: 102 kB / 1.043 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.186e-05/2.661, allocations: 100.7 kB / 1.043 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-05/2.661, allocations: 84.09 kB / 1.044 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009724/2.67, allocations: 15.95 MB / 1.059 GB, free: 102.3 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009836/2.68, allocations: 16.43 MB / 1.075 GB, free: 87.61 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/2.683, allocations: 0.7275 MB / 1.076 GB, free: 87.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001722/2.684, allocations: 84.41 kB / 1.076 GB, free: 87.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004437/2.689, allocations: 193.1 kB / 1.076 GB, free: 87.18 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004533/2.689, allocations: 314.9 kB / 1.076 GB, free: 87.14 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002977/2.689, allocations: 161.5 kB / 1.077 GB, free: 87.14 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.008346/2.698, allocations: 3.944 MB / 1.08 GB, free: 86.92 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01455/2.712, allocations: 2.455 MB / 1.083 GB, free: 86.57 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.001111/2.714, allocations: 248.5 kB / 1.083 GB, free: 86.48 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01286/2.726, allocations: 6.88 MB / 1.09 GB, free: 86.45 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.019e-05/2.727, allocations: 7.75 kB / 1.09 GB, free: 86.45 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003008/2.73, allocations: 1.782 MB / 1.092 GB, free: 86.42 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006328/2.736, allocations: 0.7634 MB / 1.092 GB, free: 86.39 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04941/2.785, allocations: 17.18 MB / 1.109 GB, free: 81.24 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01931/2.805, allocations: 7.6 MB / 1.117 GB, free: 80.3 MB / 0.4949 GB Notification: Performance of SimCode: time 1.904e-06/2.805, allocations: 4 kB / 1.117 GB, free: 80.3 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1)