Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000896/0.0008957, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00622/0.00622, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2983/0.2983, allocations: 38.04 MB / 308.8 MB, free: 10.33 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005366/0.0005366, allocations: 20.56 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1071, allocations: 57.52 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2601/0.3672, allocations: 87.94 MB / 0.5103 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03974/0.407, allocations: 17.14 MB / 0.527 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01985/0.4269, allocations: 385.9 kB / 0.5274 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003492/0.4304, allocations: 0.6196 MB / 0.528 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008496/0.439, allocations: 2.513 MB / 0.5304 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.4417, allocations: 0.9133 MB / 0.5313 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01732/0.459, allocations: 9.934 MB / 0.541 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01206/0.4711, allocations: 8.211 MB / 0.549 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003993/0.4752, allocations: 1.852 MB / 0.5509 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005039/0.4802, allocations: 3.188 MB / 0.554 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008507/0.4811, allocations: 224 kB / 0.5542 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.484, allocations: 1.182 MB / 0.5553 GB, free: 412 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00272/0.4868, allocations: 2.828 MB / 0.5581 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003641/0.4904, allocations: 3.172 MB / 0.5612 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.5016, allocations: 10.34 MB / 0.5713 GB, free: 15.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.5017, allocations: 0 / 0.5713 GB, free: 15.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5017, allocations: 0 / 0.5713 GB, free: 15.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000319/0.502, allocations: 0 / 0.5713 GB, free: 15.98 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01365/0.5157, allocations: 6.393 MB / 0.5775 GB, free: 9.512 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.5157, allocations: 8.031 kB / 0.5775 GB, free: 9.504 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01313/0.5289, allocations: 2.881 MB / 0.5804 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.539, allocations: 4.472 MB / 0.5847 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003613/0.5394, allocations: 374.2 kB / 0.5851 GB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001854/0.5413, allocations: 0.4956 MB / 0.5856 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03176/0.5731, allocations: 15.71 MB / 0.6009 GB, free: 488 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002661/0.5734, allocations: 67.38 kB / 0.601 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007991/0.5742, allocations: 235.8 kB / 0.6012 GB, free: 184 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0056/0.5798, allocations: 3.008 MB / 0.6041 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03027/0.6101, allocations: 13.44 MB / 0.6173 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2721/0.8823, allocations: 61.13 MB / 0.677 GB, free: 105.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0183/0.9006, allocations: 7.635 MB / 0.6844 GB, free: 103.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005622/0.9063, allocations: 4.17 MB / 0.6885 GB, free: 101.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01732/0.9236, allocations: 9.831 MB / 0.6981 GB, free: 96.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.9237, allocations: 68.06 kB / 0.6981 GB, free: 96.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 6.492e-06/0.9238, allocations: 0 / 0.6981 GB, free: 96.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.08068/1.004, allocations: 34.33 MB / 0.7317 GB, free: 79.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/1.005, allocations: 247.9 kB / 0.7319 GB, free: 79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008417/1.013, allocations: 6.893 MB / 0.7386 GB, free: 72.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008058/1.014, allocations: 69.7 kB / 0.7387 GB, free: 72.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002152/1.016, allocations: 4.634 MB / 0.7432 GB, free: 67.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001261/1.017, allocations: 1.192 MB / 0.7444 GB, free: 66.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000827/1.018, allocations: 0.7866 MB / 0.7452 GB, free: 65.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.404e-05/1.018, allocations: 305.1 kB / 0.7455 GB, free: 65.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004677/1.023, allocations: 3.91 MB / 0.7493 GB, free: 61.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006405/1.029, allocations: 9.079 MB / 0.7581 GB, free: 49.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/1.043, allocations: 13.92 MB / 0.7717 GB, free: 33.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/1.043, allocations: 52 kB / 0.7718 GB, free: 33.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02681/1.07, allocations: 14.82 MB / 0.7863 GB, free: 18.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/1.07, allocations: 80 kB / 0.7863 GB, free: 18.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000174/1.07, allocations: 180 kB / 0.7865 GB, free: 18.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005085/1.076, allocations: 2.269 MB / 0.7887 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006767/1.082, allocations: 2.16 MB / 0.7908 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/1.097, allocations: 13.31 MB / 0.8038 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009436/1.107, allocations: 0.5493 MB / 0.8044 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001913/1.109, allocations: 0.5312 MB / 0.8049 GB, free: 14.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 63 (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 (1120): * Single equations (assignments): 1113 * 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.008422/1.117, allocations: 3.159 MB / 0.808 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002028/1.119, allocations: 0.5746 MB / 0.8085 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01766/1.137, allocations: 7.764 MB / 0.8161 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.933e-05/1.137, allocations: 32 kB / 0.8161 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.24e-05/1.137, allocations: 8 kB / 0.8161 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.935e-05/1.137, allocations: 23.92 kB / 0.8162 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2336/1.371, allocations: 16.25 MB / 0.832 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.543e-05/1.371, allocations: 3.156 kB / 0.832 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002641/1.373, allocations: 0.5576 MB / 0.8326 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004944/1.378, allocations: 2.02 MB / 0.8346 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005145/1.379, allocations: 59.38 kB / 0.8346 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/1.393, allocations: 12.59 MB / 0.8469 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/1.393, allocations: 9.906 kB / 0.8469 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02182/1.415, allocations: 12.33 MB / 0.859 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003934/1.419, allocations: 1.202 MB / 0.8601 GB, free: 132 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00248/1.421, allocations: 58.17 kB / 0.8602 GB, free: 132 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004281/1.426, allocations: 229 kB / 0.8604 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009875/1.427, allocations: 193.2 kB / 0.8606 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005598/1.427, allocations: 84.88 kB / 0.8607 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0114/1.439, allocations: 4.413 MB / 0.865 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.81e-07/1.439, allocations: 0 / 0.865 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009235/1.448, allocations: 1.706 MB / 0.8666 GB, free: 130.3 MB / 0.4981 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 (260): * Single equations (assignments): 255 * 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 {(5,16,72.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.000966/1.449, allocations: 211.1 kB / 0.8668 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01399/1.463, allocations: 9.389 MB / 0.876 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.463, allocations: 0 / 0.876 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006266/1.469, allocations: 3.857 MB / 0.8798 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009994/1.479, allocations: 0.7061 MB / 0.8805 GB, free: 125 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02954/1.509, allocations: 19.2 MB / 0.8992 GB, free: 109 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006415/1.515, allocations: 4.81 MB / 0.9039 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006406/1.522, allocations: 2.945 MB / 0.9068 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.523, allocations: 411.3 kB / 0.9072 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/1.523, allocations: 0 / 0.9072 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.09192/1.615, allocations: 66.97 MB / 0.9726 GB, free: 34.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) Environment - environmentSimulation: