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.001255/0.001254, allocations: 104 kB / 17.63 MB, free: 5.523 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.001198/0.001198, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.37/1.37, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2223/0.2223, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 66.14 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1056, allocations: 60.81 MB / 469.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01057/0.1162, allocations: 11.26 MB / 480.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007261/0.1235, allocations: 4.096 MB / 484.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.1251, allocations: 71.81 kB / 484.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004759/0.1299, allocations: 2.811 MB / 487.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004501/0.1344, allocations: 1.809 MB / 489.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.136, allocations: 0.7019 MB / 490.1 MB, free: 9.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004499/0.1405, allocations: 3.677 MB / 493.8 MB, free: 5.781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004018/0.1446, allocations: 3.828 MB / 497.6 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002401/0.147, allocations: 1.522 MB / 499.1 MB, free: 368 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002488/0.1495, allocations: 2.009 MB / 0.4894 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006565/0.1502, allocations: 332 kB / 0.4897 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.1521, allocations: 1.209 MB / 0.4909 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001437/0.1536, allocations: 1.882 MB / 0.4927 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002163/0.1557, allocations: 2.202 MB / 0.4949 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005815/0.1616, allocations: 6.764 MB / 0.5015 GB, free: 1.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1616, allocations: 0 / 0.5015 GB, free: 1.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1616, allocations: 0 / 0.5015 GB, free: 1.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001061/0.1617, allocations: 0 / 0.5015 GB, free: 1.922 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: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.2064/0.3681, allocations: 4.651 MB / 0.506 GB, free: 46.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3682, allocations: 12.8 kB / 0.506 GB, free: 46.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001015/0.3692, allocations: 0.7167 MB / 0.5067 GB, free: 46.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006476/0.3757, allocations: 1.91 MB / 0.5086 GB, free: 45.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004537/0.3802, allocations: 2.498 MB / 0.511 GB, free: 44.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.3804, allocations: 243.6 kB / 0.5113 GB, free: 44.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008991/0.3813, allocations: 406.4 kB / 0.5117 GB, free: 44.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/0.396, allocations: 9.911 MB / 0.5213 GB, free: 38.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-05/0.3962, allocations: 35.66 kB / 0.5214 GB, free: 38.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003607/0.3965, allocations: 158 kB / 0.5215 GB, free: 38.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001948/0.3985, allocations: 1.834 MB / 0.5233 GB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/0.4101, allocations: 8.207 MB / 0.5313 GB, free: 30.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0329/0.4431, allocations: 38.78 MB / 0.5692 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008319/0.4514, allocations: 3.686 MB / 0.5728 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.4532, allocations: 1.623 MB / 0.5744 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008972/0.4622, allocations: 7.811 MB / 0.582 GB, free: 8.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.4622, allocations: 55.5 kB / 0.5821 GB, free: 8.918 MB / 414.1 MB Notification: Performance of pre-optimization done (n=141): time 2.986e-06/0.4622, allocations: 0 / 0.5821 GB, free: 8.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.02532/0.4875, allocations: 12.33 MB / 0.5941 GB, free: 12.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001095/0.4887, allocations: 1.703 MB / 0.5958 GB, free: 10.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004106/0.4928, allocations: 3.845 MB / 0.5995 GB, free: 6.691 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.396e-05/0.4929, allocations: 41.7 kB / 0.5996 GB, free: 6.645 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/0.4946, allocations: 3.054 MB / 0.6025 GB, free: 3.543 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004619/0.4951, allocations: 0.6058 MB / 0.6031 GB, free: 2.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/0.4963, allocations: 1.174 MB / 0.6043 GB, free: 1.742 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.893e-05/0.4964, allocations: 305.1 kB / 0.6046 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002455/0.4989, allocations: 2.029 MB / 0.6065 GB, free: 15.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004298/0.5032, allocations: 5.66 MB / 0.6121 GB, free: 7.922 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007315/0.5105, allocations: 8.263 MB / 0.6201 GB, free: 13.85 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.908e-05/0.5106, allocations: 40 kB / 0.6202 GB, free: 13.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01613/0.5267, allocations: 8.836 MB / 0.6288 GB, free: 4.953 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.76e-05/0.5268, allocations: 63.94 kB / 0.6289 GB, free: 4.891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008655/0.5355, allocations: 3.258 MB / 0.6321 GB, free: 1.621 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008368/0.5438, allocations: 1.852 MB / 0.6339 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003114/0.547, allocations: 1.318 MB / 0.6352 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00727/0.5542, allocations: 6.118 MB / 0.6411 GB, free: 8.023 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003015/0.5573, allocations: 391.3 kB / 0.6415 GB, free: 7.641 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003687/0.5576, allocations: 364 kB / 0.6418 GB, free: 7.285 MB / 478.1 MB 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.002122/0.5598, allocations: 2.029 MB / 0.6438 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004031/0.5602, allocations: 327.8 kB / 0.6441 GB, free: 4.918 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004782/0.565, allocations: 2.934 MB / 0.647 GB, free: 1.965 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004148/0.5691, allocations: 2.484 MB / 0.6494 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5691, allocations: 0 / 0.6494 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5692, allocations: 7.984 kB / 0.6494 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/0.5809, allocations: 8.551 MB / 0.6578 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5809, allocations: 96 / 0.6578 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009948/0.5819, allocations: 251.6 kB / 0.658 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002731/0.5847, allocations: 1.033 MB / 0.659 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.5848, allocations: 35.97 kB / 0.6591 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004992/0.5898, allocations: 5.337 MB / 0.6643 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008834/0.5907, allocations: 1.58 MB / 0.6658 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006646/0.5974, allocations: 5.177 MB / 0.6709 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.5978, allocations: 392.6 kB / 0.6713 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003436/0.5982, allocations: 31.94 kB / 0.6713 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.5995, allocations: 131.8 kB / 0.6714 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.5997, allocations: 84.86 kB / 0.6715 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.873e-05/0.5998, allocations: 51.89 kB / 0.6715 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002669/0.6025, allocations: 2.385 MB / 0.6739 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6025, allocations: 0 / 0.6739 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003428/0.6059, allocations: 1.029 MB / 0.6749 GB, free: 4.824 MB / 0.4981 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.007085/0.613, allocations: 5.831 MB / 0.6806 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008691/0.6217, allocations: 6.074 MB / 0.6865 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6217, allocations: 0 / 0.6865 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003509/0.6252, allocations: 2.147 MB / 0.6886 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.6272, allocations: 438.3 kB / 0.689 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2542/0.8814, allocations: 50.97 MB / 0.7388 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002247/0.8837, allocations: 3.17 MB / 0.7419 GB, free: 138.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003256/0.887, allocations: 1.802 MB / 0.7436 GB, free: 137.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/0.8885, allocations: 1.788 MB / 0.7454 GB, free: 135.5 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.8885, allocations: 2.812 kB / 0.7454 GB, free: 135.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.222/1.11, allocations: 71.27 MB / 0.815 GB, free: 64.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.75/16.86, allocations: 11.28 kB / 0.815 GB, free: 64.64 MB / 0.5137 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)