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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001236/0.001236, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.244/0.244, allocations: 46.11 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 73.06 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1493, allocations: 62.45 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3026/0.452, allocations: 45.81 MB / 0.5129 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02541/0.4774, allocations: 9.834 MB / 0.5225 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0129/0.4903, allocations: 193.8 kB / 0.5227 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007586/0.498, allocations: 2.795 MB / 0.5254 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007379/0.5055, allocations: 1.645 MB / 0.527 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.5077, allocations: 0.6348 MB / 0.5276 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007523/0.5152, allocations: 5.39 MB / 0.5329 GB, free: 5.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00566/0.5209, allocations: 3.776 MB / 0.5366 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003368/0.5243, allocations: 1.333 MB / 0.5379 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00368/0.528, allocations: 2.113 MB / 0.5399 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001506/0.5295, allocations: 239.6 kB / 0.5402 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003484/0.533, allocations: 1.143 MB / 0.5413 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002473/0.5355, allocations: 1.784 MB / 0.543 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003006/0.5385, allocations: 2.076 MB / 0.5451 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008306/0.5468, allocations: 6.539 MB / 0.5514 GB, free: 8.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5469, allocations: 4 kB / 0.5514 GB, free: 8.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.5469, allocations: 0 / 0.5514 GB, free: 8.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001836/0.5471, allocations: 3.938 kB / 0.5514 GB, free: 8.141 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1475 * Number of variables: 1475 Notification: Performance of Generate backend data structure: time 0.008134/0.5552, allocations: 4.57 MB / 0.5559 GB, free: 3.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.533e-05/0.5553, allocations: 12.88 kB / 0.5559 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001174/0.5565, allocations: 0.7082 MB / 0.5566 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006405/0.5629, allocations: 1.944 MB / 0.5585 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004647/0.5676, allocations: 2.356 MB / 0.5608 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.5678, allocations: 248.4 kB / 0.5611 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008935/0.5687, allocations: 395.4 kB / 0.5614 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01811/0.5868, allocations: 9.744 MB / 0.5709 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001944/0.587, allocations: 39.67 kB / 0.571 GB, free: 3.648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009695/0.588, allocations: 157.4 kB / 0.5711 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002707/0.5907, allocations: 1.762 MB / 0.5729 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01675/0.6075, allocations: 8.081 MB / 0.5807 GB, free: 9.676 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05466/0.6622, allocations: 38.37 MB / 0.6182 GB, free: 2.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.6725, allocations: 3.71 MB / 0.6218 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00248/0.675, allocations: 1.627 MB / 0.6234 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01284/0.6879, allocations: 7.884 MB / 0.6311 GB, free: 4.566 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/0.688, allocations: 47.5 kB / 0.6312 GB, free: 4.512 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 5.75e-06/0.688, allocations: 0 / 0.6312 GB, free: 4.512 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.03359/0.7216, allocations: 12.34 MB / 0.6432 GB, free: 8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001517/0.7231, allocations: 1.617 MB / 0.6448 GB, free: 6.207 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007959/0.7311, allocations: 3.796 MB / 0.6485 GB, free: 2.422 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004274/0.7316, allocations: 52.59 kB / 0.6486 GB, free: 2.367 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002697/0.7343, allocations: 3.004 MB / 0.6515 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001153/0.7355, allocations: 0.599 MB / 0.6521 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003163/0.7387, allocations: 1.165 MB / 0.6532 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.7388, allocations: 305.1 kB / 0.6535 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003464/0.7423, allocations: 2.03 MB / 0.6555 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0057/0.748, allocations: 5.646 MB / 0.661 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/0.7582, allocations: 8.264 MB / 0.6691 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001395/0.7584, allocations: 36 kB / 0.6691 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.02236/0.7808, allocations: 8.904 MB / 0.6778 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.781, allocations: 60 kB / 0.6779 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01022/0.7912, allocations: 3.346 MB / 0.6811 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009054/0.8003, allocations: 1.93 MB / 0.683 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004633/0.805, allocations: 1.318 MB / 0.6843 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008514/0.8135, allocations: 5.785 MB / 0.6899 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004771/0.8183, allocations: 395.3 kB / 0.6903 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/0.8195, allocations: 360 kB / 0.6907 GB, free: 3.297 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (709): * Single equations (assignments): 700 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004292/0.8238, allocations: 2.008 MB / 0.6926 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000854/0.8247, allocations: 319.8 kB / 0.6929 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.8259, allocations: 436.2 kB / 0.6934 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005125/0.8311, allocations: 2.51 MB / 0.6958 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/0.8311, allocations: 0 / 0.6958 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/0.8311, allocations: 7.984 kB / 0.6958 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/0.848, allocations: 8.448 MB / 0.7041 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.8481, allocations: 4.469 kB / 0.7041 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.8493, allocations: 247.6 kB / 0.7043 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003024/0.8523, allocations: 1.033 MB / 0.7053 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001938/0.8525, allocations: 35.97 kB / 0.7053 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2522/1.105, allocations: 5.011 MB / 0.7102 GB, free: 192.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009/1.106, allocations: 1.485 MB / 0.7117 GB, free: 190.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008703/1.114, allocations: 5.207 MB / 0.7168 GB, free: 190 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009177/1.115, allocations: 383.4 kB / 0.7171 GB, free: 189.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/1.116, allocations: 33.05 kB / 0.7172 GB, free: 189.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/1.117, allocations: 135.7 kB / 0.7173 GB, free: 189.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003058/1.117, allocations: 94.39 kB / 0.7174 GB, free: 189.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/1.117, allocations: 42.94 kB / 0.7174 GB, free: 189.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003753/1.121, allocations: 2.355 MB / 0.7197 GB, free: 189 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/1.121, allocations: 1.406 kB / 0.7197 GB, free: 189 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004633/1.126, allocations: 1.007 MB / 0.7207 GB, free: 188.9 MB / 0.545 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 () * Number of clocked 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 (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008352/1.134, allocations: 5.856 MB / 0.7264 GB, free: 186.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009168/1.143, allocations: 5.503 MB / 0.7318 GB, free: 184.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/1.143, allocations: 3.969 kB / 0.7318 GB, free: 184.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003378/1.147, allocations: 2.141 MB / 0.7339 GB, free: 183.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/1.15, allocations: 416.1 kB / 0.7343 GB, free: 183.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07357/1.223, allocations: 52.5 MB / 0.7856 GB, free: 132.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002843/1.226, allocations: 3.117 MB / 0.7886 GB, free: 129.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003901/1.23, allocations: 1.798 MB / 0.7904 GB, free: 128 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/1.232, allocations: 1.761 MB / 0.7921 GB, free: 126.2 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/1.232, allocations: 0 / 0.7921 GB, free: 126.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08765/1.319, allocations: 69.19 MB / 0.8597 GB, free: 57.34 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/1.32, allocations: 246.2 kB / 0.8599 GB, free: 57.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.951/5.271, allocations: 0 / 0.8599 GB, free: 57.07 MB / 0.545 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/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)