Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001191/0.001191, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001439/0.001439, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2809/0.2809, allocations: 40 MB / 310.4 MB, free: 9.953 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.2. 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.0007528/0.0007529, allocations: 20 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1128, allocations: 57.95 MB / 436.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2386/0.3514, allocations: 77.14 MB / 0.5019 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0318/0.3833, allocations: 17.25 MB / 0.5187 GB, free: 7.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01428/0.3976, allocations: 385.8 kB / 0.5191 GB, free: 7.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01221/0.4098, allocations: 3.878 MB / 0.5229 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03498/0.4449, allocations: 11 MB / 0.5336 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004702/0.4496, allocations: 0.8857 MB / 0.5345 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03958/0.4892, allocations: 27.37 MB / 0.5612 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01045/0.4997, allocations: 7.354 MB / 0.5684 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/0.5026, allocations: 1.627 MB / 0.57 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002982/0.5056, allocations: 2.181 MB / 0.5721 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008015/0.5064, allocations: 228 kB / 0.5723 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.5085, allocations: 0.9793 MB / 0.5733 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0024/0.511, allocations: 2.587 MB / 0.5758 GB, free: 9.227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001411/0.5124, allocations: 1.31 MB / 0.5771 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008333/0.5207, allocations: 8.705 MB / 0.5856 GB, free: 15.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5208, allocations: 0 / 0.5856 GB, free: 15.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5208, allocations: 4 kB / 0.5856 GB, free: 15.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002717/0.521, allocations: 0 / 0.5856 GB, free: 15.18 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01517/0.5362, allocations: 6.881 MB / 0.5923 GB, free: 8.211 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.5363, allocations: 12.03 kB / 0.5923 GB, free: 8.199 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04401/0.5803, allocations: 8.245 MB / 0.6004 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00979/0.5901, allocations: 4.764 MB / 0.605 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002648/0.5904, allocations: 377.6 kB / 0.6054 GB, free: 10.72 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/0.5919, allocations: 0.4995 MB / 0.6059 GB, free: 10.22 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02621/0.6181, allocations: 15.76 MB / 0.6213 GB, free: 9.461 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002254/0.6184, allocations: 63.31 kB / 0.6213 GB, free: 9.398 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001095/0.6195, allocations: 247.7 kB / 0.6215 GB, free: 9.156 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005218/0.6247, allocations: 2.993 MB / 0.6245 GB, free: 6.156 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2122/0.837, allocations: 13.37 MB / 0.6375 GB, free: 138.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09407/0.9311, allocations: 60.85 MB / 0.6969 GB, free: 99.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01993/0.9511, allocations: 7.722 MB / 0.7045 GB, free: 97.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0163/0.9674, allocations: 9.702 MB / 0.714 GB, free: 90.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.9675, allocations: 63.89 kB / 0.714 GB, free: 90.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 4.479e-06/0.9675, allocations: 2.031 kB / 0.714 GB, free: 90.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.07692/1.044, allocations: 33.98 MB / 0.7472 GB, free: 59.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/1.045, allocations: 239.9 kB / 0.7474 GB, free: 59.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008834/1.053, allocations: 7.124 MB / 0.7544 GB, free: 52.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008573/1.054, allocations: 73.7 kB / 0.7545 GB, free: 52.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002725/1.057, allocations: 4.672 MB / 0.759 GB, free: 47.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001452/1.059, allocations: 1.188 MB / 0.7602 GB, free: 46.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005911/1.059, allocations: 179.4 kB / 0.7604 GB, free: 46.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003788/1.059, allocations: 0.686 MB / 0.761 GB, free: 45.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004492/1.064, allocations: 3.652 MB / 0.7646 GB, free: 42.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00675/1.071, allocations: 8.78 MB / 0.7732 GB, free: 30.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007487/1.078, allocations: 5.536 MB / 0.7786 GB, free: 25.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001125/1.078, allocations: 55.94 kB / 0.7786 GB, free: 25.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.02295/1.101, allocations: 13.76 MB / 0.7921 GB, free: 11.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.102, allocations: 80 kB / 0.7921 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002391/1.102, allocations: 180 kB / 0.7923 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00421/1.106, allocations: 1.8 MB / 0.7941 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007156/1.113, allocations: 2.109 MB / 0.7961 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01429/1.128, allocations: 12.19 MB / 0.808 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008139/1.136, allocations: 0.5148 MB / 0.8085 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002026/1.138, allocations: 0.5304 MB / 0.8091 GB, free: 9.648 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 (1082): * Single equations (assignments): 1075 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006865/1.145, allocations: 3.148 MB / 0.8121 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/1.146, allocations: 0.5862 MB / 0.8127 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2088/1.355, allocations: 7.008 MB / 0.8196 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.304e-05/1.355, allocations: 38.5 kB / 0.8196 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.763e-05/1.355, allocations: 8.594 kB / 0.8196 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.976e-05/1.355, allocations: 14.39 kB / 0.8196 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02794/1.383, allocations: 15.54 MB / 0.8348 GB, free: 139.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.439e-05/1.383, allocations: 8.203 kB / 0.8348 GB, free: 139.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002476/1.386, allocations: 0.5594 MB / 0.8353 GB, free: 139.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003493/1.389, allocations: 1.512 MB / 0.8368 GB, free: 139.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003172/1.389, allocations: 58.45 kB / 0.8369 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/1.402, allocations: 11.39 MB / 0.848 GB, free: 133.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.402, allocations: 5.75 kB / 0.848 GB, free: 133.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01865/1.42, allocations: 12.24 MB / 0.86 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003648/1.424, allocations: 1.188 MB / 0.8611 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001191/1.425, allocations: 52.75 kB / 0.8612 GB, free: 128 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002926/1.428, allocations: 220.1 kB / 0.8614 GB, free: 128 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005672/1.429, allocations: 201.6 kB / 0.8616 GB, free: 128 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000237/1.429, allocations: 84.3 kB / 0.8616 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008143/1.437, allocations: 4.594 MB / 0.8661 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/1.437, allocations: 0 / 0.8661 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009732/1.447, allocations: 1.664 MB / 0.8678 GB, free: 126.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007831/1.448, allocations: 216 kB / 0.868 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01245/1.46, allocations: 8.945 MB / 0.8767 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.46, allocations: 3.969 kB / 0.8767 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005039/1.465, allocations: 3.558 MB / 0.8802 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003877/1.469, allocations: 0.6999 MB / 0.8809 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/1.493, allocations: 18.07 MB / 0.8985 GB, free: 106.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005023/1.498, allocations: 4.943 MB / 0.9033 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006856/1.505, allocations: 2.963 MB / 0.9062 GB, free: 98.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/1.507, allocations: 414 kB / 0.9066 GB, free: 98.47 MB / 0.4981 GB Notification: Performance of SimCode: time 2.564e-06/1.507, allocations: 0 / 0.9066 GB, free: 98.47 MB / 0.4981 GB Notification: Performance of Templates: time 0.1001/1.607, allocations: 64.68 MB / 0.9698 GB, free: 33.88 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) Environment - environmentSimulation: