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.006562/0.006562, allocations: 98.48 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.001319/0.001318, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.563/1.563, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3001/0.3001, allocations: 37.99 MB / 307.9 MB, free: 9.984 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.001655/0.001655, allocations: 67.91 kB / 433 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3066, allocations: 56.47 MB / 489.5 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01789/0.3245, allocations: 16.61 MB / 0.4943 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.3377, allocations: 5.053 MB / 0.4992 GB, free: 4.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004917/0.3426, allocations: 110.8 kB / 0.4993 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009645/0.3523, allocations: 5.056 MB / 0.5042 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007061/0.3594, allocations: 2.662 MB / 0.5068 GB, free: 164 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002854/0.3623, allocations: 1.109 MB / 0.5079 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01044/0.3727, allocations: 6.774 MB / 0.5145 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008715/0.3815, allocations: 5.915 MB / 0.5203 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005341/0.3869, allocations: 2.531 MB / 0.5228 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005809/0.3927, allocations: 3.431 MB / 0.5261 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002413/0.3951, allocations: 0.5391 MB / 0.5267 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004662/0.3998, allocations: 1.432 MB / 0.5281 GB, free: 148 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004794/0.4046, allocations: 3.172 MB / 0.5312 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00731/0.412, allocations: 3.585 MB / 0.5347 GB, free: 9.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01513/0.4271, allocations: 11.18 MB / 0.5456 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4272, allocations: 4 kB / 0.5456 GB, free: 14.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4272, allocations: 3.938 kB / 0.5456 GB, free: 14.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003959/0.4276, allocations: 0 / 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.02014/0.4477, allocations: 8 MB / 0.5534 GB, free: 6.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4478, allocations: 15.89 kB / 0.5534 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01365/0.4615, allocations: 2.843 MB / 0.5562 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/0.4729, allocations: 4.576 MB / 0.5606 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004565/0.4734, allocations: 378 kB / 0.561 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002615/0.476, allocations: 0.4957 MB / 0.5615 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05232/0.5284, allocations: 15.7 MB / 0.5768 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004276/0.5289, allocations: 59.52 kB / 0.5769 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002818/0.5317, allocations: 239.8 kB / 0.5771 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01022/0.542, allocations: 3.001 MB / 0.58 GB, free: 9.637 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0452/0.5872, allocations: 13.43 MB / 0.5931 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3264/0.9137, allocations: 60.92 MB / 0.6526 GB, free: 86.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02029/0.934, allocations: 7.612 MB / 0.6601 GB, free: 86.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005719/0.9398, allocations: 4.163 MB / 0.6641 GB, free: 84.76 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01617/0.956, allocations: 9.853 MB / 0.6738 GB, free: 80.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.167e-05/0.9561, allocations: 67.5 kB / 0.6738 GB, free: 80.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=273): time 5.991e-06/0.9561, allocations: 3.312 kB / 0.6738 GB, free: 80.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=315): time 0.08227/1.038, allocations: 34.78 MB / 0.7078 GB, free: 62.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/1.039, allocations: 239.1 kB / 0.708 GB, free: 62.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007676/1.046, allocations: 6.902 MB / 0.7148 GB, free: 55.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006904/1.047, allocations: 69.7 kB / 0.7148 GB, free: 55.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00237/1.049, allocations: 4.814 MB / 0.7195 GB, free: 50.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001546/1.051, allocations: 1.237 MB / 0.7207 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002317/1.053, allocations: 1.896 MB / 0.7226 GB, free: 47.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.256e-05/1.053, allocations: 305.1 kB / 0.7229 GB, free: 47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004548/1.058, allocations: 3.902 MB / 0.7267 GB, free: 43.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006515/1.064, allocations: 9.082 MB / 0.7356 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/1.077, allocations: 13.92 MB / 0.7492 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/1.077, allocations: 51.94 kB / 0.7492 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02374/1.101, allocations: 14.85 MB / 0.7637 GB, free: 332 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.101, allocations: 80 kB / 0.7638 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/1.101, allocations: 180 kB / 0.764 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00606/1.107, allocations: 2.28 MB / 0.7662 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008033/1.115, allocations: 2.16 MB / 0.7683 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01875/1.134, allocations: 14.24 MB / 0.7822 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007192/1.141, allocations: 0.5424 MB / 0.7827 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/1.142, allocations: 0.5312 MB / 0.7832 GB, free: 12.04 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.004795/1.147, allocations: 3.158 MB / 0.7863 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/1.148, allocations: 0.6053 MB / 0.7869 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/1.163, allocations: 7.76 MB / 0.7945 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.59e-05/1.163, allocations: 35.83 kB / 0.7945 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.089e-05/1.163, allocations: 12 kB / 0.7945 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.945e-05/1.163, allocations: 15.94 kB / 0.7946 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03355/1.196, allocations: 16.06 MB / 0.8102 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-05/1.196, allocations: 7.984 kB / 0.8103 GB, free: 308 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003008/1.199, allocations: 0.5539 MB / 0.8108 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005542/1.205, allocations: 2.023 MB / 0.8128 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005387/1.206, allocations: 60 kB / 0.8128 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01812/1.224, allocations: 13.59 MB / 0.8261 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.224, allocations: 7.938 kB / 0.8261 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02073/1.244, allocations: 12.39 MB / 0.8382 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003697/1.248, allocations: 1.215 MB / 0.8394 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/1.25, allocations: 56.62 kB / 0.8394 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003402/1.253, allocations: 226.1 kB / 0.8397 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007101/1.254, allocations: 193.9 kB / 0.8398 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002599/1.254, allocations: 87.98 kB / 0.8399 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00801/1.262, allocations: 4.41 MB / 0.8442 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.9e-07/1.262, allocations: 0 / 0.8442 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008534/1.271, allocations: 1.711 MB / 0.8459 GB, free: 11.35 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.00076/1.272, allocations: 211.1 kB / 0.8461 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01546/1.287, allocations: 9.441 MB / 0.8553 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/1.287, allocations: 0 / 0.8553 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006831/1.294, allocations: 3.756 MB / 0.859 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005189/1.299, allocations: 0.7448 MB / 0.8597 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.246/1.545, allocations: 16.12 MB / 0.8755 GB, free: 213.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01273/1.558, allocations: 4.796 MB / 0.8801 GB, free: 212.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01263/1.571, allocations: 2.944 MB / 0.883 GB, free: 212.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003335/1.574, allocations: 411 kB / 0.8834 GB, free: 212.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.463e-06/1.574, allocations: 0 / 0.8834 GB, free: 212.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.1606/1.735, allocations: 65.83 MB / 0.9477 GB, free: 175.2 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)