Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001413/0.001413, allocations: 207.7 kB / 8.544 MB, free: 2.586 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009574/0.0009574, allocations: 94.23 kB / 286.4 MB, free: 0.5 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2671/0.2671, allocations: 45.14 MB / 383.3 MB, free: 42.99 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.09926/0.3664, allocations: 69.38 MB / 452.7 MB, free: 8.715 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.5989, allocations: 63.24 MB / 0.5039 GB, free: 41.76 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1062/0.7052, allocations: 105.4 MB / 0.6068 GB, free: 8.484 MB / 430.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.7054, allocations: 75.95 kB / 0.6069 GB, free: 8.41 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.1563/0.8618, allocations: 62.95 MB / 0.6684 GB, free: 9.043 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.8618, allocations: 8 kB / 0.6684 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007695/0.8695, allocations: 1.563 MB / 0.6699 GB, free: 7.465 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003798/0.8733, allocations: 1.891 MB / 0.6718 GB, free: 5.523 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.8735, allocations: 108 kB / 0.6719 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007249/0.8742, allocations: 196 kB / 0.6721 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007187/0.8814, allocations: 4.893 MB / 0.6768 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009669/0.8911, allocations: 6.717 MB / 0.6834 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.189e-05/0.8912, allocations: 15.81 kB / 0.6834 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003885/0.8916, allocations: 15.91 kB / 0.6834 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007607/0.8923, allocations: 0.7401 MB / 0.6841 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1927/1.085, allocations: 24.42 MB / 0.708 GB, free: 89.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/1.086, allocations: 1.47 MB / 0.7094 GB, free: 88.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/1.087, allocations: 0.5568 MB / 0.71 GB, free: 88.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/1.087, allocations: 15.02 kB / 0.71 GB, free: 88.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/1.087, allocations: 40.03 kB / 0.71 GB, free: 88.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=99): time 3.146e-06/1.087, allocations: 3.375 kB / 0.71 GB, free: 88.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99): time 0.003601/1.091, allocations: 1.636 MB / 0.7116 GB, free: 88.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/1.091, allocations: 68.16 kB / 0.7117 GB, free: 88.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/1.092, allocations: 1.671 MB / 0.7133 GB, free: 88.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/1.092, allocations: 25.7 kB / 0.7133 GB, free: 88.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006895/1.093, allocations: 2.042 MB / 0.7153 GB, free: 87.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/1.093, allocations: 374.7 kB / 0.7157 GB, free: 87.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/1.093, allocations: 3.656 kB / 0.7157 GB, free: 87.26 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001911/1.094, allocations: 0.4918 MB / 0.7162 GB, free: 86.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/1.095, allocations: 0.9195 MB / 0.7171 GB, free: 86.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/1.096, allocations: 2.967 MB / 0.72 GB, free: 84.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/1.098, allocations: 1.703 MB / 0.7216 GB, free: 84.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.694e-05/1.098, allocations: 22.34 kB / 0.7217 GB, free: 84.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=437) (initialization): time 0.004265/1.102, allocations: 3.432 MB / 0.725 GB, free: 83.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/1.102, allocations: 3.562 kB / 0.725 GB, free: 83.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.513e-05/1.102, allocations: 75.72 kB / 0.7251 GB, free: 83.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.011e-05/1.103, allocations: 104.6 kB / 0.7252 GB, free: 83.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/1.105, allocations: 0.7524 MB / 0.7259 GB, free: 83.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.301e-05/1.105, allocations: 145.3 kB / 0.7261 GB, free: 83.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.106, allocations: 369.7 kB / 0.7264 GB, free: 83.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/1.107, allocations: 207.1 kB / 0.7266 GB, free: 83.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 34 (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.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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 (413): * Single equations (assignments): 410 * 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.0002975/1.107, allocations: 299.8 kB / 0.7269 GB, free: 83.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/1.107, allocations: 170.4 kB / 0.7271 GB, free: 83.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/1.109, allocations: 1.277 MB / 0.7283 GB, free: 83.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/1.109, allocations: 7.75 kB / 0.7283 GB, free: 83.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.109, allocations: 0 / 0.7283 GB, free: 83.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.109, allocations: 13.66 kB / 0.7283 GB, free: 83.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005794/1.115, allocations: 4.763 MB / 0.733 GB, free: 82.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/1.115, allocations: 12.44 kB / 0.733 GB, free: 82.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/1.115, allocations: 137.6 kB / 0.7331 GB, free: 82.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/1.115, allocations: 12.09 kB / 0.7331 GB, free: 82.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/1.115, allocations: 19.45 kB / 0.7332 GB, free: 82.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/1.115, allocations: 21.62 kB / 0.7332 GB, free: 82.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/1.115, allocations: 14.09 kB / 0.7332 GB, free: 82.3 MB / 0.4981 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001448/1.117, allocations: 2.15 MB / 0.7353 GB, free: 80.96 MB / 0.4981 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001525/1.118, allocations: 2.555 MB / 0.7378 GB, free: 79.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/1.118, allocations: 251.4 kB / 0.738 GB, free: 79.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/1.119, allocations: 18.34 kB / 0.738 GB, free: 79.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005704/1.119, allocations: 17.66 kB / 0.7381 GB, free: 79.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/1.119, allocations: 66.8 kB / 0.7381 GB, free: 79.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/1.119, allocations: 41.08 kB / 0.7382 GB, free: 79.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 0.0011/1.121, allocations: 1.113 MB / 0.7392 GB, free: 78.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003004/1.124, allocations: 0.7865 MB / 0.74 GB, free: 78.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 71 * 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.0002512/1.124, allocations: 145.5 kB / 0.7402 GB, free: 78.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002221/1.126, allocations: 2.165 MB / 0.7423 GB, free: 78.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.126, allocations: 3.781 kB / 0.7423 GB, free: 78.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005623/1.127, allocations: 0.5711 MB / 0.7428 GB, free: 78.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008051/1.127, allocations: 205.1 kB / 0.743 GB, free: 78.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007136/1.135, allocations: 5.038 MB / 0.7479 GB, free: 77.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002715/1.137, allocations: 2.841 MB / 0.7507 GB, free: 76.24 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/1.137, allocations: 0 / 0.7507 GB, free: 76.24 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1)