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.001313/0.001313, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2424/0.2424, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.002237/0.002237, allocations: 78.03 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1332, allocations: 62.44 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01532/0.1486, allocations: 11.13 MB / 491.3 MB, free: 9.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009306/0.1579, allocations: 4.096 MB / 495.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.1598, allocations: 67.81 kB / 495.5 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005302/0.1651, allocations: 2.803 MB / 498.3 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004575/0.1697, allocations: 1.747 MB / 0.4883 GB, free: 1.238 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.1713, allocations: 0.7019 MB / 0.489 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005223/0.1766, allocations: 3.656 MB / 0.4926 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005655/0.1822, allocations: 3.812 MB / 0.4963 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003704/0.186, allocations: 1.503 MB / 0.4978 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003747/0.1898, allocations: 1.982 MB / 0.4997 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001074/0.1909, allocations: 332 kB / 0.5 GB, free: 5.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.1938, allocations: 1.178 MB / 0.5012 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002465/0.1963, allocations: 1.847 MB / 0.503 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2514/0.4477, allocations: 2.146 MB / 0.5051 GB, free: 18.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01383/0.4616, allocations: 6.603 MB / 0.5115 GB, free: 18.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.4617, allocations: 1.328 kB / 0.5115 GB, free: 18.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.317e-06/0.4617, allocations: 0 / 0.5115 GB, free: 18.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004075/0.4621, allocations: 3.406 kB / 0.5115 GB, free: 18.3 MB / 382.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.01612/0.4782, allocations: 4.573 MB / 0.516 GB, free: 16.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.4783, allocations: 9.625 kB / 0.516 GB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002532/0.4809, allocations: 0.713 MB / 0.5167 GB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007859/0.4887, allocations: 1.939 MB / 0.5186 GB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00577/0.4945, allocations: 2.359 MB / 0.5209 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/0.4948, allocations: 249 kB / 0.5211 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001365/0.4962, allocations: 402.8 kB / 0.5215 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01809/0.5143, allocations: 9.746 MB / 0.531 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001326/0.5145, allocations: 39.97 kB / 0.5311 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004797/0.515, allocations: 163 kB / 0.5312 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002401/0.5174, allocations: 1.757 MB / 0.5329 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/0.5329, allocations: 8.075 MB / 0.5408 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05306/0.586, allocations: 38.35 MB / 0.5783 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.5964, allocations: 3.72 MB / 0.5819 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002622/0.5991, allocations: 1.634 MB / 0.5835 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01327/0.6124, allocations: 7.884 MB / 0.5912 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/0.6125, allocations: 50.84 kB / 0.5912 GB, free: 2.719 MB / 430.1 MB Notification: Performance of pre-optimization done (n=141): time 6.141e-06/0.6125, allocations: 0 / 0.5912 GB, free: 2.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.03195/0.6444, allocations: 12.34 MB / 0.6033 GB, free: 6.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001595/0.6461, allocations: 1.705 MB / 0.605 GB, free: 4.352 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006345/0.6524, allocations: 3.796 MB / 0.6087 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005867/0.6531, allocations: 45.7 kB / 0.6087 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00284/0.6559, allocations: 3.006 MB / 0.6117 GB, free: 13.51 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.657, allocations: 0.5998 MB / 0.6122 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00181/0.6588, allocations: 1.163 MB / 0.6134 GB, free: 11.74 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6589, allocations: 305.1 kB / 0.6137 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003274/0.6622, allocations: 2.037 MB / 0.6157 GB, free: 9.395 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006031/0.6683, allocations: 5.646 MB / 0.6212 GB, free: 2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/0.6788, allocations: 8.268 MB / 0.6292 GB, free: 8.465 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001104/0.6789, allocations: 36 kB / 0.6293 GB, free: 8.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=747) (initialization): time 0.02329/0.7022, allocations: 8.892 MB / 0.638 GB, free: 15.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.742e-05/0.7024, allocations: 61 kB / 0.638 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01053/0.7129, allocations: 3.34 MB / 0.6413 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009979/0.7229, allocations: 1.938 MB / 0.6432 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004737/0.7277, allocations: 1.322 MB / 0.6445 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009779/0.7375, allocations: 6.146 MB / 0.6505 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00492/0.7425, allocations: 392.2 kB / 0.6508 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008401/0.7433, allocations: 362.7 kB / 0.6512 GB, free: 1.902 MB / 494.1 MB 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.003729/0.7471, allocations: 2.001 MB / 0.6531 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006532/0.7477, allocations: 327.6 kB / 0.6534 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008842/0.7486, allocations: 440.2 kB / 0.6539 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00521/0.7538, allocations: 2.5 MB / 0.6563 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.7539, allocations: 7.984 kB / 0.6563 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/0.7539, allocations: 7.984 kB / 0.6563 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/0.7713, allocations: 8.452 MB / 0.6646 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/0.7714, allocations: 7.938 kB / 0.6646 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/0.7727, allocations: 243.7 kB / 0.6648 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00325/0.776, allocations: 1.045 MB / 0.6658 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002781/0.7763, allocations: 35.97 kB / 0.6659 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006657/0.783, allocations: 5.345 MB / 0.6711 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001276/0.7843, allocations: 1.577 MB / 0.6726 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00909/0.7934, allocations: 5.208 MB / 0.6777 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.7944, allocations: 376.8 kB / 0.6781 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004098/0.7948, allocations: 34.64 kB / 0.6781 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.7963, allocations: 135.8 kB / 0.6782 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002893/0.7966, allocations: 96.73 kB / 0.6783 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.7967, allocations: 47.98 kB / 0.6784 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004566/0.8013, allocations: 2.36 MB / 0.6807 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.052e-06/0.8014, allocations: 0 / 0.6807 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007141/0.8085, allocations: 1.006 MB / 0.6817 GB, free: 2.094 MB / 0.5137 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.009536/0.8181, allocations: 5.841 MB / 0.6874 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01349/0.8316, allocations: 6.077 MB / 0.6933 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.8316, allocations: 0 / 0.6933 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004677/0.8363, allocations: 2.154 MB / 0.6954 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/0.8394, allocations: 436 kB / 0.6958 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3037/1.143, allocations: 50.76 MB / 0.7454 GB, free: 179.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002689/1.146, allocations: 3.126 MB / 0.7484 GB, free: 177.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00373/1.15, allocations: 1.799 MB / 0.7502 GB, free: 176.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/1.152, allocations: 1.758 MB / 0.7519 GB, free: 174.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.583e-06/1.152, allocations: 0 / 0.7519 GB, free: 174.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1131/1.265, allocations: 70.59 MB / 0.8209 GB, free: 104.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.35, allocations: 8.469 kB / 0.8209 GB, free: 104.9 MB / 0.545 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)