Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity",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.001828/0.001828, allocations: 206.7 kB / 8.543 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.365/1.365, allocations: 225.5 MB / 234.4 MB, free: 3.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 92.17 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2077/0.2077, allocations: 45.14 MB / 383.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2864/0.4942, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.6207, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.405/1.026, allocations: 108.8 MB / 0.6102 GB, free: 10.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/1.026, allocations: 77.45 kB / 0.6102 GB, free: 10.14 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: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.2388/1.265, allocations: 83.59 MB / 0.6919 GB, free: 14.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/1.265, allocations: 12 kB / 0.6919 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01822/1.283, allocations: 1.901 MB / 0.6937 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01859/1.302, allocations: 4.062 MB / 0.6977 GB, free: 8.734 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005056/1.302, allocations: 144 kB / 0.6978 GB, free: 8.594 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002741/1.305, allocations: 244 kB / 0.6981 GB, free: 8.355 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01889/1.324, allocations: 6.119 MB / 0.704 GB, free: 2.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/1.346, allocations: 9.383 MB / 0.7132 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001866/1.346, allocations: 59.48 kB / 0.7133 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007862/1.347, allocations: 32 kB / 0.7133 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001416/1.348, allocations: 1.041 MB / 0.7143 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3251/1.673, allocations: 47.83 MB / 0.761 GB, free: 76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003305/1.677, allocations: 2.538 MB / 0.7635 GB, free: 75.35 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/1.679, allocations: 1.677 MB / 0.7651 GB, free: 75.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009172/1.688, allocations: 6.034 MB / 0.771 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/1.688, allocations: 50.72 kB / 0.7711 GB, free: 73.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=141): time 7.204e-06/1.688, allocations: 0 / 0.7711 GB, free: 73.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=148): time 0.02026/1.708, allocations: 9.582 MB / 0.7804 GB, free: 70.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/1.708, allocations: 151.3 kB / 0.7806 GB, free: 70.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004387/1.713, allocations: 2.93 MB / 0.7834 GB, free: 70.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003008/1.713, allocations: 30.7 kB / 0.7835 GB, free: 70.24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001554/1.714, allocations: 2.931 MB / 0.7863 GB, free: 68.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006479/1.715, allocations: 0.5867 MB / 0.7869 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/1.715, allocations: 0.8438 kB / 0.7869 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002849/1.716, allocations: 0.5552 MB / 0.7874 GB, free: 67.83 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002353/1.718, allocations: 1.952 MB / 0.7893 GB, free: 67.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004142/1.722, allocations: 5.683 MB / 0.7949 GB, free: 62.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004486/1.727, allocations: 3.315 MB / 0.7981 GB, free: 62.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-05/1.727, allocations: 38.03 kB / 0.7982 GB, free: 62.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.0189/1.746, allocations: 7.861 MB / 0.8058 GB, free: 62.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/1.746, allocations: 7.406 kB / 0.8059 GB, free: 62.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0101/1.756, allocations: 2.968 MB / 0.8088 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009099/1.765, allocations: 1.561 MB / 0.8103 GB, free: 62.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005063/1.77, allocations: 1.35 MB / 0.8116 GB, free: 62.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006965/1.777, allocations: 5.355 MB / 0.8168 GB, free: 59.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004872/1.782, allocations: 227.3 kB / 0.817 GB, free: 59.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008383/1.783, allocations: 374.1 kB / 0.8174 GB, free: 59.63 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (738): * Single equations (assignments): 729 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009483/1.784, allocations: 440.8 kB / 0.8178 GB, free: 59.31 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006303/1.785, allocations: 302.9 kB / 0.8181 GB, free: 59.15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005086/1.79, allocations: 2.787 MB / 0.8208 GB, free: 59.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004104/1.794, allocations: 2.364 MB / 0.8231 GB, free: 58.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/1.794, allocations: 7.688 kB / 0.8231 GB, free: 58.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/1.794, allocations: 3.844 kB / 0.8231 GB, free: 58.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/1.81, allocations: 7.862 MB / 0.8308 GB, free: 56.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.81, allocations: 4.281 kB / 0.8308 GB, free: 56.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/1.811, allocations: 223.2 kB / 0.831 GB, free: 56.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002873/1.814, allocations: 0.9572 MB / 0.832 GB, free: 56.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/1.814, allocations: 22.02 kB / 0.832 GB, free: 56.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004939/1.819, allocations: 4.823 MB / 0.8367 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006873/1.82, allocations: 1.378 MB / 0.8381 GB, free: 51.86 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007409/1.827, allocations: 5.208 MB / 0.8431 GB, free: 49.71 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01088/1.838, allocations: 7.264 MB / 0.8502 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.839, allocations: 359.7 kB / 0.8506 GB, free: 46.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004667/1.84, allocations: 14.58 kB / 0.8506 GB, free: 46.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.841, allocations: 70.89 kB / 0.8507 GB, free: 46.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/1.841, allocations: 68.41 kB / 0.8507 GB, free: 46.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.841, allocations: 41.69 kB / 0.8508 GB, free: 46.24 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003498/1.845, allocations: 1.941 MB / 0.8527 GB, free: 45.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007733/1.853, allocations: 0.945 MB / 0.8536 GB, free: 45.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * 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): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007395/1.854, allocations: 158.4 kB / 0.8537 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01113/1.865, allocations: 5.216 MB / 0.8588 GB, free: 43.49 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.865, allocations: 0 / 0.8588 GB, free: 43.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004311/1.869, allocations: 2.004 MB / 0.8608 GB, free: 42.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/1.872, allocations: 342.8 kB / 0.8611 GB, free: 42.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/1.889, allocations: 7.695 MB / 0.8686 GB, free: 36.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004792/1.893, allocations: 3.54 MB / 0.8721 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.322e-06/1.893, allocations: 4 kB / 0.8721 GB, free: 33.3 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1)