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.001399/0.001399, allocations: 104.1 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.001533/0.001533, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2444/0.2444, allocations: 46.12 MB / 344.2 MB, free: 11.53 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.002932/0.002932, allocations: 80.27 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1768, allocations: 62.45 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01831/0.1951, allocations: 11.13 MB / 491.3 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.207, allocations: 4.089 MB / 495.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/0.2098, allocations: 67.81 kB / 495.5 MB, free: 5.766 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007122/0.217, allocations: 2.807 MB / 498.3 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005634/0.2227, allocations: 1.747 MB / 0.4883 GB, free: 1.195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.2248, allocations: 0.7097 MB / 0.489 GB, free: 496 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006393/0.2312, allocations: 3.66 MB / 0.4926 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004969/0.2363, allocations: 3.8 MB / 0.4963 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.239, allocations: 1.507 MB / 0.4978 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002969/0.242, allocations: 1.974 MB / 0.4997 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009944/0.243, allocations: 332 kB / 0.5 GB, free: 5.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.2457, allocations: 1.178 MB / 0.5012 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001957/0.2477, allocations: 1.851 MB / 0.503 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2164/0.4641, allocations: 2.152 MB / 0.5051 GB, free: 18.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009974/0.4741, allocations: 6.603 MB / 0.5115 GB, free: 18.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.4742, allocations: 0 / 0.5115 GB, free: 18.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4742, allocations: 0 / 0.5115 GB, free: 18.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000327/0.4745, allocations: 0 / 0.5115 GB, free: 18.28 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.01631/0.4908, allocations: 4.572 MB / 0.516 GB, free: 16.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.4909, allocations: 13.61 kB / 0.516 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00166/0.4926, allocations: 0.704 MB / 0.5167 GB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007115/0.4997, allocations: 1.944 MB / 0.5186 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005573/0.5053, allocations: 2.356 MB / 0.5209 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.5055, allocations: 242.3 kB / 0.5211 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001214/0.5067, allocations: 408.2 kB / 0.5215 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/0.5256, allocations: 9.742 MB / 0.531 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/0.5257, allocations: 40.91 kB / 0.5311 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000469/0.5262, allocations: 161.9 kB / 0.5312 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002233/0.5284, allocations: 1.766 MB / 0.5329 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01523/0.5437, allocations: 8.076 MB / 0.5408 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04781/0.5915, allocations: 38.35 MB / 0.5783 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.602, allocations: 3.721 MB / 0.5819 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002391/0.6044, allocations: 1.631 MB / 0.5835 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01342/0.6178, allocations: 7.879 MB / 0.5912 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.845e-05/0.6179, allocations: 51.55 kB / 0.5912 GB, free: 2.652 MB / 430.1 MB Notification: Performance of pre-optimization done (n=141): time 5.6e-06/0.618, allocations: 0 / 0.5912 GB, free: 2.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.03433/0.6523, allocations: 12.34 MB / 0.6033 GB, free: 6.168 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001496/0.6538, allocations: 1.698 MB / 0.605 GB, free: 4.297 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005758/0.6596, allocations: 3.808 MB / 0.6087 GB, free: 0.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003963/0.66, allocations: 41.7 kB / 0.6087 GB, free: 464 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002567/0.6626, allocations: 3.007 MB / 0.6116 GB, free: 13.47 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009293/0.6635, allocations: 0.6039 MB / 0.6122 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001738/0.6653, allocations: 1.164 MB / 0.6134 GB, free: 11.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6654, allocations: 305.1 kB / 0.6137 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003377/0.6688, allocations: 2.033 MB / 0.6157 GB, free: 9.363 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007076/0.6759, allocations: 5.653 MB / 0.6212 GB, free: 1.961 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/0.6875, allocations: 8.255 MB / 0.6292 GB, free: 8.434 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/0.6876, allocations: 36 kB / 0.6293 GB, free: 8.398 MB / 478.1 MB Notification: Performance of matching and sorting (n=747) (initialization): time 0.02405/0.7117, allocations: 8.901 MB / 0.638 GB, free: 15.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.7119, allocations: 60 kB / 0.638 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01125/0.7231, allocations: 3.34 MB / 0.6413 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/0.7333, allocations: 1.946 MB / 0.6432 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004863/0.7382, allocations: 1.322 MB / 0.6445 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.7485, allocations: 6.13 MB / 0.6505 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005668/0.7542, allocations: 407.4 kB / 0.6508 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00149/0.7557, allocations: 355.1 kB / 0.6512 GB, free: 1.863 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.005728/0.7615, allocations: 2.001 MB / 0.6531 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/0.7625, allocations: 323.6 kB / 0.6534 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.7642, allocations: 440.2 kB / 0.6539 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005864/0.77, allocations: 2.508 MB / 0.6563 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.579e-05/0.7701, allocations: 7.984 kB / 0.6563 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.887e-05/0.7701, allocations: 11.92 kB / 0.6563 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01994/0.7901, allocations: 8.452 MB / 0.6646 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.7901, allocations: 4 kB / 0.6646 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/0.7915, allocations: 239.7 kB / 0.6648 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003301/0.7948, allocations: 1.049 MB / 0.6658 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002589/0.7951, allocations: 35.97 kB / 0.6659 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006806/0.8019, allocations: 5.336 MB / 0.6711 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001256/0.8032, allocations: 1.569 MB / 0.6726 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009402/0.8126, allocations: 5.216 MB / 0.6777 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.8137, allocations: 376.8 kB / 0.6781 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004766/0.8142, allocations: 39.73 kB / 0.6781 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.8157, allocations: 135.8 kB / 0.6782 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002989/0.816, allocations: 99.42 kB / 0.6783 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.8162, allocations: 39.98 kB / 0.6784 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004468/0.8206, allocations: 2.356 MB / 0.6807 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.61e-07/0.8207, allocations: 4 kB / 0.6807 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006288/0.827, allocations: 1.008 MB / 0.6817 GB, free: 2.055 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.01003/0.837, allocations: 5.851 MB / 0.6874 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01243/0.8495, allocations: 6.078 MB / 0.6933 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.8495, allocations: 0 / 0.6933 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004781/0.8543, allocations: 2.159 MB / 0.6954 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/0.8576, allocations: 423.2 kB / 0.6958 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3/1.158, allocations: 50.77 MB / 0.7454 GB, free: 179.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002707/1.16, allocations: 3.119 MB / 0.7484 GB, free: 177.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004066/1.164, allocations: 1.801 MB / 0.7502 GB, free: 176.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002178/1.167, allocations: 1.761 MB / 0.7519 GB, free: 174.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.463e-06/1.167, allocations: 0 / 0.7519 GB, free: 174.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1145/1.281, allocations: 70.6 MB / 0.8209 GB, free: 104.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.38, allocations: 17.8 kB / 0.8209 GB, free: 104.8 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1)