Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.007927/0.007927, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.002282/0.002282, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.592/1.592, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.3882/0.3882, allocations: 39.94 MB / 309.8 MB, free: 9.355 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.001628/0.001628, allocations: 68.42 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3753, allocations: 56.87 MB / 492.7 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01273/0.3881, allocations: 12.22 MB / 0.493 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.3985, allocations: 4.003 MB / 0.497 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004011/0.4026, allocations: 61.75 kB / 0.497 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004806/0.4075, allocations: 1.196 MB / 0.4982 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007896/0.4154, allocations: 1.839 MB / 0.5 GB, free: 6.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.4176, allocations: 498.5 kB / 0.5005 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00722/0.4248, allocations: 4.121 MB / 0.5045 GB, free: 3.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002981/0.4278, allocations: 1.859 MB / 0.5063 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003003/0.4309, allocations: 1.225 MB / 0.5075 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003184/0.4341, allocations: 1.753 MB / 0.5092 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000812/0.4349, allocations: 233.8 kB / 0.5094 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.4376, allocations: 1.1 MB / 0.5105 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002013/0.4397, allocations: 1.691 MB / 0.5122 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003137/0.4428, allocations: 1.954 MB / 0.5141 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.4531, allocations: 6.493 MB / 0.5204 GB, free: 8.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.4531, allocations: 0 / 0.5204 GB, free: 8.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4531, allocations: 4 kB / 0.5204 GB, free: 8.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002111/0.4534, allocations: 0 / 0.5204 GB, free: 8.035 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.009674/0.463, allocations: 4.323 MB / 0.5246 GB, free: 3.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.4631, allocations: 11.89 kB / 0.5246 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.4748, allocations: 3.169 MB / 0.5277 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005618/0.4805, allocations: 2.174 MB / 0.5299 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.4807, allocations: 189 kB / 0.53 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001368/0.4821, allocations: 343.5 kB / 0.5304 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/0.5018, allocations: 10.79 MB / 0.5409 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.502, allocations: 35.66 kB / 0.5409 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004643/0.5025, allocations: 119.8 kB / 0.541 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004156/0.5066, allocations: 2.565 MB / 0.5436 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02223/0.5289, allocations: 10.28 MB / 0.5536 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06546/0.5944, allocations: 35.67 MB / 0.5884 GB, free: 0.875 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009161/0.6036, allocations: 4.422 MB / 0.5927 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003613/0.6073, allocations: 2.205 MB / 0.5949 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/0.6087, allocations: 1.323 MB / 0.5962 GB, free: 8.477 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.6087, allocations: 48.56 kB / 0.5962 GB, free: 8.422 MB / 478.1 MB Notification: Performance of pre-optimization done (n=245): time 5.29e-06/0.6088, allocations: 3.938 kB / 0.5962 GB, free: 8.418 MB / 478.1 MB Notification: Performance of matching and sorting (n=261): time 0.04262/0.6514, allocations: 17.06 MB / 0.6129 GB, free: 7.199 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001445/0.6529, allocations: 1.614 MB / 0.6145 GB, free: 5.422 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005347/0.6582, allocations: 2.782 MB / 0.6172 GB, free: 2.625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006607/0.6589, allocations: 65.69 kB / 0.6173 GB, free: 2.555 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002399/0.6613, allocations: 2.733 MB / 0.6199 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001499/0.6629, allocations: 0.9597 MB / 0.6209 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002904/0.6658, allocations: 1.139 MB / 0.622 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6659, allocations: 301.1 kB / 0.6223 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004334/0.6703, allocations: 2.486 MB / 0.6247 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007836/0.6781, allocations: 5.533 MB / 0.6301 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3403/1.018, allocations: 8.689 MB / 0.6386 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/1.019, allocations: 30.44 kB / 0.6386 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.03092/1.05, allocations: 9.87 MB / 0.6483 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/1.05, allocations: 51.47 kB / 0.6483 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01475/1.064, allocations: 4.915 MB / 0.6531 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0121/1.077, allocations: 2.379 MB / 0.6554 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004797/1.081, allocations: 1.306 MB / 0.6567 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009758/1.091, allocations: 6.358 MB / 0.6629 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00518/1.096, allocations: 405.4 kB / 0.6633 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/1.098, allocations: 327.1 kB / 0.6636 GB, free: 108.6 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.003949/1.101, allocations: 2.125 MB / 0.6657 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005405/1.102, allocations: 278.1 kB / 0.6659 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009584/1.112, allocations: 5.431 MB / 0.6713 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007919/1.12, allocations: 4.708 MB / 0.6758 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/1.12, allocations: 0 / 0.6758 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/1.12, allocations: 11.34 kB / 0.6759 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02197/1.142, allocations: 14.7 MB / 0.6902 GB, free: 90.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/1.142, allocations: 12 kB / 0.6902 GB, free: 90.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/1.143, allocations: 423.3 kB / 0.6906 GB, free: 89.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004093/1.147, allocations: 1.246 MB / 0.6918 GB, free: 88.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000267/1.148, allocations: 63.95 kB / 0.6919 GB, free: 88.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004066/1.152, allocations: 4.75 MB / 0.6965 GB, free: 83.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000856/1.153, allocations: 1.556 MB / 0.6981 GB, free: 81.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/1.164, allocations: 8.162 MB / 0.706 GB, free: 73.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009719/1.165, allocations: 338.3 kB / 0.7064 GB, free: 73.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003945/1.166, allocations: 59.97 kB / 0.7064 GB, free: 73.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.167, allocations: 195.5 kB / 0.7066 GB, free: 73.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003586/1.167, allocations: 173.5 kB / 0.7068 GB, free: 72.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/1.168, allocations: 83.91 kB / 0.7068 GB, free: 72.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002122/1.17, allocations: 1.713 MB / 0.7085 GB, free: 71.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.17, allocations: 0 / 0.7085 GB, free: 71.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004655/1.174, allocations: 1.093 MB / 0.7096 GB, free: 70 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.0005181/1.175, allocations: 200 kB / 0.7098 GB, free: 69.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00978/1.185, allocations: 6.647 MB / 0.7163 GB, free: 63.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.135e-05/1.185, allocations: 4 kB / 0.7163 GB, free: 63.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004587/1.189, allocations: 2.901 MB / 0.7191 GB, free: 60.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/1.192, allocations: 410.6 kB / 0.7195 GB, free: 59.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/1.21, allocations: 10.61 MB / 0.7299 GB, free: 48.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004025/1.214, allocations: 3.305 MB / 0.7331 GB, free: 45.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004132/1.218, allocations: 2.111 MB / 0.7351 GB, free: 43.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/1.219, allocations: 227.4 kB / 0.7354 GB, free: 43.31 MB / 0.4981 GB Notification: Performance of SimCode: time 1.213e-06/1.219, allocations: 0 / 0.7354 GB, free: 43.31 MB / 0.4981 GB Notification: Performance of Templates: time 0.05736/1.276, allocations: 35.33 MB / 0.7699 GB, free: 8.039 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1)