Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001717/0.001717, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002109/0.002109, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2317/0.2317, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.002283/0.002283, allocations: 85.47 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1267, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01758/0.1443, allocations: 14.54 MB / 494.8 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.1554, allocations: 4.917 MB / 499.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002861/0.1583, allocations: 111.6 kB / 499.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009299/0.1676, allocations: 4.731 MB / 0.4927 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006771/0.1744, allocations: 2.388 MB / 0.495 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.1774, allocations: 1.135 MB / 0.4961 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0104/0.1878, allocations: 6.714 MB / 0.5027 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2225/0.4104, allocations: 5.741 MB / 0.5083 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/0.4149, allocations: 2.327 MB / 0.5106 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005216/0.4201, allocations: 3.087 MB / 0.5136 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002053/0.4222, allocations: 0.4988 MB / 0.5141 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004322/0.4265, allocations: 1.53 MB / 0.5156 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004312/0.4309, allocations: 2.872 MB / 0.5184 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005692/0.4366, allocations: 3.313 MB / 0.5216 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.4479, allocations: 10.05 MB / 0.5314 GB, free: 7.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.4479, allocations: 0 / 0.5314 GB, free: 7.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.448, allocations: 3.984 kB / 0.5314 GB, free: 7.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004056/0.4484, allocations: 0 / 0.5314 GB, free: 7.75 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: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.01979/0.4682, allocations: 7.354 MB / 0.5386 GB, free: 2.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.4682, allocations: 9.5 kB / 0.5386 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002812/0.471, allocations: 0.9989 MB / 0.5396 GB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03777/0.5088, allocations: 6.131 MB / 0.5456 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/0.5197, allocations: 4.5 MB / 0.55 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002951/0.52, allocations: 348.5 kB / 0.5503 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001891/0.5219, allocations: 476.3 kB / 0.5508 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03071/0.5526, allocations: 14.36 MB / 0.5648 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003252/0.553, allocations: 79.55 kB / 0.5648 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001721/0.5547, allocations: 223.7 kB / 0.5651 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005269/0.56, allocations: 2.632 MB / 0.5676 GB, free: 8.621 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02884/0.5889, allocations: 12.12 MB / 0.5795 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08482/0.6737, allocations: 55.17 MB / 0.6333 GB, free: 4.832 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01712/0.6909, allocations: 5.672 MB / 0.6389 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005605/0.6966, allocations: 3.512 MB / 0.6423 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01724/0.7139, allocations: 7.929 MB / 0.6501 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.919e-05/0.714, allocations: 65.38 kB / 0.6501 GB, free: 3.449 MB / 494.1 MB Notification: Performance of pre-optimization done (n=227): time 6.703e-06/0.714, allocations: 0 / 0.6501 GB, free: 3.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=269): time 0.09129/0.8053, allocations: 28.92 MB / 0.6784 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002006/0.8056, allocations: 246.5 kB / 0.6786 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01495/0.8205, allocations: 6.326 MB / 0.6848 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009621/0.8216, allocations: 65.7 kB / 0.6848 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005288/0.8269, allocations: 4.246 MB / 0.689 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002192/0.8291, allocations: 1.016 MB / 0.69 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005864/0.835, allocations: 1.604 MB / 0.6915 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.8352, allocations: 301.1 kB / 0.6918 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006518/0.8417, allocations: 3.213 MB / 0.695 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01168/0.8534, allocations: 7.829 MB / 0.7026 GB, free: 11.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2912/1.145, allocations: 11.98 MB / 0.7143 GB, free: 181.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000154/1.145, allocations: 45.5 kB / 0.7144 GB, free: 181.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.02548/1.17, allocations: 12.37 MB / 0.7264 GB, free: 178.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/1.171, allocations: 74.09 kB / 0.7265 GB, free: 178.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002764/1.171, allocations: 162.2 kB / 0.7267 GB, free: 178.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004931/1.176, allocations: 1.777 MB / 0.7284 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00654/1.182, allocations: 1.796 MB / 0.7301 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/1.197, allocations: 12.9 MB / 0.7427 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007468/1.205, allocations: 452.1 kB / 0.7432 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001896/1.207, allocations: 485.9 kB / 0.7436 GB, free: 171.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * Number of states: 0 () * Number of discrete variables: 65 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (943): * Single equations (assignments): 936 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007173/1.214, allocations: 2.887 MB / 0.7465 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/1.215, allocations: 0.5315 MB / 0.747 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.228, allocations: 6.243 MB / 0.7531 GB, free: 167.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.501e-05/1.228, allocations: 30.39 kB / 0.7531 GB, free: 167.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.28e-05/1.228, allocations: 9.875 kB / 0.7531 GB, free: 167.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.979e-05/1.228, allocations: 12.47 kB / 0.7531 GB, free: 167.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02533/1.253, allocations: 13.71 MB / 0.7665 GB, free: 158.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.092e-05/1.253, allocations: 6.016 kB / 0.7665 GB, free: 158.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/1.255, allocations: 440.2 kB / 0.7669 GB, free: 158.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003647/1.259, allocations: 1.539 MB / 0.7684 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004417/1.259, allocations: 51.98 kB / 0.7685 GB, free: 156.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/1.273, allocations: 12.08 MB / 0.7803 GB, free: 144.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.273, allocations: 7.938 kB / 0.7803 GB, free: 144.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/1.287, allocations: 10.12 MB / 0.7902 GB, free: 134.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002367/1.29, allocations: 0.6071 MB / 0.7908 GB, free: 133.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001653/1.291, allocations: 49.72 kB / 0.7908 GB, free: 133.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003557/1.295, allocations: 175.7 kB / 0.791 GB, free: 133.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006745/1.296, allocations: 168.2 kB / 0.7912 GB, free: 133.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000307/1.296, allocations: 71.98 kB / 0.7912 GB, free: 133.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00784/1.304, allocations: 4.071 MB / 0.7952 GB, free: 129.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.7e-07/1.304, allocations: 0 / 0.7952 GB, free: 129.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008052/1.312, allocations: 1.464 MB / 0.7966 GB, free: 127.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * 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 (211): * Single equations (assignments): 206 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01318/1.325, allocations: 10.8 MB / 0.8072 GB, free: 116.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0128/1.338, allocations: 9.484 MB / 0.8164 GB, free: 107.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.338, allocations: 0 / 0.8164 GB, free: 107.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004378/1.342, allocations: 3.154 MB / 0.8195 GB, free: 104.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005929/1.348, allocations: 0.7515 MB / 0.8203 GB, free: 103.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1234/1.472, allocations: 88.09 MB / 0.9063 GB, free: 3.855 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008602/1.48, allocations: 4.431 MB / 0.9106 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.01047/1.491, allocations: 2.612 MB / 0.9132 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00745/1.498, allocations: 2.846 MB / 0.9159 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/1.498, allocations: 2.516 kB / 0.9159 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4395/1.938, allocations: 117.7 MB / 1.031 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/15.38, allocations: 7.688 kB / 1.031 GB, free: 120.3 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)