Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001421/0.001421, 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.001537/0.001537, 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.52/1.52, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2276/0.2276, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 75.88 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3605, allocations: 62.46 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01307/0.3736, allocations: 11.13 MB / 0.5415 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009507/0.3832, allocations: 4.093 MB / 0.5455 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/0.3862, allocations: 66.75 kB / 0.5455 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006148/0.3924, allocations: 2.798 MB / 0.5483 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006514/0.399, allocations: 1.748 MB / 0.55 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.401, allocations: 0.6941 MB / 0.5506 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006367/0.4074, allocations: 3.684 MB / 0.5542 GB, free: 9.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005019/0.4125, allocations: 3.8 MB / 0.558 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002847/0.4153, allocations: 1.511 MB / 0.5594 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003196/0.4186, allocations: 1.97 MB / 0.5614 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008946/0.4195, allocations: 332 kB / 0.5617 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/0.4222, allocations: 1.182 MB / 0.5628 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002043/0.4243, allocations: 1.851 MB / 0.5646 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002773/0.4271, allocations: 2.152 MB / 0.5667 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008974/0.436, allocations: 6.859 MB / 0.5734 GB, free: 5.633 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4361, allocations: 0 / 0.5734 GB, free: 5.633 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4361, allocations: 0 / 0.5734 GB, free: 5.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002211/0.4363, allocations: 0 / 0.5734 GB, free: 5.633 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.01181/0.4481, allocations: 4.686 MB / 0.578 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.4482, allocations: 12.03 kB / 0.578 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001476/0.4497, allocations: 0.707 MB / 0.5787 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007378/0.4571, allocations: 1.974 MB / 0.5806 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005354/0.4625, allocations: 2.406 MB / 0.583 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.4627, allocations: 246.2 kB / 0.5832 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/0.464, allocations: 407.7 kB / 0.5836 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01989/0.4839, allocations: 9.74 MB / 0.5931 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.484, allocations: 39.64 kB / 0.5932 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004187/0.4845, allocations: 151.9 kB / 0.5933 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002691/0.4872, allocations: 1.763 MB / 0.595 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01694/0.5041, allocations: 8.082 MB / 0.6029 GB, free: 6.586 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05111/0.5553, allocations: 38.25 MB / 0.6403 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/0.5654, allocations: 3.702 MB / 0.6439 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002524/0.568, allocations: 1.619 MB / 0.6455 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01286/0.5808, allocations: 7.901 MB / 0.6532 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.607e-05/0.581, allocations: 59.5 kB / 0.6532 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 5.21e-06/0.581, allocations: 0 / 0.6532 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=148): time 0.0334/0.6144, allocations: 12.56 MB / 0.6655 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001788/0.6162, allocations: 1.708 MB / 0.6672 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006324/0.6225, allocations: 3.809 MB / 0.6709 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003335/0.6229, allocations: 49.69 kB / 0.6709 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002721/0.6256, allocations: 3.135 MB / 0.674 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00113/0.6268, allocations: 0.6242 MB / 0.6746 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002964/0.6298, allocations: 1.175 MB / 0.6758 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6299, allocations: 301.1 kB / 0.6761 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003738/0.6337, allocations: 2.029 MB / 0.678 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006813/0.6405, allocations: 5.657 MB / 0.6836 GB, free: 48 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/0.6522, allocations: 8.251 MB / 0.6916 GB, free: 5.996 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001685/0.6524, allocations: 36 kB / 0.6917 GB, free: 5.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.0221/0.6745, allocations: 8.923 MB / 0.7004 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.6747, allocations: 60.47 kB / 0.7004 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01043/0.6852, allocations: 3.339 MB / 0.7037 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00949/0.6947, allocations: 1.942 MB / 0.7056 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00448/0.6992, allocations: 1.31 MB / 0.7069 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009447/0.7087, allocations: 6.14 MB / 0.7129 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004488/0.7132, allocations: 407.3 kB / 0.7132 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/0.7143, allocations: 360 kB / 0.7136 GB, free: 15.16 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.004348/0.7187, allocations: 2.002 MB / 0.7155 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000892/0.7196, allocations: 341.7 kB / 0.7159 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.7209, allocations: 440.2 kB / 0.7163 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005406/0.7263, allocations: 2.5 MB / 0.7187 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/0.7264, allocations: 8 kB / 0.7187 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/0.7264, allocations: 7.969 kB / 0.7187 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/0.7434, allocations: 8.443 MB / 0.727 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/0.7435, allocations: 3.984 kB / 0.727 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.7447, allocations: 255.6 kB / 0.7272 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2554/1, allocations: 1.028 MB / 0.7282 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004994/1.001, allocations: 41.7 kB / 0.7283 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007084/1.008, allocations: 5.33 MB / 0.7335 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000971/1.009, allocations: 1.566 MB / 0.735 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008538/1.017, allocations: 5.227 MB / 0.7401 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000923/1.018, allocations: 399.3 kB / 0.7405 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004423/1.019, allocations: 41.14 kB / 0.7405 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.02, allocations: 131.6 kB / 0.7407 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002919/1.02, allocations: 96.61 kB / 0.7408 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/1.021, allocations: 45.19 kB / 0.7408 GB, free: 170 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003821/1.024, allocations: 2.36 MB / 0.7431 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.81e-07/1.024, allocations: 0 / 0.7431 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004329/1.029, allocations: 1.001 MB / 0.7441 GB, free: 169.1 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.007195/1.036, allocations: 5.879 MB / 0.7498 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008099/1.044, allocations: 5.499 MB / 0.7552 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.044, allocations: 0 / 0.7552 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003608/1.048, allocations: 2.166 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.002623/1.05, 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.06227/1.113, allocations: 45.68 MB / 0.8023 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002545/1.115, allocations: 3.117 MB / 0.8054 GB, free: 109.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00324/1.119, allocations: 1.798 MB / 0.8071 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001755/1.12, allocations: 1.765 MB / 0.8089 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/1.12, allocations: 0 / 0.8089 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/1.228, allocations: 67.08 MB / 0.8744 GB, free: 38.99 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.78/23.01, allocations: 0 / 0.8744 GB, free: 38.99 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.AngularVelocity_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1)