Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 173.8 kB / 8.518 MB, free: 1.832 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.181/1.181, allocations: 221.4 MB / 230.3 MB, free: 7.688 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.0009772/0.0009772, allocations: 82.5 kB / 281.2 MB, free: 5.508 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.1589/0.1589, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1683/0.3272, allocations: 68.04 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09041/0.4176, allocations: 61.91 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2543/0.6719, allocations: 106.5 MB / 0.5982 GB, free: 6.215 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.6722, allocations: 75.95 kB / 0.5983 GB, free: 6.141 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: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.5693/1.241, allocations: 178.8 MB / 0.7729 GB, free: 93.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/1.241, allocations: 13.75 kB / 0.7729 GB, free: 93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01738/1.259, allocations: 3.15 MB / 0.776 GB, free: 92.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02305/1.282, allocations: 9.532 MB / 0.7853 GB, free: 87.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005482/1.283, allocations: 300.2 kB / 0.7856 GB, free: 87.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00328/1.286, allocations: 0.5349 MB / 0.7861 GB, free: 87.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01964/1.305, allocations: 12.79 MB / 0.7986 GB, free: 75.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02601/1.332, allocations: 18.32 MB / 0.8165 GB, free: 56.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002377/1.332, allocations: 87.22 kB / 0.8166 GB, free: 56.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001005/1.333, allocations: 52 kB / 0.8166 GB, free: 56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002283/1.335, allocations: 1.974 MB / 0.8186 GB, free: 54.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3334/1.668, allocations: 85.96 MB / 0.9025 GB, free: 158.4 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/1.672, allocations: 2.814 MB / 0.9053 GB, free: 157.7 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/1.673, allocations: 1.507 MB / 0.9067 GB, free: 157.7 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01135/1.684, allocations: 7.623 MB / 0.9142 GB, free: 155.9 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/1.685, allocations: 52.66 kB / 0.9142 GB, free: 155.9 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=164): time 4.167e-06/1.685, allocations: 3.906 kB / 0.9142 GB, free: 155.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=164): time 0.01427/1.699, allocations: 4.799 MB / 0.9189 GB, free: 155.8 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/1.699, allocations: 144.7 kB / 0.9191 GB, free: 155.7 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006449/1.705, allocations: 5.351 MB / 0.9243 GB, free: 155.3 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/1.705, allocations: 27.77 kB / 0.9243 GB, free: 155.3 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002145/1.708, allocations: 5.669 MB / 0.9298 GB, free: 152.2 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004381/1.708, allocations: 0.6772 MB / 0.9305 GB, free: 151.9 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/1.708, allocations: 0 / 0.9305 GB, free: 151.9 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0003295/1.709, allocations: 0.6799 MB / 0.9312 GB, free: 151.6 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002568/1.711, allocations: 2.171 MB / 0.9333 GB, free: 151.5 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00429/1.716, allocations: 8.062 MB / 0.9412 GB, free: 143.8 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004562/1.72, allocations: 4.143 MB / 0.9452 GB, free: 143.8 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.251e-05/1.72, allocations: 65.41 kB / 0.9453 GB, free: 143.8 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.01176/1.732, allocations: 8.769 MB / 0.9538 GB, free: 142.9 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.732, allocations: 3.75 kB / 0.9538 GB, free: 142.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001697/1.732, allocations: 214.1 kB / 0.954 GB, free: 142.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/1.732, allocations: 317.4 kB / 0.9543 GB, free: 142.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006072/1.738, allocations: 2.139 MB / 0.9564 GB, free: 142.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001847/1.739, allocations: 416.6 kB / 0.9568 GB, free: 142.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006647/1.745, allocations: 1.135 MB / 0.9579 GB, free: 142.1 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005586/1.746, allocations: 0.5515 MB / 0.9585 GB, free: 142.1 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 975 * Number of states: 0 () * Number of discrete variables: 88 (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.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1129): * Single equations (assignments): 1126 * 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.0007653/1.747, allocations: 0.6376 MB / 0.9591 GB, free: 141.6 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006011/1.747, allocations: 0.5281 MB / 0.9596 GB, free: 141.3 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/1.748, allocations: 0.6232 MB / 0.9602 GB, free: 141.3 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-05/1.748, allocations: 14.12 kB / 0.9602 GB, free: 141.3 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/1.748, allocations: 3.844 kB / 0.9602 GB, free: 141.3 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/1.748, allocations: 10.62 kB / 0.9602 GB, free: 141.3 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02297/1.771, allocations: 19.95 MB / 0.9797 GB, free: 135 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.419e-05/1.772, allocations: 29.34 kB / 0.9798 GB, free: 135 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/1.773, allocations: 276.8 kB / 0.98 GB, free: 135 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.854e-05/1.773, allocations: 35.28 kB / 0.9801 GB, free: 135 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/1.773, allocations: 43.34 kB / 0.9801 GB, free: 135 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.406e-05/1.773, allocations: 52.45 kB / 0.9801 GB, free: 135 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.718e-05/1.773, allocations: 41.25 kB / 0.9802 GB, free: 134.9 MB / 0.5262 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003658/1.777, allocations: 7.685 MB / 0.9877 GB, free: 127.8 MB / 0.5262 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003419/1.78, allocations: 8.14 MB / 0.9956 GB, free: 120.1 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009481/1.781, allocations: 0.5945 MB / 0.9962 GB, free: 119.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006147/1.782, allocations: 36.78 kB / 0.9963 GB, free: 119.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/1.784, allocations: 148.2 kB / 0.9964 GB, free: 119.7 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/1.784, allocations: 147.7 kB / 0.9965 GB, free: 119.6 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/1.784, allocations: 87.12 kB / 0.9966 GB, free: 119.6 MB / 0.5262 GB Notification: Performance of sort global known variables: time 0.004815/1.789, allocations: 3.587 MB / 1 GB, free: 118.4 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.008582/1.797, allocations: 2.065 MB / 1.002 GB, free: 117.8 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 137 * 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.0004072/1.798, allocations: 186 kB / 1.002 GB, free: 117.7 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.006548/1.804, allocations: 5.092 MB / 1.007 GB, free: 114.4 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.804, allocations: 4 kB / 1.007 GB, free: 114.4 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/1.805, allocations: 1.04 MB / 1.008 GB, free: 113.5 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003339/1.809, allocations: 0.7489 MB / 1.009 GB, free: 112.9 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/1.83, allocations: 13.46 MB / 1.022 GB, free: 100.4 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006912/1.837, allocations: 6.579 MB / 1.029 GB, free: 95.52 MB / 0.5262 GB Notification: Performance of SimCode: time 9.12e-07/1.837, allocations: 0 / 1.029 GB, free: 95.52 MB / 0.5262 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1)