Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00603/0.006035, allocations: 103.8 kB / 15.73 MB, free: 6.473 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.001185/0.001185, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.449/1.449, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.3846/0.3846, allocations: 38.01 MB / 307.9 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.001573/0.001573, allocations: 72.38 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4153, allocations: 56.46 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01364/0.429, allocations: 12.21 MB / 0.4899 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.4414, allocations: 4.016 MB / 0.4938 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003876/0.4454, allocations: 65.94 kB / 0.4939 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.4487, allocations: 1.193 MB / 0.4951 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006817/0.4555, allocations: 1.872 MB / 0.4969 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.4574, allocations: 498.5 kB / 0.4974 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008292/0.4657, allocations: 4.118 MB / 0.5014 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002929/0.4687, allocations: 1.863 MB / 0.5032 GB, free: 4.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002513/0.4712, allocations: 1.232 MB / 0.5044 GB, free: 3.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002553/0.4737, allocations: 1.756 MB / 0.5061 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000612/0.4744, allocations: 233.7 kB / 0.5064 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.4772, allocations: 1.1 MB / 0.5074 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.4788, allocations: 1.691 MB / 0.5091 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00213/0.4809, allocations: 1.951 MB / 0.511 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.4919, allocations: 6.498 MB / 0.5173 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.4919, allocations: 0.75 kB / 0.5173 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.4919, allocations: 4 kB / 0.5173 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003056/0.4923, allocations: 0 / 0.5173 GB, free: 11.06 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.01213/0.5044, allocations: 4.321 MB / 0.5216 GB, free: 6.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.5045, allocations: 15.89 kB / 0.5216 GB, free: 6.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.5158, allocations: 3.165 MB / 0.5247 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00591/0.5217, allocations: 2.181 MB / 0.5268 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.522, allocations: 189 kB / 0.527 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/0.5232, allocations: 343.6 kB / 0.5273 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/0.5452, allocations: 10.78 MB / 0.5378 GB, free: 5.551 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001933/0.5455, allocations: 31.75 kB / 0.5379 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001722/0.5472, allocations: 127.8 kB / 0.538 GB, free: 5.395 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004573/0.5518, allocations: 2.553 MB / 0.5405 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02513/0.5769, allocations: 10.29 MB / 0.5505 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06079/0.6378, allocations: 35.67 MB / 0.5854 GB, free: 3.996 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009145/0.647, allocations: 4.43 MB / 0.5897 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003612/0.6506, allocations: 2.201 MB / 0.5918 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0019/0.6526, allocations: 1.323 MB / 0.5931 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.347e-05/0.6527, allocations: 56.56 kB / 0.5932 GB, free: 11.53 MB / 478.1 MB Notification: Performance of pre-optimization done (n=245): time 5.791e-06/0.6527, allocations: 0 / 0.5932 GB, free: 11.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=261): time 0.04347/0.6962, allocations: 17.05 MB / 0.6098 GB, free: 10.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00148/0.6977, allocations: 1.622 MB / 0.6114 GB, free: 8.543 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005201/0.7029, allocations: 2.782 MB / 0.6141 GB, free: 5.746 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003779/0.7033, allocations: 61.69 kB / 0.6142 GB, free: 5.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00247/0.7058, allocations: 2.736 MB / 0.6169 GB, free: 2.902 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001402/0.7072, allocations: 0.9558 MB / 0.6178 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00277/0.71, allocations: 1.143 MB / 0.6189 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7102, allocations: 301.1 kB / 0.6192 GB, free: 492 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004571/0.7148, allocations: 2.479 MB / 0.6216 GB, free: 14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007639/0.7224, allocations: 5.529 MB / 0.627 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3354/1.058, allocations: 8.698 MB / 0.6355 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/1.058, allocations: 37.41 kB / 0.6355 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.02635/1.084, allocations: 9.865 MB / 0.6452 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.084, allocations: 55.06 kB / 0.6452 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01433/1.099, allocations: 4.907 MB / 0.65 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01069/1.11, allocations: 2.385 MB / 0.6524 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005089/1.115, allocations: 1.304 MB / 0.6536 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009304/1.124, allocations: 6.365 MB / 0.6598 GB, free: 114 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005393/1.129, allocations: 399.5 kB / 0.6602 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/1.131, allocations: 326.1 kB / 0.6605 GB, free: 113.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 24 (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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.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 (700): * Single equations (assignments): 688 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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 {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * 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 prepare postOptimizeDAE: time 0.00583/1.136, allocations: 2.113 MB / 0.6626 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007745/1.137, allocations: 279.4 kB / 0.6629 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009699/1.147, allocations: 5.441 MB / 0.6682 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007463/1.154, allocations: 4.699 MB / 0.6728 GB, free: 109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.782e-05/1.154, allocations: 5.844 kB / 0.6728 GB, free: 109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.804e-05/1.155, allocations: 11.95 kB / 0.6728 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02633/1.181, allocations: 14.7 MB / 0.6871 GB, free: 97.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.107e-05/1.181, allocations: 12.45 kB / 0.6872 GB, free: 97.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/1.183, allocations: 427.3 kB / 0.6876 GB, free: 97.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00379/1.187, allocations: 1.24 MB / 0.6888 GB, free: 95.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003746/1.187, allocations: 67.95 kB / 0.6888 GB, free: 95.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003997/1.191, allocations: 4.745 MB / 0.6935 GB, free: 90.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008436/1.192, allocations: 1.561 MB / 0.695 GB, free: 89.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/1.203, allocations: 8.153 MB / 0.703 GB, free: 80.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/1.204, allocations: 341.4 kB / 0.7033 GB, free: 80.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008233/1.205, allocations: 59.42 kB / 0.7033 GB, free: 80.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/1.207, allocations: 191.7 kB / 0.7035 GB, free: 80.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003757/1.208, allocations: 177.5 kB / 0.7037 GB, free: 80.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001895/1.208, allocations: 83.91 kB / 0.7038 GB, free: 79.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003184/1.211, allocations: 1.72 MB / 0.7054 GB, free: 78.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.211, allocations: 0 / 0.7054 GB, free: 78.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005592/1.217, allocations: 1.079 MB / 0.7065 GB, free: 77.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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 {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * 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.0006504/1.217, allocations: 212.3 kB / 0.7067 GB, free: 76.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009213/1.227, allocations: 6.633 MB / 0.7132 GB, free: 70.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.227, allocations: 4 kB / 0.7132 GB, free: 70.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003721/1.23, allocations: 2.9 MB / 0.716 GB, free: 67.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/1.233, allocations: 397.2 kB / 0.7164 GB, free: 66.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/1.25, allocations: 10.62 MB / 0.7268 GB, free: 56.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004253/1.254, allocations: 3.309 MB / 0.73 GB, free: 52.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00438/1.258, allocations: 2.111 MB / 0.7321 GB, free: 50.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.259, allocations: 227.4 kB / 0.7323 GB, free: 50.47 MB / 0.4981 GB Notification: Performance of SimCode: time 1.382e-06/1.259, allocations: 0 / 0.7323 GB, free: 50.47 MB / 0.4981 GB Notification: Performance of Templates: time 0.05798/1.317, allocations: 35.33 MB / 0.7668 GB, free: 15.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1)