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.001317/0.001317, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 247 MB, free: 10.44 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.2271/0.2271, allocations: 46.13 MB / 344.4 MB, free: 11.45 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.002428/0.002428, allocations: 79.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3378, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01688/0.3547, allocations: 14.55 MB / 0.5448 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.3657, allocations: 4.926 MB / 0.5496 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002754/0.3685, allocations: 96.84 kB / 0.5497 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009147/0.3777, allocations: 4.746 MB / 0.5544 GB, free: 9.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007023/0.3848, allocations: 2.38 MB / 0.5567 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003026/0.3878, allocations: 1.146 MB / 0.5578 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01075/0.3986, allocations: 6.708 MB / 0.5644 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007993/0.4066, allocations: 5.749 MB / 0.57 GB, free: 9.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004693/0.4114, allocations: 2.329 MB / 0.5722 GB, free: 6.934 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005468/0.4169, allocations: 3.084 MB / 0.5753 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001982/0.4189, allocations: 0.5 MB / 0.5757 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003881/0.4228, allocations: 1.533 MB / 0.5772 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003995/0.4268, allocations: 2.872 MB / 0.58 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005337/0.4322, allocations: 3.313 MB / 0.5833 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01404/0.4462, allocations: 10.39 MB / 0.5934 GB, free: 1.168 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4463, allocations: 0 / 0.5934 GB, free: 1.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4463, allocations: 0 / 0.5934 GB, free: 1.168 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003246/0.4466, allocations: 0 / 0.5934 GB, free: 1.168 MB / 446.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.01877/0.4654, allocations: 7.549 MB / 0.6008 GB, free: 9.516 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.4654, allocations: 8.031 kB / 0.6008 GB, free: 9.508 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002401/0.4679, allocations: 0.9923 MB / 0.6018 GB, free: 8.504 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0404/0.5083, allocations: 6.179 MB / 0.6078 GB, free: 2.312 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009848/0.5182, allocations: 4.6 MB / 0.6123 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/0.5185, allocations: 347.3 kB / 0.6126 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001658/0.5202, allocations: 475.8 kB / 0.6131 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02871/0.5489, allocations: 14.37 MB / 0.6271 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001919/0.5491, allocations: 59.52 kB / 0.6272 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00067/0.5498, allocations: 219.8 kB / 0.6274 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004826/0.5547, allocations: 2.641 MB / 0.63 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02616/0.5808, allocations: 12.12 MB / 0.6418 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06996/0.6508, allocations: 55.03 MB / 0.6955 GB, free: 5.938 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01568/0.6666, allocations: 5.662 MB / 0.7011 GB, free: 120 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004842/0.6714, allocations: 3.519 MB / 0.7045 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01319/0.6846, allocations: 7.94 MB / 0.7123 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.977e-05/0.6847, allocations: 60.16 kB / 0.7123 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 4.919e-06/0.6848, allocations: 0 / 0.7123 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=269): time 0.3164/1.001, allocations: 29.32 MB / 0.7409 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.001, allocations: 244.3 kB / 0.7412 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008061/1.009, allocations: 6.341 MB / 0.7474 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000671/1.01, allocations: 65.7 kB / 0.7474 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002302/1.012, allocations: 4.402 MB / 0.7517 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001259/1.014, allocations: 1.064 MB / 0.7528 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002062/1.016, allocations: 1.614 MB / 0.7543 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.854e-05/1.016, allocations: 305.1 kB / 0.7546 GB, free: 143 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003644/1.02, allocations: 3.217 MB / 0.7578 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00539/1.025, allocations: 7.838 MB / 0.7654 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/1.035, allocations: 11.97 MB / 0.7771 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000137/1.036, allocations: 47 kB / 0.7772 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.02048/1.056, allocations: 12.39 MB / 0.7893 GB, free: 103 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/1.056, allocations: 79.98 kB / 0.7893 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001999/1.056, allocations: 160.9 kB / 0.7895 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004198/1.061, allocations: 1.773 MB / 0.7912 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00568/1.066, allocations: 1.797 MB / 0.793 GB, free: 99.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/1.079, allocations: 12.9 MB / 0.8056 GB, free: 86.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006827/1.086, allocations: 459.4 kB / 0.806 GB, free: 85.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001533/1.088, allocations: 479.9 kB / 0.8065 GB, free: 85.1 MB / 0.5606 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.005537/1.093, allocations: 2.883 MB / 0.8093 GB, free: 82.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/1.095, allocations: 0.5587 MB / 0.8098 GB, free: 81.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/1.106, allocations: 6.242 MB / 0.8159 GB, free: 75.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-05/1.106, allocations: 31.98 kB / 0.816 GB, free: 75.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.22e-05/1.106, allocations: 13.39 kB / 0.816 GB, free: 75.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.594e-05/1.106, allocations: 15.95 kB / 0.816 GB, free: 75.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02417/1.13, allocations: 13.52 MB / 0.8292 GB, free: 61.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-05/1.13, allocations: 4 kB / 0.8292 GB, free: 61.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002167/1.133, allocations: 447.3 kB / 0.8296 GB, free: 61.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003825/1.136, allocations: 1.527 MB / 0.8311 GB, free: 59.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004865/1.137, allocations: 48 kB / 0.8312 GB, free: 59.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/1.15, allocations: 12.25 MB / 0.8431 GB, free: 47.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.15, allocations: 4 kB / 0.8431 GB, free: 47.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01472/1.165, allocations: 10.17 MB / 0.8531 GB, free: 36.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/1.167, allocations: 0.6299 MB / 0.8537 GB, free: 36.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001785/1.168, allocations: 47.94 kB / 0.8537 GB, free: 36.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003293/1.172, allocations: 183.2 kB / 0.8539 GB, free: 36.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008223/1.173, allocations: 165.7 kB / 0.8541 GB, free: 35.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004666/1.173, allocations: 68 kB / 0.8541 GB, free: 35.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007017/1.18, allocations: 4.075 MB / 0.8581 GB, free: 31.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.182e-06/1.18, allocations: 0 / 0.8581 GB, free: 31.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007895/1.188, allocations: 1.465 MB / 0.8595 GB, free: 30.3 MB / 0.5606 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.0149/1.203, allocations: 10.85 MB / 0.8701 GB, free: 19.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01078/1.214, allocations: 7.957 MB / 0.8779 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.214, allocations: 0 / 0.8779 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005212/1.219, allocations: 3.204 MB / 0.881 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005856/1.225, allocations: 0.7491 MB / 0.8818 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1286/1.354, allocations: 71.54 MB / 0.9516 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2513/1.605, allocations: 4.424 MB / 0.9559 GB, free: 226.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.009468/1.615, allocations: 2.615 MB / 0.9585 GB, free: 226.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004428/1.619, allocations: 2.85 MB / 0.9613 GB, free: 226.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.042e-06/1.619, allocations: 0 / 0.9613 GB, free: 226.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1612/1.78, allocations: 112.3 MB / 1.071 GB, free: 130.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.88/25.66, allocations: 6.344 kB / 1.071 GB, free: 130.9 MB / 0.6387 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)