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.001628/0.001628, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.445/1.445, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.3211/0.3211, allocations: 39.94 MB / 309.7 MB, free: 9.281 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.001496/0.001496, allocations: 71.91 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1358, allocations: 56.89 MB / 434.5 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01208/0.1479, allocations: 12.2 MB / 446.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008782/0.1567, allocations: 4.008 MB / 450.7 MB, free: 3.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.1595, allocations: 63.88 kB / 450.8 MB, free: 3.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003141/0.1627, allocations: 1.191 MB / 452 MB, free: 2.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005869/0.1687, allocations: 1.841 MB / 453.8 MB, free: 280 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2576/0.4262, allocations: 490.2 kB / 454.3 MB, free: 36.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005223/0.4315, allocations: 4.117 MB / 458.4 MB, free: 36.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002214/0.4338, allocations: 1.855 MB / 460.3 MB, free: 36.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.4356, allocations: 1.227 MB / 461.5 MB, free: 36.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.4377, allocations: 1.757 MB / 463.2 MB, free: 36.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006291/0.4384, allocations: 233.8 kB / 463.5 MB, free: 36.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.4408, allocations: 1.102 MB / 464.6 MB, free: 36.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.4422, allocations: 1.685 MB / 466.3 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001782/0.444, allocations: 1.968 MB / 468.2 MB, free: 34.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005866/0.4499, allocations: 6.194 MB / 474.4 MB, free: 33.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.4499, allocations: 0 / 474.4 MB, free: 33.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.45, allocations: 0 / 474.4 MB, free: 33.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000175/0.4501, allocations: 0 / 474.4 MB, free: 33.02 MB / 382.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.009135/0.4593, allocations: 4.322 MB / 478.7 MB, free: 30.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.4594, allocations: 13.11 kB / 478.8 MB, free: 30.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.4708, allocations: 3.166 MB / 481.9 MB, free: 30.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005591/0.4764, allocations: 2.16 MB / 484.1 MB, free: 29.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.4766, allocations: 189.5 kB / 484.3 MB, free: 29.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/0.4777, allocations: 348.8 kB / 484.6 MB, free: 29.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/0.4971, allocations: 10.78 MB / 495.4 MB, free: 24.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.4972, allocations: 39.89 kB / 495.4 MB, free: 24.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004101/0.4977, allocations: 118 kB / 495.5 MB, free: 24.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004719/0.5024, allocations: 2.559 MB / 498.1 MB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02058/0.523, allocations: 10.29 MB / 0.4965 GB, free: 21.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05389/0.5769, allocations: 35.88 MB / 0.5315 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008341/0.5853, allocations: 4.427 MB / 0.5358 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003292/0.5886, allocations: 2.207 MB / 0.538 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/0.5899, allocations: 1.314 MB / 0.5393 GB, free: 9.051 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.5901, allocations: 52.56 kB / 0.5393 GB, free: 8.988 MB / 414.1 MB Notification: Performance of pre-optimization done (n=245): time 6.402e-06/0.5901, allocations: 0 / 0.5393 GB, free: 8.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=261): time 0.04003/0.6301, allocations: 17.06 MB / 0.556 GB, free: 7.801 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001444/0.6316, allocations: 1.622 MB / 0.5576 GB, free: 6.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003965/0.6356, allocations: 2.778 MB / 0.5603 GB, free: 3.219 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003758/0.636, allocations: 59.03 kB / 0.5603 GB, free: 3.156 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001683/0.6377, allocations: 2.739 MB / 0.563 GB, free: 424 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001078/0.6388, allocations: 0.9625 MB / 0.5639 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001807/0.6406, allocations: 1.139 MB / 0.5651 GB, free: 14.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.6407, allocations: 301.1 kB / 0.5653 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003539/0.6443, allocations: 2.482 MB / 0.5678 GB, free: 11.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005737/0.65, allocations: 5.528 MB / 0.5732 GB, free: 4.523 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/0.6612, allocations: 8.695 MB / 0.5817 GB, free: 10.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/0.6613, allocations: 32 kB / 0.5817 GB, free: 10.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.02455/0.6859, allocations: 9.873 MB / 0.5913 GB, free: 452 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.059e-05/0.686, allocations: 56.25 kB / 0.5914 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01445/0.7005, allocations: 4.909 MB / 0.5962 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.012/0.7125, allocations: 2.382 MB / 0.5985 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005091/0.7177, allocations: 1.306 MB / 0.5998 GB, free: 7.762 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.728, allocations: 6.375 MB / 0.606 GB, free: 1.109 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00538/0.7334, allocations: 399.6 kB / 0.6064 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001271/0.7347, allocations: 332 kB / 0.6067 GB, free: 404 kB / 478.1 MB 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.006093/0.7408, allocations: 2.109 MB / 0.6088 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007524/0.7416, allocations: 280.3 kB / 0.609 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/0.7523, allocations: 5.45 MB / 0.6144 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009717/0.7621, allocations: 4.688 MB / 0.6189 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/0.7621, allocations: 3.938 kB / 0.6189 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.007e-05/0.7622, allocations: 11.91 kB / 0.6189 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3045/1.067, allocations: 14.76 MB / 0.6334 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/1.067, allocations: 9.438 kB / 0.6334 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/1.069, allocations: 422.5 kB / 0.6338 GB, free: 143.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00437/1.073, allocations: 1.244 MB / 0.635 GB, free: 143.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003997/1.073, allocations: 67.91 kB / 0.6351 GB, free: 143.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004727/1.078, allocations: 4.744 MB / 0.6397 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008781/1.079, allocations: 1.551 MB / 0.6412 GB, free: 138.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/1.093, allocations: 8.164 MB / 0.6492 GB, free: 136 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.094, allocations: 336.5 kB / 0.6495 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005213/1.095, allocations: 56.33 kB / 0.6495 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/1.097, allocations: 198.8 kB / 0.6497 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006796/1.097, allocations: 173.1 kB / 0.6499 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002459/1.098, allocations: 78.38 kB / 0.65 GB, free: 135.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003881/1.102, allocations: 1.715 MB / 0.6516 GB, free: 135.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/1.102, allocations: 0 / 0.6516 GB, free: 135.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00627/1.108, allocations: 1.091 MB / 0.6527 GB, free: 135.1 MB / 494.1 MB 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.0006328/1.108, allocations: 190.4 kB / 0.6529 GB, free: 135 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02161/1.13, allocations: 10.34 MB / 0.663 GB, free: 132.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.677e-05/1.13, allocations: 3.906 kB / 0.663 GB, free: 132.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006695/1.137, allocations: 2.908 MB / 0.6658 GB, free: 131.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/1.14, allocations: 395.5 kB / 0.6662 GB, free: 131.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/1.16, allocations: 10.73 MB / 0.6767 GB, free: 126.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00472/1.164, allocations: 3.308 MB / 0.6799 GB, free: 123.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005264/1.17, allocations: 2.109 MB / 0.682 GB, free: 122.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008477/1.171, allocations: 229.7 kB / 0.6822 GB, free: 122.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.273e-06/1.171, allocations: 0 / 0.6822 GB, free: 122.1 MB / 494.1 MB Notification: Performance of Templates: time 0.09213/1.263, allocations: 37.64 MB / 0.719 GB, free: 85.25 MB / 494.1 MB 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)