Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01335/0.01335, allocations: 103.1 kB / 15.73 MB, free: 5.992 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.002146/0.002146, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.729/1.729, 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.3769/0.3769, allocations: 38 MB / 307.9 MB, free: 10.11 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.003199/0.0032, allocations: 71.84 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3434, allocations: 56.47 MB / 489.5 MB, free: 20.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.01396/0.3574, allocations: 14.5 MB / 0.4922 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.3699, allocations: 4.518 MB / 0.4966 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004281/0.3743, allocations: 78.34 kB / 0.4966 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004754/0.3791, allocations: 2.378 MB / 0.499 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007576/0.3867, allocations: 2.052 MB / 0.501 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.3886, allocations: 0.5883 MB / 0.5015 GB, free: 4.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008406/0.3971, allocations: 4.283 MB / 0.5057 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004664/0.4018, allocations: 3.646 MB / 0.5093 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003559/0.4054, allocations: 1.643 MB / 0.5109 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003858/0.4092, allocations: 2.252 MB / 0.5131 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009029/0.4102, allocations: 368.4 kB / 0.5134 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/0.4133, allocations: 1.233 MB / 0.5146 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002611/0.4159, allocations: 2.112 MB / 0.5167 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004043/0.42, allocations: 2.507 MB / 0.5192 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.4315, allocations: 8.264 MB / 0.5272 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.4315, allocations: 0 / 0.5272 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4315, allocations: 0 / 0.5272 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.00038/0.4319, allocations: 4 kB / 0.5272 GB, free: 0.9727 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01505/0.447, allocations: 5.449 MB / 0.5326 GB, free: 11.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.4471, allocations: 11.89 kB / 0.5326 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/0.4572, allocations: 3.196 MB / 0.5357 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005874/0.4632, allocations: 2.406 MB / 0.538 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.4635, allocations: 271.2 kB / 0.5383 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001647/0.4651, allocations: 363.7 kB / 0.5386 GB, free: 5.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02542/0.4906, allocations: 12.66 MB / 0.551 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002115/0.4908, allocations: 31.75 kB / 0.551 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001544/0.4924, allocations: 167.8 kB / 0.5512 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004467/0.4969, allocations: 2.762 MB / 0.5539 GB, free: 5.066 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02568/0.5226, allocations: 11.61 MB / 0.5652 GB, free: 9.445 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07209/0.5947, allocations: 40.24 MB / 0.6045 GB, free: 284 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/0.6057, allocations: 5.08 MB / 0.6095 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003749/0.6095, allocations: 2.413 MB / 0.6118 GB, free: 8.547 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01235/0.6219, allocations: 6.843 MB / 0.6185 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/0.622, allocations: 56.56 kB / 0.6186 GB, free: 1.273 MB / 494.1 MB Notification: Performance of pre-optimization done (n=235): time 5.921e-06/0.622, allocations: 0 / 0.6186 GB, free: 1.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=244): time 0.04022/0.6622, allocations: 16.48 MB / 0.6347 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.6623, allocations: 73.41 kB / 0.6347 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2984/0.9607, allocations: 3.208 MB / 0.6379 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006058/0.9614, allocations: 57.41 kB / 0.6379 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002431/0.9638, allocations: 3.301 MB / 0.6411 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001448/0.9653, allocations: 0.9145 MB / 0.642 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001994/0.9673, allocations: 1.234 MB / 0.6432 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.9674, allocations: 306.4 kB / 0.6435 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00409/0.9714, allocations: 2.434 MB / 0.6459 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005256/0.9767, allocations: 5.835 MB / 0.6516 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009609/0.9864, allocations: 8.973 MB / 0.6604 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/0.9865, allocations: 37.22 kB / 0.6604 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=817) (initialization): time 0.01563/1.002, allocations: 9.036 MB / 0.6692 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001514/1.002, allocations: 55.66 kB / 0.6693 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000275/1.003, allocations: 120.7 kB / 0.6694 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003588/1.006, allocations: 1.135 MB / 0.6705 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005441/1.012, allocations: 1.394 MB / 0.6719 GB, free: 106 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005516/1.017, allocations: 4.807 MB / 0.6766 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005162/1.022, allocations: 322.8 kB / 0.6769 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001479/1.024, allocations: 359.6 kB / 0.6772 GB, free: 103.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 748 * Array equations: 6 * 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): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.005005/1.029, allocations: 2.436 MB / 0.6796 GB, free: 102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008238/1.03, allocations: 308 kB / 0.6799 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007648/1.037, allocations: 4.495 MB / 0.6843 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.498e-05/1.037, allocations: 50.31 kB / 0.6843 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/1.038, allocations: 3.844 kB / 0.6843 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-05/1.038, allocations: 15.44 kB / 0.6843 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01919/1.057, allocations: 10.58 MB / 0.6947 GB, free: 92.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/1.057, allocations: 11.94 kB / 0.6947 GB, free: 92.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/1.058, allocations: 395.4 kB / 0.6951 GB, free: 92.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/1.06, allocations: 0.6857 MB / 0.6957 GB, free: 91.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003139/1.061, allocations: 43.98 kB / 0.6958 GB, free: 91.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/1.063, allocations: 2.571 MB / 0.6983 GB, free: 88.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.063, allocations: 11.94 kB / 0.6983 GB, free: 88.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008067/1.071, allocations: 6.878 MB / 0.705 GB, free: 81.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008373/1.072, allocations: 341.1 kB / 0.7053 GB, free: 81.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007247/1.072, allocations: 47.98 kB / 0.7054 GB, free: 81.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/1.074, allocations: 138.3 kB / 0.7055 GB, free: 81.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/1.074, allocations: 149.7 kB / 0.7057 GB, free: 80.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/1.075, allocations: 67.92 kB / 0.7057 GB, free: 80.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003013/1.078, allocations: 1.952 MB / 0.7076 GB, free: 78.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.078, allocations: 96 / 0.7076 GB, free: 78.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005227/1.083, allocations: 1.084 MB / 0.7087 GB, free: 77.82 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (197): * Single equations (assignments): 188 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000532/1.083, allocations: 185.5 kB / 0.7089 GB, free: 77.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008992/1.092, allocations: 5.964 MB / 0.7147 GB, free: 71.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.093, allocations: 12.12 kB / 0.7147 GB, free: 71.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003621/1.096, allocations: 2.443 MB / 0.7171 GB, free: 69.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/1.1, allocations: 477 kB / 0.7175 GB, free: 68.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/1.119, allocations: 11.26 MB / 0.7285 GB, free: 57.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005426/1.124, allocations: 3.755 MB / 0.7322 GB, free: 53.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004803/1.129, allocations: 2.064 MB / 0.7342 GB, free: 51.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/1.13, allocations: 247.4 kB / 0.7345 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of SimCode: time 9.61e-07/1.13, allocations: 0 / 0.7345 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.05633/1.187, allocations: 34.28 MB / 0.7679 GB, free: 17.09 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1)