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.001298/0.001298, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.11 MB / 344.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3506, allocations: 62.45 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01343/0.3641, allocations: 11.13 MB / 0.5415 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.3745, allocations: 4.093 MB / 0.5455 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003055/0.3776, allocations: 66.22 kB / 0.5455 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005916/0.3836, allocations: 2.807 MB / 0.5483 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005419/0.3891, allocations: 1.747 MB / 0.55 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.3909, allocations: 0.6941 MB / 0.5507 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005656/0.3966, allocations: 3.68 MB / 0.5543 GB, free: 9.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00486/0.4015, allocations: 3.796 MB / 0.558 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002726/0.4042, allocations: 1.511 MB / 0.5594 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00341/0.4077, allocations: 1.978 MB / 0.5614 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008379/0.4085, allocations: 332 kB / 0.5617 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.4112, allocations: 1.17 MB / 0.5628 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002144/0.4133, allocations: 1.855 MB / 0.5646 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002766/0.4161, allocations: 2.159 MB / 0.5667 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009815/0.4259, allocations: 6.86 MB / 0.5734 GB, free: 5.609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.426, allocations: 0 / 0.5734 GB, free: 5.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.426, allocations: 0 / 0.5734 GB, free: 5.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002506/0.4263, allocations: 0 / 0.5734 GB, free: 5.609 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.01168/0.4379, allocations: 4.69 MB / 0.578 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.438, allocations: 8.031 kB / 0.578 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001408/0.4394, allocations: 0.7031 MB / 0.5787 GB, free: 124 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007324/0.4468, allocations: 1.974 MB / 0.5806 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0053/0.4521, allocations: 2.41 MB / 0.583 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.4523, allocations: 242.2 kB / 0.5832 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/0.4535, allocations: 407.6 kB / 0.5836 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01857/0.472, allocations: 9.74 MB / 0.5931 GB, free: 0.625 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/0.4722, allocations: 39.64 kB / 0.5932 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004345/0.4726, allocations: 159.8 kB / 0.5933 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002723/0.4754, allocations: 1.755 MB / 0.595 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01663/0.492, allocations: 8.082 MB / 0.6029 GB, free: 6.566 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05356/0.5456, allocations: 38.25 MB / 0.6403 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/0.5563, allocations: 3.712 MB / 0.6439 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002503/0.5588, allocations: 1.623 MB / 0.6455 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01208/0.5709, allocations: 7.901 MB / 0.6532 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/0.571, allocations: 51.5 kB / 0.6533 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 4.268e-06/0.571, allocations: 0 / 0.6533 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=148): time 0.03071/0.6017, allocations: 12.57 MB / 0.6655 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00155/0.6033, allocations: 1.708 MB / 0.6672 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005432/0.6088, allocations: 3.809 MB / 0.6709 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003532/0.6092, allocations: 49.7 kB / 0.671 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002778/0.6119, allocations: 3.127 MB / 0.674 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001152/0.6131, allocations: 0.6281 MB / 0.6746 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001822/0.6149, allocations: 1.179 MB / 0.6758 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6151, allocations: 301.1 kB / 0.6761 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003127/0.6182, allocations: 2.033 MB / 0.6781 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006592/0.6248, allocations: 5.654 MB / 0.6836 GB, free: 28 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/0.6366, allocations: 8.249 MB / 0.6916 GB, free: 5.977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/0.6367, allocations: 36 kB / 0.6917 GB, free: 5.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.02245/0.6592, allocations: 8.929 MB / 0.7004 GB, free: 13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-05/0.6593, allocations: 60 kB / 0.7004 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01036/0.6697, allocations: 3.339 MB / 0.7037 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009653/0.6794, allocations: 1.934 MB / 0.7056 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004299/0.6837, allocations: 1.318 MB / 0.7069 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009332/0.6931, allocations: 6.137 MB / 0.7129 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004357/0.6975, allocations: 407.4 kB / 0.7133 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007773/0.6982, allocations: 356 kB / 0.7136 GB, free: 15.14 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.003223/0.7015, allocations: 1.998 MB / 0.7156 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006501/0.7021, allocations: 345.7 kB / 0.7159 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008784/0.703, allocations: 448.1 kB / 0.7163 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005158/0.7082, allocations: 2.496 MB / 0.7187 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.7082, allocations: 4 kB / 0.7187 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.7082, allocations: 3.984 kB / 0.7188 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/0.7237, allocations: 8.455 MB / 0.727 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.7237, allocations: 0 / 0.727 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.725, allocations: 255.6 kB / 0.7273 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2809/1.006, allocations: 1.032 MB / 0.7283 GB, free: 176.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004904/1.006, allocations: 38.17 kB / 0.7283 GB, free: 176.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006508/1.013, allocations: 5.329 MB / 0.7335 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009126/1.014, allocations: 1.574 MB / 0.735 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008239/1.022, allocations: 5.222 MB / 0.7401 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008421/1.023, allocations: 407.6 kB / 0.7405 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003365/1.023, allocations: 27.34 kB / 0.7406 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.025, allocations: 137.3 kB / 0.7407 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002739/1.025, allocations: 99.7 kB / 0.7408 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/1.025, allocations: 42.14 kB / 0.7408 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003132/1.028, allocations: 2.356 MB / 0.7431 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/1.028, allocations: 3.594 kB / 0.7431 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003844/1.032, allocations: 1.008 MB / 0.7441 GB, free: 169 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.00665/1.039, allocations: 5.866 MB / 0.7498 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007729/1.046, allocations: 5.513 MB / 0.7552 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/1.046, allocations: 0 / 0.7552 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003344/1.05, allocations: 2.162 MB / 0.7573 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/1.052, allocations: 434.2 kB / 0.7577 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06226/1.115, allocations: 45.67 MB / 0.8023 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003901/1.118, allocations: 3.117 MB / 0.8054 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003674/1.122, allocations: 1.798 MB / 0.8071 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002223/1.124, allocations: 1.765 MB / 0.8089 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.213e-06/1.124, allocations: 0 / 0.8089 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1552/1.28, allocations: 67.07 MB / 0.8744 GB, free: 38.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.94/23.22, allocations: 1.484 kB / 0.8744 GB, free: 38.97 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)