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.001278/0.001278, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2289/0.2289, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3812, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01311/0.3944, allocations: 11.13 MB / 0.5414 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.4048, allocations: 4.099 MB / 0.5454 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002666/0.4076, allocations: 65.78 kB / 0.5454 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006131/0.4137, allocations: 2.807 MB / 0.5482 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005772/0.4196, allocations: 1.749 MB / 0.5499 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.4216, allocations: 0.6863 MB / 0.5506 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005721/0.4274, allocations: 3.688 MB / 0.5542 GB, free: 9.504 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005203/0.4326, allocations: 3.793 MB / 0.5579 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002764/0.4354, allocations: 1.499 MB / 0.5593 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00323/0.4386, allocations: 1.99 MB / 0.5613 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.4398, allocations: 328 kB / 0.5616 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/0.4428, allocations: 1.186 MB / 0.5627 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002867/0.4457, allocations: 1.878 MB / 0.5646 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004251/0.45, allocations: 2.156 MB / 0.5667 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.4615, allocations: 6.828 MB / 0.5733 GB, free: 5.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.4616, allocations: 0 / 0.5733 GB, free: 5.734 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4616, allocations: 0 / 0.5733 GB, free: 5.734 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003041/0.4619, 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.01295/0.4749, allocations: 4.569 MB / 0.5778 GB, free: 1.098 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.4749, allocations: 12.03 kB / 0.5778 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001942/0.4769, allocations: 0.707 MB / 0.5785 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007667/0.4846, allocations: 1.945 MB / 0.5804 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00614/0.4907, allocations: 2.4 MB / 0.5827 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.491, allocations: 246.1 kB / 0.583 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001533/0.4925, allocations: 407.6 kB / 0.5834 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01943/0.512, allocations: 9.736 MB / 0.5929 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002011/0.5122, allocations: 43.53 kB / 0.5929 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001054/0.5133, allocations: 155.9 kB / 0.5931 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002877/0.5162, allocations: 1.763 MB / 0.5948 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/0.5349, allocations: 8.082 MB / 0.6027 GB, free: 6.84 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05165/0.5866, allocations: 38.17 MB / 0.64 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.5969, allocations: 3.712 MB / 0.6436 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002567/0.5995, allocations: 1.625 MB / 0.6452 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01338/0.6129, allocations: 7.892 MB / 0.6529 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.613, allocations: 51.5 kB / 0.6529 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 4.949e-06/0.613, allocations: 0 / 0.6529 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=148): time 0.03122/0.6442, allocations: 12.34 MB / 0.665 GB, free: 5.105 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001501/0.6458, allocations: 1.712 MB / 0.6666 GB, free: 3.215 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006803/0.6526, allocations: 3.808 MB / 0.6704 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003319/0.653, allocations: 45.61 kB / 0.6704 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002554/0.6555, allocations: 3.004 MB / 0.6733 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000979/0.6565, allocations: 0.5941 MB / 0.6739 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002702/0.6593, allocations: 1.166 MB / 0.6751 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.6594, allocations: 309 kB / 0.6754 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003206/0.6626, allocations: 2.037 MB / 0.6773 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00566/0.6683, allocations: 5.646 MB / 0.6829 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009591/0.6779, allocations: 8.253 MB / 0.6909 GB, free: 6.676 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001288/0.6781, allocations: 36 kB / 0.691 GB, free: 6.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.02174/0.6998, allocations: 8.899 MB / 0.6996 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002058/0.7001, allocations: 61 kB / 0.6997 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0107/0.7108, allocations: 3.35 MB / 0.703 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009533/0.7204, allocations: 1.922 MB / 0.7048 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004478/0.7249, allocations: 1.318 MB / 0.7061 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008923/0.7338, allocations: 6.156 MB / 0.7121 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004988/0.7389, allocations: 395.3 kB / 0.7125 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001321/0.7402, allocations: 356 kB / 0.7129 GB, free: 15.86 MB / 0.5763 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.004931/0.7452, allocations: 2.006 MB / 0.7148 GB, free: 13.84 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/0.7464, allocations: 323.8 kB / 0.7151 GB, free: 13.52 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.7478, allocations: 440.2 kB / 0.7156 GB, free: 13.09 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005455/0.7533, allocations: 2.496 MB / 0.718 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/0.7534, allocations: 7.938 kB / 0.718 GB, free: 10.56 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.298e-05/0.7534, allocations: 7.922 kB / 0.718 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01892/0.7723, allocations: 8.451 MB / 0.7263 GB, free: 2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.7724, allocations: 0 / 0.7263 GB, free: 2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.7736, allocations: 251.6 kB / 0.7265 GB, free: 1.754 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00308/0.7767, allocations: 1.033 MB / 0.7275 GB, free: 0.707 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002291/0.777, allocations: 39.97 kB / 0.7275 GB, free: 0.668 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3022/1.079, allocations: 5.328 MB / 0.7327 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008221/1.08, allocations: 1.563 MB / 0.7343 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007881/1.088, allocations: 5.213 MB / 0.7394 GB, free: 170.7 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009365/1.089, allocations: 380.1 kB / 0.7397 GB, free: 170.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/1.089, allocations: 37.44 kB / 0.7398 GB, free: 170.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/1.091, allocations: 135.8 kB / 0.7399 GB, free: 170.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/1.091, allocations: 93.55 kB / 0.74 GB, free: 170.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.091, allocations: 46.09 kB / 0.74 GB, free: 170.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003548/1.095, allocations: 2.357 MB / 0.7423 GB, free: 169.7 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.21e-07/1.095, allocations: 0 / 0.7423 GB, free: 169.7 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00471/1.099, allocations: 1.005 MB / 0.7433 GB, free: 169.6 MB / 0.5763 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.007336/1.107, allocations: 5.856 MB / 0.749 GB, free: 167.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.008305/1.115, allocations: 5.503 MB / 0.7544 GB, free: 165.2 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.115, allocations: 3.938 kB / 0.7544 GB, free: 165.2 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003542/1.119, allocations: 2.158 MB / 0.7565 GB, free: 164.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/1.121, allocations: 428.9 kB / 0.7569 GB, free: 164 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0637/1.185, allocations: 45.5 MB / 0.8014 GB, free: 113.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002538/1.188, allocations: 3.125 MB / 0.8044 GB, free: 110.1 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003368/1.191, allocations: 1.802 MB / 0.8062 GB, free: 108.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001809/1.193, allocations: 1.761 MB / 0.8079 GB, free: 106.5 MB / 0.5763 GB Notification: Performance of SimCode: time 6.81e-07/1.193, allocations: 0 / 0.8079 GB, free: 106.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1141/1.307, allocations: 68.03 MB / 0.8743 GB, free: 38.84 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.95/22.26, allocations: 5.484 kB / 0.8743 GB, free: 38.84 MB / 0.5763 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)