Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",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 trunk/package.mo): time 0.001988/0.001988, allocations: 204.5 kB / 8.54 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009527/0.0009527, allocations: 95.33 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1757/0.1757, allocations: 45.14 MB / 383.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1872/0.3629, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09165/0.4546, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2651/0.7197, allocations: 106.1 MB / 0.6075 GB, free: 13.19 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.7199, allocations: 72.41 kB / 0.6075 GB, free: 13.15 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.5757/1.296, allocations: 159.5 MB / 0.7633 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/1.296, allocations: 7.406 kB / 0.7633 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/1.31, allocations: 2.897 MB / 0.7661 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01738/1.328, allocations: 7.952 MB / 0.7739 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/1.328, allocations: 245.7 kB / 0.7741 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00237/1.33, allocations: 450.7 kB / 0.7745 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0156/1.346, allocations: 10.69 MB / 0.785 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02407/1.37, allocations: 15.61 MB / 0.8002 GB, free: 96.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002523/1.37, allocations: 93.39 kB / 0.8003 GB, free: 96.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009601/1.371, allocations: 45.06 kB / 0.8003 GB, free: 96.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002082/1.373, allocations: 1.723 MB / 0.802 GB, free: 96.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07269/1.446, allocations: 77.66 MB / 0.8779 GB, free: 44.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/1.449, allocations: 2.452 MB / 0.8803 GB, free: 43.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/1.451, allocations: 1.332 MB / 0.8816 GB, free: 43.01 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/1.462, allocations: 6.749 MB / 0.8882 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/1.462, allocations: 44.91 kB / 0.8882 GB, free: 39.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=134): time 3.557e-06/1.462, allocations: 0 / 0.8882 GB, free: 39.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=134): time 0.01251/1.474, allocations: 3.918 MB / 0.892 GB, free: 38.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/1.474, allocations: 143.3 kB / 0.8922 GB, free: 38.42 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006721/1.481, allocations: 5.023 MB / 0.8971 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/1.481, allocations: 25.7 kB / 0.8971 GB, free: 35.24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00192/1.483, allocations: 4.956 MB / 0.9019 GB, free: 30.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/1.484, allocations: 0.5782 MB / 0.9025 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/1.484, allocations: 0 / 0.9025 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003058/1.484, allocations: 0.6475 MB / 0.9031 GB, free: 29.74 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002316/1.486, allocations: 1.959 MB / 0.905 GB, free: 27.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003899/1.49, allocations: 7.433 MB / 0.9123 GB, free: 18.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003996/1.494, allocations: 3.787 MB / 0.916 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-05/1.494, allocations: 56 kB / 0.916 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01082/1.505, allocations: 7.987 MB / 0.9238 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/1.505, allocations: 8 kB / 0.9239 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/1.505, allocations: 196 kB / 0.924 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/1.506, allocations: 288.8 kB / 0.9243 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005768/1.511, allocations: 1.976 MB / 0.9262 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001647/1.512, allocations: 389.2 kB / 0.9266 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006287/1.518, allocations: 1.068 MB / 0.9277 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005335/1.518, allocations: 0.5113 MB / 0.9282 GB, free: 3.738 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 68 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,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.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 (1031): * Single equations (assignments): 1028 * 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.0006251/1.519, allocations: 0.5952 MB / 0.9287 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005101/1.52, allocations: 0.4897 MB / 0.9292 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009897/1.521, allocations: 0.5686 MB / 0.9298 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.028e-05/1.521, allocations: 15.91 kB / 0.9298 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/1.521, allocations: 0 / 0.9298 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/1.521, allocations: 6.75 kB / 0.9298 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01903/1.54, allocations: 12.97 MB / 0.9425 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.339e-05/1.54, allocations: 24.03 kB / 0.9425 GB, free: 7.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/1.541, allocations: 203.9 kB / 0.9427 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-05/1.541, allocations: 28 kB / 0.9427 GB, free: 7.141 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/1.541, allocations: 31.61 kB / 0.9427 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.447e-05/1.541, allocations: 35.25 kB / 0.9428 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.765e-05/1.541, allocations: 27.88 kB / 0.9428 GB, free: 7.055 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00445/1.545, allocations: 5.784 MB / 0.9484 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004459/1.55, allocations: 6.249 MB / 0.9546 GB, free: 9.484 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/1.551, allocations: 0.5475 MB / 0.9551 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006406/1.552, allocations: 27.75 kB / 0.9551 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/1.554, allocations: 112.5 kB / 0.9552 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/1.554, allocations: 121.3 kB / 0.9553 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/1.554, allocations: 60 kB / 0.9554 GB, free: 8.672 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.005195/1.559, allocations: 3.388 MB / 0.9587 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008297/1.567, allocations: 1.733 MB / 0.9604 GB, free: 3.988 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 107 * 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.0004994/1.568, allocations: 174.6 kB / 0.9606 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.1536/1.722, allocations: 4.578 MB / 0.965 GB, free: 179.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/1.722, allocations: 7.531 kB / 0.965 GB, free: 179.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/1.723, allocations: 0.8475 MB / 0.9659 GB, free: 179.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003208/1.726, allocations: 0.6458 MB / 0.9665 GB, free: 179.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02022/1.746, allocations: 11.42 MB / 0.9777 GB, free: 176.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006802/1.753, allocations: 5.683 MB / 0.9832 GB, free: 175.9 MB / 0.5573 GB Notification: Performance of SimCode: time 7.72e-07/1.753, allocations: 0 / 0.9832 GB, free: 175.9 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1)