Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.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.Force,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00191/0.001909, allocations: 118.3 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002238/0.002239, allocations: 201.2 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 247 MB, free: 10.38 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.2248/0.2248, allocations: 46.11 MB / 344.3 MB, free: 11.43 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.002254/0.002254, allocations: 79.81 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3622, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.0181/0.3804, allocations: 15.51 MB / 0.5458 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.3919, allocations: 4.94 MB / 0.5506 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004207/0.3962, allocations: 111.7 kB / 0.5507 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00988/0.4061, allocations: 4.98 MB / 0.5556 GB, free: 8.062 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007524/0.4137, allocations: 2.477 MB / 0.558 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.4168, allocations: 1.111 MB / 0.5591 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01096/0.4278, allocations: 6.883 MB / 0.5658 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007416/0.4352, allocations: 5.779 MB / 0.5714 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004135/0.4394, allocations: 2.391 MB / 0.5738 GB, free: 5.312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005037/0.4444, allocations: 3.224 MB / 0.5769 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001595/0.4461, allocations: 0.5039 MB / 0.5774 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.4495, allocations: 1.397 MB / 0.5788 GB, free: 180 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003883/0.4534, allocations: 2.977 MB / 0.5817 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005304/0.4587, allocations: 3.406 MB / 0.585 GB, free: 9.766 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01397/0.4727, allocations: 10.54 MB / 0.5953 GB, free: 15.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.4727, allocations: 3.938 kB / 0.5953 GB, free: 15.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4728, allocations: 4 kB / 0.5953 GB, free: 15.17 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003802/0.4731, allocations: 0 / 0.5953 GB, free: 15.17 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.02313/0.4963, allocations: 7.784 MB / 0.6029 GB, free: 7.293 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.4964, allocations: 8.031 kB / 0.6029 GB, free: 7.285 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002886/0.4992, allocations: 1.025 MB / 0.6039 GB, free: 6.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04006/0.5393, allocations: 6.229 MB / 0.61 GB, free: 8 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.5506, allocations: 4.681 MB / 0.6146 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003022/0.5509, allocations: 357.3 kB / 0.6149 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001532/0.5525, allocations: 487.7 kB / 0.6154 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0292/0.5817, allocations: 14.55 MB / 0.6296 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005029/0.5822, allocations: 71.39 kB / 0.6296 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002116/0.5844, allocations: 223.8 kB / 0.6299 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005656/0.59, allocations: 2.742 MB / 0.6325 GB, free: 7.836 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02717/0.6172, allocations: 12.24 MB / 0.6445 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07911/0.6964, allocations: 57.67 MB / 0.7008 GB, free: 468 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01884/0.7153, allocations: 7.149 MB / 0.7078 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005206/0.7205, allocations: 3.777 MB / 0.7115 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2713/0.9919, allocations: 8.77 MB / 0.72 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.992, allocations: 59.03 kB / 0.7201 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 5.631e-06/0.992, allocations: 0 / 0.7201 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.07379/1.066, allocations: 31.35 MB / 0.7507 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/1.066, allocations: 231.6 kB / 0.7509 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007995/1.074, allocations: 6.677 MB / 0.7575 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006221/1.075, allocations: 69.7 kB / 0.7575 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002254/1.077, allocations: 4.592 MB / 0.762 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/1.078, allocations: 1.141 MB / 0.7631 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001983/1.08, allocations: 1.729 MB / 0.7648 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.771e-05/1.08, allocations: 305.1 kB / 0.7651 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004022/1.084, allocations: 3.397 MB / 0.7684 GB, free: 128 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005975/1.09, allocations: 8.379 MB / 0.7766 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/1.101, allocations: 12.78 MB / 0.7891 GB, free: 102 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/1.101, allocations: 48 kB / 0.7891 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.02069/1.122, allocations: 13.09 MB / 0.8019 GB, free: 88.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/1.122, allocations: 80 kB / 0.802 GB, free: 88.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001893/1.122, allocations: 183.9 kB / 0.8022 GB, free: 88.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003867/1.126, allocations: 1.758 MB / 0.8039 GB, free: 86.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00595/1.132, allocations: 1.961 MB / 0.8058 GB, free: 84.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/1.144, allocations: 12.74 MB / 0.8182 GB, free: 71.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006848/1.151, allocations: 495.5 kB / 0.8187 GB, free: 71.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001651/1.153, allocations: 0.4999 MB / 0.8192 GB, free: 70.82 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1020): * Single equations (assignments): 1013 * 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,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00506/1.158, allocations: 2.987 MB / 0.8221 GB, free: 67.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/1.159, allocations: 0.5936 MB / 0.8227 GB, free: 67.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009551/1.169, allocations: 6.479 MB / 0.829 GB, free: 60.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-05/1.169, allocations: 32 kB / 0.829 GB, free: 60.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.055e-05/1.169, allocations: 8 kB / 0.8291 GB, free: 60.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-05/1.169, allocations: 15.95 kB / 0.8291 GB, free: 60.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02131/1.19, allocations: 14.23 MB / 0.843 GB, free: 46.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.47e-05/1.19, allocations: 5.125 kB / 0.843 GB, free: 46.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/1.193, allocations: 0.4919 MB / 0.8435 GB, free: 45.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003586/1.196, allocations: 1.515 MB / 0.8449 GB, free: 44.37 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004143/1.197, allocations: 52 kB / 0.845 GB, free: 44.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/1.209, allocations: 12.06 MB / 0.8568 GB, free: 32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.209, allocations: 4 kB / 0.8568 GB, free: 32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/1.222, allocations: 10.6 MB / 0.8671 GB, free: 21.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/1.223, allocations: 0.6571 MB / 0.8678 GB, free: 20.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/1.224, allocations: 52 kB / 0.8678 GB, free: 20.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002562/1.227, allocations: 183.7 kB / 0.868 GB, free: 20.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004943/1.227, allocations: 177.6 kB / 0.8682 GB, free: 20.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/1.228, allocations: 79.91 kB / 0.8682 GB, free: 20.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005746/1.233, allocations: 4.278 MB / 0.8724 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.11e-07/1.233, allocations: 4 kB / 0.8724 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007115/1.24, allocations: 1.535 MB / 0.8739 GB, free: 14.26 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (232): * Single equations (assignments): 227 * 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,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01357/1.254, allocations: 11.29 MB / 0.8849 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01246/1.267, allocations: 8.369 MB / 0.8931 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.267, allocations: 4 kB / 0.8931 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006108/1.273, allocations: 3.325 MB / 0.8964 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005017/1.278, allocations: 0.7572 MB / 0.8971 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4341/1.712, allocations: 75.87 MB / 0.9712 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005056/1.717, allocations: 4.532 MB / 0.9756 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005694/1.723, allocations: 2.794 MB / 0.9783 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003782/1.727, allocations: 2.947 MB / 0.9812 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/1.727, allocations: 0 / 0.9812 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1568/1.883, allocations: 117 MB / 1.095 GB, free: 91.07 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.84/25.72, allocations: 4.891 kB / 1.095 GB, free: 91.07 MB / 0.6387 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force_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_Force.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1)