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.001311/0.001312, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 247 MB, free: 10.4 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.2269/0.2269, allocations: 46.12 MB / 344.3 MB, free: 11.44 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.002219/0.002219, allocations: 79.86 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.371, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01363/0.3847, allocations: 11.13 MB / 0.5415 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.3958, allocations: 4.09 MB / 0.5455 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003911/0.3998, allocations: 65.91 kB / 0.5455 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007077/0.407, allocations: 2.803 MB / 0.5483 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006781/0.4138, allocations: 1.753 MB / 0.55 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.416, allocations: 0.6863 MB / 0.5506 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006214/0.4222, allocations: 3.681 MB / 0.5542 GB, free: 9.457 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005902/0.4281, allocations: 3.8 MB / 0.5579 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.4311, allocations: 1.507 MB / 0.5594 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003466/0.4346, allocations: 1.986 MB / 0.5614 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001269/0.4359, allocations: 328 kB / 0.5617 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.4389, allocations: 1.174 MB / 0.5628 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002696/0.4416, allocations: 1.855 MB / 0.5646 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00442/0.446, allocations: 2.156 MB / 0.5667 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.4574, allocations: 6.856 MB / 0.5734 GB, free: 5.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4574, allocations: 0 / 0.5734 GB, free: 5.684 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4574, allocations: 0 / 0.5734 GB, free: 5.684 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002766/0.4577, allocations: 11.94 kB / 0.5734 GB, free: 5.672 MB / 430.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.01267/0.4704, allocations: 4.686 MB / 0.578 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.4705, allocations: 8.031 kB / 0.578 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001941/0.4724, allocations: 0.7031 MB / 0.5787 GB, free: 192 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007578/0.48, allocations: 1.974 MB / 0.5806 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005619/0.4857, allocations: 2.41 MB / 0.583 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/0.486, allocations: 238.2 kB / 0.5832 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/0.4875, allocations: 411.6 kB / 0.5836 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02141/0.5089, allocations: 9.736 MB / 0.5931 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002063/0.5092, allocations: 39.64 kB / 0.5932 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001153/0.5103, allocations: 151.9 kB / 0.5933 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002949/0.5133, allocations: 1.763 MB / 0.595 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/0.5309, allocations: 8.078 MB / 0.6029 GB, free: 6.645 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05394/0.5848, allocations: 38.24 MB / 0.6403 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009731/0.5946, allocations: 3.716 MB / 0.6439 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.597, allocations: 1.633 MB / 0.6455 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.6087, allocations: 7.901 MB / 0.6532 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.6088, allocations: 47.5 kB / 0.6532 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 4.038e-06/0.6088, allocations: 4 kB / 0.6532 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=148): time 0.0306/0.6394, allocations: 12.56 MB / 0.6655 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001511/0.641, allocations: 1.712 MB / 0.6672 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005337/0.6463, allocations: 3.813 MB / 0.6709 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003295/0.6467, allocations: 45.7 kB / 0.6709 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002568/0.6493, allocations: 3.127 MB / 0.674 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009235/0.6502, allocations: 0.6281 MB / 0.6746 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001589/0.6518, allocations: 1.171 MB / 0.6758 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6519, allocations: 301.1 kB / 0.676 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/0.655, allocations: 2.041 MB / 0.678 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006849/0.6619, allocations: 5.646 MB / 0.6835 GB, free: 108 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01301/0.675, allocations: 8.253 MB / 0.6916 GB, free: 6.051 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001221/0.6752, allocations: 36 kB / 0.6916 GB, free: 6.016 MB / 0.545 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.02438/0.6995, allocations: 8.921 MB / 0.7004 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.6997, allocations: 60 kB / 0.7004 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01055/0.7103, allocations: 3.343 MB / 0.7037 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009567/0.7199, allocations: 1.93 MB / 0.7056 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004289/0.7242, allocations: 1.329 MB / 0.7069 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009117/0.7333, allocations: 6.14 MB / 0.7129 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004329/0.7377, allocations: 407.3 kB / 0.7132 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007737/0.7385, allocations: 360 kB / 0.7136 GB, free: 15.21 MB / 0.5762 GB 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.003231/0.7417, allocations: 1.994 MB / 0.7155 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007196/0.7425, allocations: 337.7 kB / 0.7159 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009275/0.7434, allocations: 444.2 kB / 0.7163 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005167/0.7486, allocations: 2.5 MB / 0.7187 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.7486, allocations: 4 kB / 0.7187 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.7486, allocations: 7.922 kB / 0.7187 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.7642, allocations: 8.447 MB / 0.727 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.7642, allocations: 4 kB / 0.727 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.7655, allocations: 243.6 kB / 0.7272 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003252/0.7688, allocations: 1.041 MB / 0.7282 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002797/0.7691, allocations: 39.97 kB / 0.7283 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2886/1.058, allocations: 5.34 MB / 0.7335 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007682/1.058, allocations: 1.568 MB / 0.735 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00765/1.066, allocations: 5.224 MB / 0.7401 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009245/1.067, allocations: 400 kB / 0.7405 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003638/1.067, allocations: 31.5 kB / 0.7405 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/1.069, allocations: 136.7 kB / 0.7407 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003149/1.069, allocations: 90.61 kB / 0.7407 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/1.069, allocations: 44.08 kB / 0.7408 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003501/1.073, allocations: 2.36 MB / 0.7431 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/1.073, allocations: 3.75 kB / 0.7431 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004183/1.077, allocations: 1.01 MB / 0.7441 GB, free: 169.5 MB / 0.5762 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.006662/1.084, allocations: 5.872 MB / 0.7498 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007574/1.091, allocations: 5.515 MB / 0.7552 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.091, allocations: 0 / 0.7552 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003469/1.095, allocations: 2.161 MB / 0.7573 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/1.097, allocations: 437.2 kB / 0.7577 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05653/1.154, allocations: 45.67 MB / 0.8023 GB, free: 112.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00254/1.156, allocations: 3.123 MB / 0.8054 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003234/1.16, allocations: 1.795 MB / 0.8071 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/1.161, allocations: 1.761 MB / 0.8088 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.202e-06/1.161, allocations: 0 / 0.8088 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/1.265, allocations: 67.08 MB / 0.8744 GB, free: 39.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.88/23.15, allocations: 6.594 kB / 0.8744 GB, free: 39.09 MB / 0.5762 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)