Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 188.2 kB / 7.801 MB, free: 2.496 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.299/1.299, 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.001021/0.001021, allocations: 98.48 kB / 261.4 MB, free: 13.54 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.178/0.178, allocations: 43.49 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1949/0.3729, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.6737, allocations: 58.84 MB / 476.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.819, allocations: 104.4 MB / 0.5674 GB, free: 10.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.8192, allocations: 75.94 kB / 0.5675 GB, free: 10.43 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: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.1723/0.9916, allocations: 67.34 MB / 0.6333 GB, free: 6.523 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.9916, allocations: 11.98 kB / 0.6333 GB, free: 6.512 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009114/1.001, allocations: 1.617 MB / 0.6348 GB, free: 4.887 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005794/1.007, allocations: 2.044 MB / 0.6368 GB, free: 2.789 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/1.007, allocations: 120 kB / 0.637 GB, free: 2.672 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/1.008, allocations: 212 kB / 0.6372 GB, free: 2.465 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2065/1.215, allocations: 5.485 MB / 0.6425 GB, free: 167.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/1.227, allocations: 7.486 MB / 0.6498 GB, free: 166.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-05/1.227, allocations: 22.16 kB / 0.6498 GB, free: 166.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004284/1.227, allocations: 10.88 kB / 0.6499 GB, free: 166.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009265/1.228, allocations: 0.8599 MB / 0.6507 GB, free: 166.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0314/1.26, allocations: 26.72 MB / 0.6768 GB, free: 153.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/1.262, allocations: 1.737 MB / 0.6785 GB, free: 152.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008428/1.263, allocations: 0.7194 MB / 0.6792 GB, free: 152.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.497e-05/1.263, allocations: 21.98 kB / 0.6792 GB, free: 152.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/1.263, allocations: 50.56 kB / 0.6793 GB, free: 152.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=132): time 3.937e-06/1.263, allocations: 2.531 kB / 0.6793 GB, free: 152.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.004203/1.267, allocations: 1.949 MB / 0.6812 GB, free: 152 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/1.267, allocations: 63.25 kB / 0.6812 GB, free: 151.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/1.27, allocations: 1.799 MB / 0.683 GB, free: 151.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.78e-05/1.27, allocations: 25.7 kB / 0.683 GB, free: 151.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/1.271, allocations: 2.261 MB / 0.6852 GB, free: 149.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/1.271, allocations: 494.6 kB / 0.6857 GB, free: 149.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/1.271, allocations: 0 / 0.6857 GB, free: 149.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002318/1.271, allocations: 0.5173 MB / 0.6862 GB, free: 149 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/1.273, allocations: 1.092 MB / 0.6873 GB, free: 148.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/1.275, allocations: 3.383 MB / 0.6906 GB, free: 145.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002591/1.278, allocations: 1.974 MB / 0.6925 GB, free: 144.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.322e-05/1.278, allocations: 23.47 kB / 0.6925 GB, free: 144.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006018/1.284, allocations: 3.985 MB / 0.6964 GB, free: 143.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/1.284, allocations: 4.375 kB / 0.6964 GB, free: 143.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001288/1.284, allocations: 86.28 kB / 0.6965 GB, free: 143.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/1.284, allocations: 121.5 kB / 0.6966 GB, free: 143.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002945/1.287, allocations: 0.8825 MB / 0.6975 GB, free: 143.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001338/1.287, allocations: 163.1 kB / 0.6976 GB, free: 143.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/1.29, allocations: 425.6 kB / 0.698 GB, free: 142.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004691/1.29, allocations: 237 kB / 0.6983 GB, free: 142.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 375 * Number of states: 0 () * Number of discrete variables: 30 (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.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],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 (484): * Single equations (assignments): 481 * 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.0005147/1.291, allocations: 323.3 kB / 0.6986 GB, free: 142.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/1.291, allocations: 191.5 kB / 0.6987 GB, free: 142.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/1.294, allocations: 1.657 MB / 0.7004 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.554e-05/1.294, allocations: 14.44 kB / 0.7004 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.294, allocations: 0 / 0.7004 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/1.294, allocations: 8.781 kB / 0.7004 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/1.306, allocations: 7.952 MB / 0.7082 GB, free: 138.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/1.306, allocations: 19.19 kB / 0.7082 GB, free: 138.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008672/1.307, allocations: 207.1 kB / 0.7084 GB, free: 138 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.399e-05/1.307, allocations: 24.72 kB / 0.7084 GB, free: 138 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.009e-05/1.307, allocations: 35.52 kB / 0.7084 GB, free: 138 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.835e-05/1.307, allocations: 42.02 kB / 0.7085 GB, free: 137.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-05/1.307, allocations: 27.88 kB / 0.7085 GB, free: 137.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002542/1.31, allocations: 3.366 MB / 0.7118 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002561/1.313, allocations: 3.761 MB / 0.7155 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005044/1.313, allocations: 285.4 kB / 0.7157 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/1.313, allocations: 23.94 kB / 0.7157 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008505/1.314, allocations: 34.64 kB / 0.7158 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/1.314, allocations: 107.9 kB / 0.7159 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.897e-05/1.314, allocations: 59.66 kB / 0.7159 GB, free: 128.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001816/1.316, allocations: 1.199 MB / 0.7171 GB, free: 127.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004551/1.321, allocations: 0.8877 MB / 0.718 GB, free: 127 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.0003937/1.321, allocations: 160.9 kB / 0.7181 GB, free: 126.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003604/1.325, allocations: 2.606 MB / 0.7207 GB, free: 124.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.325, allocations: 4 kB / 0.7207 GB, free: 124.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008297/1.326, allocations: 0.7604 MB / 0.7214 GB, free: 123.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/1.327, allocations: 205.9 kB / 0.7216 GB, free: 123.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/1.338, allocations: 5.955 MB / 0.7274 GB, free: 117.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003323/1.341, allocations: 3.106 MB / 0.7305 GB, free: 115.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.764e-06/1.341, allocations: 0 / 0.7305 GB, free: 115.5 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1)