Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_trunk_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.001192/0.001192, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2131/0.2131, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 73.16 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.0121/0.12, allocations: 11.12 MB / 491.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008104/0.1282, allocations: 4.095 MB / 495.3 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002116/0.1303, allocations: 67.81 kB / 495.4 MB, free: 5.836 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005321/0.1357, allocations: 2.807 MB / 498.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005675/0.1414, allocations: 1.751 MB / 500 MB, free: 1.262 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.1437, allocations: 0.698 MB / 0.4889 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005669/0.1494, allocations: 3.669 MB / 0.4925 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004696/0.1541, allocations: 3.797 MB / 0.4962 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002671/0.1568, allocations: 1.503 MB / 0.4977 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002736/0.1595, allocations: 1.978 MB / 0.4996 GB, free: 5.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008983/0.1604, allocations: 335.9 kB / 0.4999 GB, free: 5.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.1629, allocations: 1.17 MB / 0.5011 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002505/0.1654, allocations: 1.847 MB / 0.5029 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003219/0.1686, allocations: 2.159 MB / 0.505 GB, free: 8 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2006/0.3692, allocations: 6.602 MB / 0.5114 GB, free: 18.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.3693, allocations: 0 / 0.5114 GB, free: 18.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.3693, allocations: 0 / 0.5114 GB, free: 18.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004342/0.3698, allocations: 1.688 kB / 0.5114 GB, free: 18.39 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.01604/0.3858, allocations: 4.578 MB / 0.5159 GB, free: 16.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.3859, allocations: 12.12 kB / 0.5159 GB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001568/0.3875, allocations: 0.7042 MB / 0.5166 GB, free: 16.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007436/0.3949, allocations: 1.943 MB / 0.5185 GB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005241/0.4002, allocations: 2.352 MB / 0.5208 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.4004, allocations: 241.7 kB / 0.521 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001188/0.4016, allocations: 413.6 kB / 0.5214 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01876/0.4203, allocations: 9.745 MB / 0.531 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001499/0.4206, allocations: 41 kB / 0.531 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005464/0.4211, allocations: 154.8 kB / 0.5311 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00256/0.4237, allocations: 1.762 MB / 0.5329 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01356/0.4372, allocations: 8.08 MB / 0.5407 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04539/0.4827, allocations: 38.35 MB / 0.5782 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/0.4927, allocations: 3.722 MB / 0.5818 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/0.4953, allocations: 1.627 MB / 0.5834 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01282/0.5081, allocations: 7.887 MB / 0.5911 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/0.5082, allocations: 47.12 kB / 0.5912 GB, free: 2.766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=141): time 4.989e-06/0.5082, allocations: 0 / 0.5912 GB, free: 2.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.03426/0.5425, allocations: 12.34 MB / 0.6032 GB, free: 6.273 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001509/0.544, allocations: 1.694 MB / 0.6049 GB, free: 4.406 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007987/0.5521, allocations: 3.804 MB / 0.6086 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006736/0.5528, allocations: 52.83 kB / 0.6086 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002661/0.5555, allocations: 2.998 MB / 0.6116 GB, free: 13.56 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001096/0.5566, allocations: 0.6019 MB / 0.6122 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003042/0.5596, allocations: 1.161 MB / 0.6133 GB, free: 11.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.5598, allocations: 309.1 kB / 0.6136 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003609/0.5634, allocations: 2.037 MB / 0.6156 GB, free: 9.441 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005951/0.5694, allocations: 5.65 MB / 0.6211 GB, free: 2.043 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/0.5807, allocations: 8.263 MB / 0.6292 GB, free: 8.512 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001182/0.5808, allocations: 40 kB / 0.6292 GB, free: 8.473 MB / 478.1 MB Notification: Performance of matching and sorting (n=747) (initialization): time 0.02244/0.6033, allocations: 8.897 MB / 0.6379 GB, free: 15.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.6035, allocations: 60 kB / 0.6379 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01051/0.614, allocations: 3.34 MB / 0.6412 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009745/0.6238, allocations: 1.934 MB / 0.6431 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004497/0.6284, allocations: 1.322 MB / 0.6444 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009221/0.6376, allocations: 6.143 MB / 0.6504 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005413/0.6431, allocations: 395.3 kB / 0.6508 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001474/0.6446, allocations: 352 kB / 0.6511 GB, free: 1.926 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.005693/0.6503, allocations: 2 MB / 0.6531 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/0.6514, allocations: 331.7 kB / 0.6534 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.6529, allocations: 436.2 kB / 0.6538 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005658/0.6586, allocations: 2.515 MB / 0.6562 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/0.6587, allocations: 4 kB / 0.6562 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/0.6587, allocations: 3.984 kB / 0.6562 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01888/0.6776, allocations: 8.452 MB / 0.6645 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.6776, allocations: 8.094 kB / 0.6645 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.6788, allocations: 247.6 kB / 0.6647 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003116/0.682, allocations: 1.037 MB / 0.6658 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002067/0.6822, allocations: 39.97 kB / 0.6658 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006406/0.6886, allocations: 5.336 MB / 0.671 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001288/0.6899, allocations: 1.58 MB / 0.6726 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009337/0.6993, allocations: 5.204 MB / 0.6776 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.7006, allocations: 380.8 kB / 0.678 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/0.7016, allocations: 31.98 kB / 0.678 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/0.7037, allocations: 138.1 kB / 0.6782 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003396/0.7041, allocations: 96.73 kB / 0.6783 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/0.7043, allocations: 51.97 kB / 0.6783 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005835/0.7101, allocations: 2.356 MB / 0.6806 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.81e-07/0.7101, allocations: 0 / 0.6806 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00705/0.7172, allocations: 1.006 MB / 0.6816 GB, free: 2.117 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.01068/0.7279, allocations: 5.841 MB / 0.6873 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01261/0.7405, allocations: 6.081 MB / 0.6932 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.7406, allocations: 0 / 0.6932 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004266/0.7449, allocations: 2.149 MB / 0.6953 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003227/0.7481, allocations: 440.3 kB / 0.6957 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2938/1.042, allocations: 50.76 MB / 0.7453 GB, free: 179.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003135/1.045, allocations: 3.118 MB / 0.7484 GB, free: 177.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00503/1.05, allocations: 1.803 MB / 0.7501 GB, free: 176.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00204/1.052, allocations: 1.764 MB / 0.7518 GB, free: 175 MB / 0.545 GB Notification: Performance of SimCode: time 7.62e-07/1.052, allocations: 0 / 0.7518 GB, free: 175 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09927/1.152, allocations: 70.57 MB / 0.8208 GB, free: 105 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.8, allocations: 15.94 kB / 0.8208 GB, free: 104.9 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1)