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.001551/0.001551, allocations: 118.8 kB / 17.79 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002086/0.002086, allocations: 201.2 kB / 18.73 MB, free: 4.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2188/0.2188, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 79.86 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3461, allocations: 62.42 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01267/0.3588, allocations: 11.14 MB / 0.5414 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00916/0.368, allocations: 4.088 MB / 0.5454 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.3705, allocations: 66.09 kB / 0.5454 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00557/0.3762, allocations: 2.799 MB / 0.5482 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005138/0.3813, allocations: 1.756 MB / 0.5499 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.3833, allocations: 0.6863 MB / 0.5505 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005488/0.3888, allocations: 3.68 MB / 0.5541 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004612/0.3935, allocations: 3.804 MB / 0.5579 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.3958, allocations: 1.495 MB / 0.5593 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/0.3988, allocations: 1.99 MB / 0.5613 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009863/0.3998, allocations: 328 kB / 0.5616 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00275/0.4025, allocations: 1.182 MB / 0.5627 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001975/0.4045, allocations: 1.882 MB / 0.5646 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002497/0.4071, allocations: 2.152 MB / 0.5667 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007304/0.4144, allocations: 6.836 MB / 0.5733 GB, free: 5.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.4144, allocations: 0 / 0.5733 GB, free: 5.734 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4144, allocations: 0 / 0.5733 GB, free: 5.734 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002007/0.4146, allocations: 0 / 0.5733 GB, free: 5.734 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: 1475 * Number of variables: 1475 Notification: Performance of Generate backend data structure: time 0.009009/0.4236, allocations: 4.568 MB / 0.5778 GB, free: 1.098 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.4237, allocations: 12.02 kB / 0.5778 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009805/0.4247, allocations: 0.6992 MB / 0.5785 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006398/0.4311, allocations: 1.957 MB / 0.5804 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004763/0.4359, allocations: 2.392 MB / 0.5827 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.4361, allocations: 250.1 kB / 0.583 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008882/0.437, allocations: 403.7 kB / 0.5834 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/0.4533, allocations: 9.736 MB / 0.5929 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/0.4535, allocations: 47.52 kB / 0.5929 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004932/0.454, allocations: 159.9 kB / 0.5931 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002377/0.4563, allocations: 1.751 MB / 0.5948 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/0.4718, allocations: 8.086 MB / 0.6027 GB, free: 6.844 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04726/0.5191, allocations: 38.17 MB / 0.64 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009526/0.5287, allocations: 3.711 MB / 0.6436 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002268/0.531, allocations: 1.63 MB / 0.6452 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01264/0.5437, allocations: 7.88 MB / 0.6529 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.193e-05/0.5438, allocations: 47.56 kB / 0.6529 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 7.865e-06/0.5438, allocations: 0 / 0.6529 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=148): time 0.0303/0.5741, allocations: 12.36 MB / 0.665 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001425/0.5756, allocations: 1.696 MB / 0.6666 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007932/0.5836, allocations: 3.804 MB / 0.6704 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004993/0.5841, allocations: 49.7 kB / 0.6704 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002452/0.5866, allocations: 3.004 MB / 0.6733 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008683/0.5875, allocations: 0.598 MB / 0.6739 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002779/0.5903, allocations: 1.162 MB / 0.675 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.5905, allocations: 309 kB / 0.6753 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003921/0.5944, allocations: 2.026 MB / 0.6773 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006989/0.6014, allocations: 5.654 MB / 0.6828 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.6125, allocations: 8.264 MB / 0.6909 GB, free: 6.672 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001477/0.6127, allocations: 36 kB / 0.6909 GB, free: 6.637 MB / 0.545 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.0214/0.6341, allocations: 8.896 MB / 0.6996 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.6343, allocations: 60 kB / 0.6997 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01014/0.6445, allocations: 3.347 MB / 0.703 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008959/0.6535, allocations: 1.938 MB / 0.7049 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004244/0.6578, allocations: 1.318 MB / 0.7061 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008551/0.6664, allocations: 6.14 MB / 0.7121 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004804/0.6712, allocations: 395.3 kB / 0.7125 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001283/0.6725, allocations: 360 kB / 0.7129 GB, free: 15.86 MB / 0.5762 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.004706/0.6773, allocations: 2.002 MB / 0.7148 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009491/0.6782, allocations: 323.8 kB / 0.7151 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.6796, allocations: 440.2 kB / 0.7155 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005066/0.6847, allocations: 2.496 MB / 0.718 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/0.6847, allocations: 7.984 kB / 0.718 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.611e-05/0.6848, allocations: 11.91 kB / 0.718 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/0.7039, allocations: 8.455 MB / 0.7263 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/0.704, allocations: 0 / 0.7263 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.7053, allocations: 251.6 kB / 0.7265 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002978/0.7083, allocations: 1.033 MB / 0.7275 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002443/0.7086, allocations: 31.98 kB / 0.7275 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2667/0.9753, allocations: 5.336 MB / 0.7327 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007309/0.9761, allocations: 1.561 MB / 0.7343 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007762/0.9838, allocations: 5.209 MB / 0.7394 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009132/0.9848, allocations: 377 kB / 0.7397 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004074/0.9852, allocations: 37.78 kB / 0.7398 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.9866, allocations: 136.4 kB / 0.7399 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/0.9868, allocations: 90.41 kB / 0.74 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.9869, allocations: 48.31 kB / 0.74 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003509/0.9905, allocations: 2.354 MB / 0.7423 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.02e-07/0.9905, allocations: 1.062 kB / 0.7423 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004512/0.995, allocations: 1.009 MB / 0.7433 GB, free: 169.7 MB / 0.5762 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.00739/1.002, allocations: 5.866 MB / 0.749 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008598/1.011, allocations: 5.498 MB / 0.7544 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.011, allocations: 0 / 0.7544 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003604/1.015, allocations: 2.161 MB / 0.7565 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/1.018, allocations: 441.3 kB / 0.7569 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06099/1.079, allocations: 45.48 MB / 0.8013 GB, free: 113.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002644/1.081, allocations: 3.133 MB / 0.8044 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003288/1.085, allocations: 1.795 MB / 0.8062 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/1.086, allocations: 1.765 MB / 0.8079 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/1.086, allocations: 0 / 0.8079 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/1.187, allocations: 68.04 MB / 0.8743 GB, free: 38.88 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.91/22.09, allocations: 25.27 kB / 0.8743 GB, free: 38.86 MB / 0.5762 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)