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.001218/0.001218, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001389/0.001389, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.551/1.551, allocations: 205.1 MB / 222 MB, free: 4.719 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.396/0.396, allocations: 37.97 MB / 307.3 MB, free: 10.1 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.001387/0.001387, allocations: 71.91 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1291, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2875/0.4167, allocations: 90.04 MB / 0.5088 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04414/0.4609, allocations: 17.21 MB / 0.5257 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01882/0.4798, allocations: 387 kB / 0.526 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00958/0.4894, allocations: 5.049 MB / 0.531 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007275/0.4967, allocations: 2.51 MB / 0.5334 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002701/0.4995, allocations: 1.037 MB / 0.5344 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0123/0.5118, allocations: 9.929 MB / 0.5441 GB, free: 9.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007282/0.5191, allocations: 5.829 MB / 0.5498 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003961/0.5231, allocations: 2.254 MB / 0.552 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005742/0.5288, allocations: 3.68 MB / 0.5556 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00156/0.5304, allocations: 388 kB / 0.556 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00404/0.5345, allocations: 1.342 MB / 0.5573 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005713/0.5402, allocations: 3.062 MB / 0.5603 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006495/0.5468, allocations: 3.444 MB / 0.5636 GB, free: 5.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01619/0.563, allocations: 10.67 MB / 0.5741 GB, free: 10.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.5631, allocations: 3.938 kB / 0.5741 GB, free: 10.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5631, allocations: 0 / 0.5741 GB, free: 10.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005733/0.5637, allocations: 0 / 0.5741 GB, free: 10.57 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.02303/0.5867, allocations: 7.789 MB / 0.5817 GB, free: 2.691 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.5868, allocations: 8.031 kB / 0.5817 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/0.6, allocations: 2.803 MB / 0.5844 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/0.6117, allocations: 4.484 MB / 0.5888 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004097/0.6121, allocations: 374.2 kB / 0.5891 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002308/0.6145, allocations: 0.4956 MB / 0.5896 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03444/0.6489, allocations: 15.69 MB / 0.6049 GB, free: 9.746 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003138/0.6493, allocations: 67.31 kB / 0.605 GB, free: 9.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001367/0.6507, allocations: 239.8 kB / 0.6052 GB, free: 9.445 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005512/0.6562, allocations: 3.001 MB / 0.6082 GB, free: 6.438 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02828/0.6845, allocations: 13.43 MB / 0.6213 GB, free: 8.965 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3219/1.006, allocations: 61.07 MB / 0.6809 GB, free: 104.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01947/1.026, allocations: 7.614 MB / 0.6884 GB, free: 102.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00613/1.032, allocations: 4.168 MB / 0.6924 GB, free: 100.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0195/1.052, allocations: 9.845 MB / 0.702 GB, free: 96.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.838e-05/1.052, allocations: 63.5 kB / 0.7021 GB, free: 96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 8.175e-06/1.052, allocations: 0 / 0.7021 GB, free: 96 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.0795/1.131, allocations: 34.33 MB / 0.7356 GB, free: 74.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/1.131, allocations: 243.9 kB / 0.7359 GB, free: 74.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00869/1.14, allocations: 6.885 MB / 0.7426 GB, free: 67.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008072/1.141, allocations: 69.7 kB / 0.7427 GB, free: 67.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002386/1.143, allocations: 4.632 MB / 0.7472 GB, free: 62.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001572/1.145, allocations: 1.191 MB / 0.7483 GB, free: 61.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002539/1.148, allocations: 1.883 MB / 0.7502 GB, free: 59.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.381e-05/1.148, allocations: 309.1 kB / 0.7505 GB, free: 59.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004708/1.152, allocations: 3.902 MB / 0.7543 GB, free: 55.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006979/1.159, allocations: 9.072 MB / 0.7631 GB, free: 43.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01342/1.173, allocations: 13.93 MB / 0.7767 GB, free: 27.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001427/1.173, allocations: 52 kB / 0.7768 GB, free: 27.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02546/1.198, allocations: 14.81 MB / 0.7913 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/1.199, allocations: 84 kB / 0.7913 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002043/1.199, allocations: 183.9 kB / 0.7915 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005166/1.204, allocations: 2.265 MB / 0.7937 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007097/1.211, allocations: 2.168 MB / 0.7958 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/1.226, allocations: 13.31 MB / 0.8088 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007429/1.234, allocations: 0.5343 MB / 0.8094 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001768/1.236, allocations: 0.5323 MB / 0.8099 GB, free: 8.992 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.00684/1.243, allocations: 3.16 MB / 0.813 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001517/1.244, allocations: 0.5823 MB / 0.8135 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.219/1.463, allocations: 7.766 MB / 0.8211 GB, free: 147.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.417e-05/1.463, allocations: 35.47 kB / 0.8212 GB, free: 147.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.299e-05/1.463, allocations: 9.531 kB / 0.8212 GB, free: 147.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.588e-05/1.463, allocations: 17.06 kB / 0.8212 GB, free: 147.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02717/1.49, allocations: 16.24 MB / 0.837 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-05/1.491, allocations: 8 kB / 0.837 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00259/1.493, allocations: 0.5545 MB / 0.8376 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004927/1.498, allocations: 2.019 MB / 0.8396 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006358/1.499, allocations: 66.06 kB / 0.8396 GB, free: 142.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01542/1.514, allocations: 12.58 MB / 0.8519 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/1.514, allocations: 8.719 kB / 0.8519 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01959/1.534, allocations: 12.33 MB / 0.864 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003204/1.537, allocations: 1.188 MB / 0.8651 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/1.539, allocations: 60.14 kB / 0.8652 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00298/1.542, allocations: 224.4 kB / 0.8654 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006831/1.542, allocations: 196.6 kB / 0.8656 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002514/1.543, allocations: 87.75 kB / 0.8657 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007438/1.55, allocations: 4.419 MB / 0.87 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.21e-07/1.55, allocations: 0 / 0.87 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008994/1.559, allocations: 1.699 MB / 0.8716 GB, free: 130 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.0006495/1.56, allocations: 204.6 kB / 0.8718 GB, free: 129.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01275/1.572, allocations: 9.398 MB / 0.881 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.572, allocations: 3.562 kB / 0.881 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005545/1.578, allocations: 3.859 MB / 0.8848 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00504/1.583, allocations: 0.7056 MB / 0.8855 GB, free: 124 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02812/1.611, allocations: 19.04 MB / 0.9041 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007284/1.619, allocations: 4.807 MB / 0.9088 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00869/1.627, allocations: 2.947 MB / 0.9116 GB, free: 97.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/1.629, allocations: 407.3 kB / 0.912 GB, free: 97.46 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/1.629, allocations: 0 / 0.912 GB, free: 97.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.105/1.734, allocations: 68.31 MB / 0.9787 GB, free: 29.26 MB / 0.4981 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)