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.001268/0.001268, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001383/0.001383, allocations: 194 kB / 18.12 MB, free: 5.363 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.465/1.465, allocations: 222.9 MB / 241.8 MB, free: 15.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2679/0.2679, allocations: 44.17 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 65.48 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1379, allocations: 60.81 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3278/0.4657, allocations: 49.71 MB / 0.5062 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02822/0.494, allocations: 10.58 MB / 0.5165 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01569/0.5097, allocations: 210.2 kB / 0.5167 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006947/0.5168, allocations: 2.806 MB / 0.5194 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006112/0.5229, allocations: 1.698 MB / 0.5211 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.5248, allocations: 0.6307 MB / 0.5217 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007608/0.5324, allocations: 5.437 MB / 0.527 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004512/0.537, allocations: 3.783 MB / 0.5307 GB, free: 4.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.5392, allocations: 1.359 MB / 0.5321 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00234/0.5416, allocations: 2.145 MB / 0.5341 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005104/0.5421, allocations: 236.3 kB / 0.5344 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.5443, allocations: 1.168 MB / 0.5355 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.5457, allocations: 1.829 MB / 0.5373 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.5475, allocations: 2.116 MB / 0.5394 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007548/0.555, allocations: 6.694 MB / 0.5459 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5551, allocations: 4 kB / 0.5459 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.5551, allocations: 0 / 0.5459 GB, free: 10.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001439/0.5552, allocations: 0 / 0.5459 GB, free: 10.2 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.01024/0.5655, allocations: 4.661 MB / 0.5505 GB, free: 5.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.5655, allocations: 8.031 kB / 0.5505 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001152/0.5667, allocations: 0.7201 MB / 0.5512 GB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006878/0.5736, allocations: 1.914 MB / 0.553 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00667/0.5803, allocations: 2.487 MB / 0.5555 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/0.5806, allocations: 250.2 kB / 0.5557 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001609/0.5822, allocations: 406.7 kB / 0.5561 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01862/0.6008, allocations: 9.904 MB / 0.5658 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.601, allocations: 43.59 kB / 0.5658 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004718/0.6015, allocations: 153.8 kB / 0.566 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002732/0.6042, allocations: 1.829 MB / 0.5677 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01701/0.6213, allocations: 8.212 MB / 0.5758 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0602/0.6815, allocations: 38.77 MB / 0.6136 GB, free: 3.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/0.6917, allocations: 3.685 MB / 0.6172 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002704/0.6944, allocations: 1.625 MB / 0.6188 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01622/0.7107, allocations: 7.808 MB / 0.6264 GB, free: 5.777 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.647e-05/0.7109, allocations: 47.5 kB / 0.6265 GB, free: 5.723 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 9.618e-06/0.7109, allocations: 0 / 0.6265 GB, free: 5.723 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.03519/0.7461, allocations: 12.33 MB / 0.6385 GB, free: 9.227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001615/0.7477, allocations: 1.616 MB / 0.6401 GB, free: 7.438 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00846/0.7562, allocations: 3.845 MB / 0.6438 GB, free: 3.605 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004641/0.7568, allocations: 45.7 kB / 0.6439 GB, free: 3.555 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003129/0.7599, allocations: 3.049 MB / 0.6469 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001314/0.7612, allocations: 0.5979 MB / 0.6475 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003419/0.7647, allocations: 1.174 MB / 0.6486 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7648, allocations: 305.1 kB / 0.6489 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0038/0.7686, allocations: 2.026 MB / 0.6509 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008502/0.7772, allocations: 5.664 MB / 0.6564 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01232/0.7895, allocations: 8.272 MB / 0.6645 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001781/0.7897, allocations: 40 kB / 0.6645 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.0249/0.8147, allocations: 8.834 MB / 0.6731 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001934/0.8149, allocations: 67.94 kB / 0.6732 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01025/0.8252, allocations: 3.257 MB / 0.6764 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00892/0.8341, allocations: 1.849 MB / 0.6782 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00457/0.8387, allocations: 1.318 MB / 0.6795 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00908/0.8479, allocations: 5.76 MB / 0.6851 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005941/0.8539, allocations: 406.6 kB / 0.6855 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/0.8554, allocations: 352 kB / 0.6858 GB, free: 4.645 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.006538/0.862, allocations: 2.031 MB / 0.6878 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/0.8632, allocations: 327.8 kB / 0.6881 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006891/0.8701, allocations: 2.94 MB / 0.691 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005156/0.8753, allocations: 2.487 MB / 0.6934 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.467e-05/0.8753, allocations: 11.92 kB / 0.6934 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/0.8754, allocations: 3.984 kB / 0.6934 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01944/0.8948, allocations: 8.547 MB / 0.7018 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/0.8949, allocations: 4 kB / 0.7018 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.8961, allocations: 243.6 kB / 0.702 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003128/0.8993, allocations: 1.033 MB / 0.703 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002125/0.8995, allocations: 47.89 kB / 0.7031 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2396/1.139, allocations: 4.986 MB / 0.7079 GB, free: 200.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008616/1.14, allocations: 1.481 MB / 0.7094 GB, free: 199.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008812/1.149, allocations: 5.183 MB / 0.7145 GB, free: 197.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.15, allocations: 386.1 kB / 0.7148 GB, free: 197.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004249/1.15, allocations: 33.19 kB / 0.7149 GB, free: 197.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/1.152, allocations: 131.5 kB / 0.715 GB, free: 197.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/1.152, allocations: 89.91 kB / 0.7151 GB, free: 197.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/1.152, allocations: 47.25 kB / 0.7151 GB, free: 197.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004234/1.156, allocations: 2.386 MB / 0.7174 GB, free: 196.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.71e-07/1.157, allocations: 0 / 0.7174 GB, free: 196.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006305/1.163, allocations: 1.027 MB / 0.7184 GB, free: 196.8 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.009137/1.172, allocations: 5.836 MB / 0.7241 GB, free: 194.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007889/1.18, allocations: 5.484 MB / 0.7295 GB, free: 192.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.18, allocations: 0 / 0.7295 GB, free: 192.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003235/1.183, allocations: 2.137 MB / 0.7316 GB, free: 191.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/1.186, allocations: 423.2 kB / 0.732 GB, free: 191.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0708/1.256, allocations: 52.76 MB / 0.7835 GB, free: 138.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002635/1.259, allocations: 3.166 MB / 0.7866 GB, free: 135.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003699/1.263, allocations: 1.812 MB / 0.7884 GB, free: 133.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/1.265, allocations: 1.784 MB / 0.7901 GB, free: 132.1 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/1.265, allocations: 0 / 0.7901 GB, free: 132.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08308/1.348, allocations: 69.87 MB / 0.8583 GB, free: 62.56 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/1.348, allocations: 231.9 kB / 0.8586 GB, free: 62.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.229/5.576, allocations: 4 kB / 0.8586 GB, free: 62.3 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)