Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009196/0.0009198, allocations: 91.88 kB / 17.35 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009418/0.0009419, allocations: 173.5 kB / 18.26 MB, free: 5.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 242.3 MB, free: 68 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2093/0.2093, allocations: 44.24 MB / 337.7 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003001, allocations: 8 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.115, allocations: 61.93 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3116/0.4267, allocations: 48.41 MB / 0.5086 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02496/0.4517, allocations: 10.5 MB / 0.5188 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009711/0.4614, allocations: 210.2 kB / 0.519 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.4632, allocations: 410.4 kB / 0.5194 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005217/0.4684, allocations: 1.704 MB / 0.5211 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.47, allocations: 0.6387 MB / 0.5217 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008099/0.4781, allocations: 5.436 MB / 0.527 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006768/0.4849, allocations: 5.286 MB / 0.5322 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/0.487, allocations: 1.101 MB / 0.5332 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.4895, allocations: 1.841 MB / 0.535 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005117/0.4901, allocations: 134.3 kB / 0.5352 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.4925, allocations: 1.074 MB / 0.5362 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001396/0.4939, allocations: 1.682 MB / 0.5379 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.4956, allocations: 1.96 MB / 0.5398 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006817/0.5024, allocations: 6.494 MB / 0.5461 GB, free: 12.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5024, allocations: 0 / 0.5461 GB, free: 12.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5024, allocations: 4 kB / 0.5461 GB, free: 12.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002367/0.5027, allocations: 0 / 0.5461 GB, free: 12.33 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.007756/0.5104, allocations: 3.811 MB / 0.5498 GB, free: 8.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.5105, allocations: 12.02 kB / 0.5499 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001732/0.5122, allocations: 0.7193 MB / 0.5506 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007195/0.5195, allocations: 1.964 MB / 0.5525 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00503/0.5245, allocations: 2.476 MB / 0.5549 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.5248, allocations: 251.8 kB / 0.5551 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/0.526, allocations: 410.4 kB / 0.5555 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/0.5427, allocations: 9.915 MB / 0.5652 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/0.5429, allocations: 43.58 kB / 0.5652 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004398/0.5433, allocations: 169.1 kB / 0.5654 GB, free: 8.078 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002614/0.5459, allocations: 1.815 MB / 0.5672 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01574/0.5617, allocations: 8.22 MB / 0.5752 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04662/0.6084, allocations: 38.76 MB / 0.6131 GB, free: 6.281 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009121/0.6175, allocations: 3.689 MB / 0.6167 GB, free: 2.449 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/0.6197, allocations: 1.619 MB / 0.6182 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01055/0.6302, allocations: 7.804 MB / 0.6259 GB, free: 8.633 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.6303, allocations: 59.5 kB / 0.6259 GB, free: 8.566 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 4.208e-06/0.6303, allocations: 0 / 0.6259 GB, free: 8.566 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.03102/0.6613, allocations: 12.33 MB / 0.638 GB, free: 12.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001191/0.6626, allocations: 1.616 MB / 0.6395 GB, free: 10.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005654/0.6682, allocations: 3.845 MB / 0.6433 GB, free: 6.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002582/0.6685, allocations: 45.98 kB / 0.6433 GB, free: 6.379 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001897/0.6704, allocations: 3.049 MB / 0.6463 GB, free: 3.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006827/0.6711, allocations: 0.6056 MB / 0.6469 GB, free: 2.727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007472/0.6719, allocations: 0.4929 MB / 0.6474 GB, free: 2.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.672, allocations: 305.1 kB / 0.6477 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/0.6748, allocations: 2.037 MB / 0.6497 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004809/0.6797, allocations: 5.652 MB / 0.6552 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008545/0.6882, allocations: 8.275 MB / 0.6633 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.568e-05/0.6883, allocations: 40 kB / 0.6633 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01947/0.7078, allocations: 8.835 MB / 0.6719 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.708, allocations: 67.92 kB / 0.672 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009975/0.7179, allocations: 3.25 MB / 0.6752 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009378/0.7274, allocations: 1.844 MB / 0.677 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00414/0.7315, allocations: 1.322 MB / 0.6783 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008166/0.7397, allocations: 5.761 MB / 0.6839 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004426/0.7442, allocations: 399.5 kB / 0.6843 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009255/0.7451, allocations: 362 kB / 0.6846 GB, free: 8.145 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.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 (712): * Single equations (assignments): 703 * 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.003796/0.7489, allocations: 2.031 MB / 0.6866 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006888/0.7496, allocations: 319.8 kB / 0.6869 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006003/0.7557, allocations: 2.942 MB / 0.6898 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004646/0.7603, allocations: 2.488 MB / 0.6922 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/0.7604, allocations: 11.88 kB / 0.6922 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.7604, allocations: 7.969 kB / 0.6922 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/0.7762, allocations: 8.543 MB / 0.7006 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.7762, allocations: 0 / 0.7006 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.7773, allocations: 247.6 kB / 0.7008 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002989/0.7803, allocations: 1.029 MB / 0.7018 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/0.7805, allocations: 35.97 kB / 0.7019 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005351/0.7859, allocations: 5.037 MB / 0.7068 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.212/0.9979, allocations: 1.466 MB / 0.7082 GB, free: 199.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00879/1.007, allocations: 5.19 MB / 0.7133 GB, free: 199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/1.008, allocations: 390.5 kB / 0.7136 GB, free: 198.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003652/1.008, allocations: 28.78 kB / 0.7137 GB, free: 198.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/1.01, allocations: 138.5 kB / 0.7138 GB, free: 198.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/1.01, allocations: 95 kB / 0.7139 GB, free: 198.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/1.01, allocations: 47.44 kB / 0.7139 GB, free: 198.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003952/1.014, allocations: 2.383 MB / 0.7163 GB, free: 198 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/1.014, allocations: 0.6875 kB / 0.7163 GB, free: 198 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005532/1.02, allocations: 1.034 MB / 0.7173 GB, free: 197.9 MB / 0.545 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.008606/1.028, allocations: 5.819 MB / 0.723 GB, free: 195.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008692/1.037, allocations: 5.471 MB / 0.7283 GB, free: 193.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.85e-06/1.037, allocations: 2.188 kB / 0.7283 GB, free: 193.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003486/1.041, allocations: 2.14 MB / 0.7304 GB, free: 192.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/1.044, allocations: 419.4 kB / 0.7308 GB, free: 192.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06903/1.113, allocations: 52.95 MB / 0.7825 GB, free: 140.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002741/1.115, allocations: 3.156 MB / 0.7856 GB, free: 137.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003855/1.119, allocations: 1.805 MB / 0.7873 GB, free: 135.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002105/1.121, allocations: 1.788 MB / 0.7891 GB, free: 134 MB / 0.545 GB Notification: Performance of SimCode: time 1.382e-06/1.121, allocations: 0 / 0.7891 GB, free: 134 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08476/1.206, allocations: 69.16 MB / 0.8566 GB, free: 65.21 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001365/1.206, allocations: 239 kB / 0.8569 GB, free: 64.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/4.621, allocations: 0 / 0.8569 GB, free: 64.95 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1)