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.001053/0.001054, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001266/0.001266, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.3754/0.3754, allocations: 39.98 MB / 310.4 MB, free: 9.637 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.000577/0.0005771, allocations: 19.98 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1407, allocations: 57.96 MB / 436.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.3018/0.4425, allocations: 26.72 MB / 463.5 MB, free: 33.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01627/0.4589, allocations: 6.499 MB / 470 MB, free: 32.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006921/0.4658, allocations: 115.1 kB / 470.1 MB, free: 32.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005166/0.4711, allocations: 1.279 MB / 471.4 MB, free: 32.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01348/0.4846, allocations: 4.056 MB / 475.5 MB, free: 31.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.4867, allocations: 412.3 kB / 475.9 MB, free: 31.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005436/0.4921, allocations: 4.367 MB / 480.2 MB, free: 31.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003178/0.4953, allocations: 2.216 MB / 482.5 MB, free: 30.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.4973, allocations: 1.071 MB / 483.5 MB, free: 29.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002508/0.4998, allocations: 1.746 MB / 485.3 MB, free: 29.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005094/0.5003, allocations: 133.6 kB / 485.4 MB, free: 29.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.5024, allocations: 0.9014 MB / 486.3 MB, free: 29.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0015/0.5039, allocations: 1.577 MB / 487.9 MB, free: 28.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008105/0.5048, allocations: 0.7649 MB / 488.6 MB, free: 28.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008066/0.5128, allocations: 4.907 MB / 493.6 MB, free: 27.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.5129, allocations: 6 kB / 493.6 MB, free: 27.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.418e-06/0.5129, allocations: 0 / 493.6 MB, free: 27.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003649/0.5133, allocations: 0 / 493.6 MB, free: 27.55 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.01082/0.5241, allocations: 3.608 MB / 497.2 MB, free: 25.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.5242, allocations: 9.656 kB / 497.2 MB, free: 25.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.5361, allocations: 3.257 MB / 0.4887 GB, free: 24.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006762/0.5429, allocations: 2.138 MB / 0.4908 GB, free: 23.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002201/0.5431, allocations: 188.2 kB / 0.491 GB, free: 23.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001545/0.5447, allocations: 340.9 kB / 0.4913 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01997/0.5647, allocations: 10.77 MB / 0.5018 GB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.106e-05/0.5648, allocations: 34.84 kB / 0.5018 GB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004224/0.5652, allocations: 120.1 kB / 0.502 GB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004138/0.5694, allocations: 2.564 MB / 0.5045 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02096/0.5904, allocations: 10.24 MB / 0.5145 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05775/0.6481, allocations: 35.86 MB / 0.5495 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009654/0.6579, allocations: 4.422 MB / 0.5538 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003603/0.6615, allocations: 2.193 MB / 0.556 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/0.6628, allocations: 1.315 MB / 0.5572 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.6628, allocations: 64.55 kB / 0.5573 GB, free: 10.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=245): time 4.589e-06/0.6628, allocations: 0 / 0.5573 GB, free: 10.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=261): time 0.04178/0.7046, allocations: 17.03 MB / 0.5739 GB, free: 9.441 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001435/0.7061, allocations: 1.531 MB / 0.5754 GB, free: 7.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005229/0.7114, allocations: 2.759 MB / 0.5781 GB, free: 4.977 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008226/0.7122, allocations: 57.7 kB / 0.5782 GB, free: 4.914 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002841/0.7151, allocations: 2.744 MB / 0.5808 GB, free: 2.129 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001929/0.717, allocations: 0.9597 MB / 0.5818 GB, free: 1.156 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.7173, allocations: 108 kB / 0.5819 GB, free: 1.051 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004471/0.7178, allocations: 0.5539 MB / 0.5824 GB, free: 500 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004144/0.7219, allocations: 2.463 MB / 0.5848 GB, free: 14.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00732/0.7293, allocations: 5.509 MB / 0.5902 GB, free: 7.023 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006394/0.7357, allocations: 3.673 MB / 0.5938 GB, free: 3.352 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.753e-05/0.7358, allocations: 32 kB / 0.5938 GB, free: 3.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.02486/0.7607, allocations: 9.825 MB / 0.6034 GB, free: 9.465 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.7608, allocations: 59.89 kB / 0.6035 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01344/0.7743, allocations: 4.89 MB / 0.6083 GB, free: 4.504 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01028/0.7846, allocations: 2.39 MB / 0.6106 GB, free: 2.098 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005105/0.7897, allocations: 1.306 MB / 0.6119 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00876/0.7985, allocations: 5.841 MB / 0.6176 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005775/0.8044, allocations: 403.6 kB / 0.618 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001466/0.8059, allocations: 328 kB / 0.6183 GB, free: 9.973 MB / 494.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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006178/0.8121, allocations: 2.121 MB / 0.6203 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007437/0.8128, allocations: 276.3 kB / 0.6206 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/0.8233, allocations: 5.436 MB / 0.6259 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2967/1.12, allocations: 4.685 MB / 0.6305 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.12, allocations: 2.531 kB / 0.6305 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.096e-05/1.12, allocations: 9.562 kB / 0.6305 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02508/1.145, allocations: 14.71 MB / 0.6449 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/1.145, allocations: 9.344 kB / 0.6449 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/1.147, allocations: 424 kB / 0.6453 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003618/1.151, allocations: 1.245 MB / 0.6465 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/1.151, allocations: 70.73 kB / 0.6466 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003807/1.155, allocations: 4.445 MB / 0.6509 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008246/1.155, allocations: 1.464 MB / 0.6523 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/1.169, allocations: 8.139 MB / 0.6603 GB, free: 132 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/1.17, allocations: 339 kB / 0.6606 GB, free: 131.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005145/1.171, allocations: 54.62 kB / 0.6607 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/1.173, allocations: 207.2 kB / 0.6609 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004175/1.173, allocations: 163.8 kB / 0.661 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/1.173, allocations: 79.8 kB / 0.6611 GB, free: 131.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00334/1.177, allocations: 1.687 MB / 0.6627 GB, free: 131.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/1.177, allocations: 0 / 0.6627 GB, free: 131.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005659/1.182, allocations: 1.082 MB / 0.6638 GB, free: 131.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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005728/1.183, allocations: 195.7 kB / 0.664 GB, free: 130.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01407/1.197, allocations: 6.547 MB / 0.6704 GB, free: 128.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.63e-05/1.197, allocations: 2.031 kB / 0.6704 GB, free: 128.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005247/1.202, allocations: 2.894 MB / 0.6732 GB, free: 127.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003693/1.206, allocations: 388.3 kB / 0.6736 GB, free: 127.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02181/1.228, allocations: 12.59 MB / 0.6859 GB, free: 120.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003976/1.232, allocations: 3.307 MB / 0.6891 GB, free: 119.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005413/1.237, allocations: 2.114 MB / 0.6912 GB, free: 117.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000781/1.238, allocations: 227.3 kB / 0.6914 GB, free: 117.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.493e-06/1.238, allocations: 0 / 0.6914 GB, free: 117.5 MB / 494.1 MB Notification: Performance of Templates: time 0.06126/1.299, allocations: 35.03 MB / 0.7256 GB, free: 82.61 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: