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.008117/0.008117, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001749/0.001749, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.455/1.455, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.2998/0.2998, allocations: 38 MB / 307.9 MB, free: 10.17 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.001691/0.001691, allocations: 67.89 kB / 433 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2932, allocations: 56.48 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01445/0.3077, allocations: 16.61 MB / 0.4943 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.318, allocations: 5.057 MB / 0.4992 GB, free: 4.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00314/0.3212, allocations: 106.1 kB / 0.4993 GB, free: 4.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008634/0.3299, allocations: 5.059 MB / 0.5042 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007223/0.3371, allocations: 2.666 MB / 0.5068 GB, free: 184 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.3397, allocations: 1.106 MB / 0.5079 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01024/0.35, allocations: 6.772 MB / 0.5145 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009268/0.3593, allocations: 5.917 MB / 0.5203 GB, free: 8.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005656/0.365, allocations: 2.539 MB / 0.5228 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00537/0.3704, allocations: 3.435 MB / 0.5261 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001579/0.372, allocations: 0.5391 MB / 0.5267 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.3752, allocations: 1.428 MB / 0.5281 GB, free: 124 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00291/0.3781, allocations: 3.199 MB / 0.5312 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003981/0.3821, allocations: 3.577 MB / 0.5347 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.3938, allocations: 11.14 MB / 0.5456 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.3939, allocations: 0 / 0.5456 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3939, allocations: 0 / 0.5456 GB, free: 14.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003282/0.3942, allocations: 3.938 kB / 0.5456 GB, free: 14.13 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01831/0.4125, allocations: 7.793 MB / 0.5532 GB, free: 6.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.4126, allocations: 15.83 kB / 0.5532 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01331/0.4259, allocations: 2.811 MB / 0.5559 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.4378, allocations: 4.55 MB / 0.5604 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003401/0.4382, allocations: 370 kB / 0.5607 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002024/0.4403, allocations: 0.4995 MB / 0.5612 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03161/0.4719, allocations: 15.68 MB / 0.5765 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001951/0.4721, allocations: 71.3 kB / 0.5766 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007668/0.4729, allocations: 239.8 kB / 0.5768 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005262/0.4782, allocations: 3.001 MB / 0.5798 GB, free: 9.914 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02854/0.5067, allocations: 13.42 MB / 0.5929 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3248/0.8316, allocations: 60.8 MB / 0.6522 GB, free: 85.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01915/0.8508, allocations: 7.613 MB / 0.6597 GB, free: 85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005542/0.8564, allocations: 4.161 MB / 0.6637 GB, free: 83.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01734/0.8737, allocations: 9.83 MB / 0.6733 GB, free: 79.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.8738, allocations: 61.5 kB / 0.6734 GB, free: 78.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=273): time 5.39e-06/0.8738, allocations: 1.969 kB / 0.6734 GB, free: 78.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=315): time 0.08035/0.9542, allocations: 34.34 MB / 0.7069 GB, free: 61.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.9543, allocations: 243.2 kB / 0.7072 GB, free: 61.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008335/0.9627, allocations: 6.889 MB / 0.7139 GB, free: 54.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008877/0.9636, allocations: 73.7 kB / 0.714 GB, free: 54.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002339/0.966, allocations: 4.632 MB / 0.7185 GB, free: 49.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001418/0.9674, allocations: 1.191 MB / 0.7197 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002197/0.9696, allocations: 1.875 MB / 0.7215 GB, free: 46.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.947e-05/0.9696, allocations: 309.1 kB / 0.7218 GB, free: 46.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004439/0.9741, allocations: 3.906 MB / 0.7256 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006171/0.9803, allocations: 9.082 MB / 0.7345 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/0.9942, allocations: 13.92 MB / 0.7481 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001519/0.9944, allocations: 55.94 kB / 0.7481 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02588/1.02, allocations: 14.8 MB / 0.7626 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002575/1.021, allocations: 84.47 kB / 0.7627 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003672/1.021, allocations: 180 kB / 0.7628 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006123/1.027, allocations: 2.269 MB / 0.765 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007667/1.035, allocations: 2.16 MB / 0.7671 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01862/1.053, allocations: 14.23 MB / 0.781 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009502/1.063, allocations: 0.5461 MB / 0.7816 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001858/1.065, allocations: 0.5424 MB / 0.7821 GB, free: 11.16 MB / 0.5294 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.007872/1.073, allocations: 3.156 MB / 0.7852 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001899/1.075, allocations: 0.5823 MB / 0.7858 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/1.091, allocations: 7.757 MB / 0.7933 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.696e-05/1.091, allocations: 32 kB / 0.7934 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-05/1.091, allocations: 8 kB / 0.7934 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.051e-05/1.091, allocations: 19.94 kB / 0.7934 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0359/1.127, allocations: 16.06 MB / 0.8091 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.258e-05/1.127, allocations: 7.938 kB / 0.8091 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002964/1.13, allocations: 0.5577 MB / 0.8096 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005784/1.136, allocations: 2.023 MB / 0.8116 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007886/1.137, allocations: 60 kB / 0.8117 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01893/1.156, allocations: 13.57 MB / 0.8249 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/1.156, allocations: 11.97 kB / 0.8249 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03176/1.188, allocations: 12.35 MB / 0.837 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00571/1.194, allocations: 1.192 MB / 0.8382 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002702/1.196, allocations: 56 kB / 0.8382 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004787/1.201, allocations: 227.3 kB / 0.8384 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001837/1.203, allocations: 193.9 kB / 0.8386 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001035/1.204, allocations: 84 kB / 0.8387 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01331/1.217, allocations: 4.415 MB / 0.843 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.026e-06/1.217, allocations: 0 / 0.843 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01179/1.229, allocations: 1.704 MB / 0.8447 GB, free: 10.58 MB / 0.5919 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 {(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.001904/1.231, allocations: 211.3 kB / 0.8449 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01861/1.25, allocations: 9.437 MB / 0.8541 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/1.25, allocations: 192 / 0.8541 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007408/1.257, allocations: 3.756 MB / 0.8578 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006922/1.264, allocations: 0.7504 MB / 0.8585 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2952/1.559, allocations: 15.88 MB / 0.874 GB, free: 212.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01/1.57, allocations: 4.793 MB / 0.8787 GB, free: 211.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.008986/1.579, allocations: 2.947 MB / 0.8816 GB, free: 211.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002394/1.581, allocations: 405.7 kB / 0.8819 GB, free: 211.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.012e-06/1.581, allocations: 0 / 0.8819 GB, free: 211.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.1209/1.702, allocations: 66.06 MB / 0.9465 GB, free: 173.5 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.makefile (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)