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.001228/0.001228, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001625/0.001625, allocations: 177.3 kB / 15.95 MB, free: 216 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.465/1.465, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3461/0.3461, allocations: 40 MB / 310.4 MB, free: 9.664 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.0005931/0.0005932, allocations: 16 kB / 378.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1276, allocations: 57.95 MB / 436.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.2354/0.363, allocations: 25.3 MB / 462.1 MB, free: 33.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01491/0.378, allocations: 6.724 MB / 468.8 MB, free: 32.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004767/0.3828, allocations: 121.1 kB / 468.9 MB, free: 32.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004066/0.3869, allocations: 1.292 MB / 470.2 MB, free: 32.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01281/0.3997, allocations: 3.942 MB / 474.1 MB, free: 32.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.4017, allocations: 396.8 kB / 474.5 MB, free: 32.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004492/0.4062, allocations: 2.21 MB / 476.7 MB, free: 32.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003627/0.4099, allocations: 2.206 MB / 478.9 MB, free: 31.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.4118, allocations: 0.8914 MB / 479.8 MB, free: 31.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.4136, allocations: 1.243 MB / 481.1 MB, free: 30.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005555/0.4142, allocations: 133.9 kB / 481.2 MB, free: 30.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.416, allocations: 0.8796 MB / 482.1 MB, free: 30.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.4172, allocations: 1.465 MB / 483.6 MB, free: 30.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007913/0.418, allocations: 0.7802 MB / 484.3 MB, free: 29.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005189/0.4232, allocations: 4.908 MB / 489.2 MB, free: 28.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4232, allocations: 0 / 489.2 MB, free: 28.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4232, allocations: 0 / 489.2 MB, free: 28.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002077/0.4235, allocations: 0 / 489.2 MB, free: 28.77 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.007574/0.431, allocations: 3.689 MB / 492.9 MB, free: 26.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4311, allocations: 9.859 kB / 492.9 MB, free: 26.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01529/0.4464, allocations: 3.861 MB / 496.8 MB, free: 26.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008772/0.4552, allocations: 2.42 MB / 499.2 MB, free: 25.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/0.4556, allocations: 189.8 kB / 499.4 MB, free: 24.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002344/0.4579, allocations: 344.5 kB / 499.7 MB, free: 24.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/0.4777, allocations: 10.84 MB / 0.4986 GB, free: 18.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.877e-05/0.4778, allocations: 28.22 kB / 0.4986 GB, free: 18.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004462/0.4783, allocations: 119.7 kB / 0.4988 GB, free: 18.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004288/0.4826, allocations: 2.554 MB / 0.5013 GB, free: 17.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01967/0.5023, allocations: 10.34 MB / 0.5113 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05988/0.5622, allocations: 36 MB / 0.5465 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008815/0.5711, allocations: 4.425 MB / 0.5508 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/0.5726, allocations: 1.319 MB / 0.5521 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.5726, allocations: 60.56 kB / 0.5522 GB, free: 15.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=245): time 6.322e-06/0.5727, allocations: 0 / 0.5522 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=261): time 0.04882/0.6215, allocations: 17.62 MB / 0.5694 GB, free: 13.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001441/0.623, allocations: 1.55 MB / 0.5709 GB, free: 11.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005655/0.6287, allocations: 3.006 MB / 0.5738 GB, free: 8.941 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006913/0.6294, allocations: 61.7 kB / 0.5739 GB, free: 8.875 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002398/0.6318, allocations: 2.736 MB / 0.5766 GB, free: 6.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001568/0.6334, allocations: 0.9558 MB / 0.5775 GB, free: 5.129 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008371/0.6343, allocations: 112 kB / 0.5776 GB, free: 5.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005905/0.6349, allocations: 0.5498 MB / 0.5781 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004616/0.6395, allocations: 2.459 MB / 0.5805 GB, free: 1.996 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007325/0.6469, allocations: 5.489 MB / 0.5859 GB, free: 11.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006852/0.6537, allocations: 3.673 MB / 0.5895 GB, free: 7.348 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/0.6539, allocations: 28 kB / 0.5895 GB, free: 7.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02746/0.6814, allocations: 9.817 MB / 0.5991 GB, free: 13.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.6816, allocations: 68.12 kB / 0.5992 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01586/0.6974, allocations: 4.898 MB / 0.6039 GB, free: 8.496 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/0.7091, allocations: 2.39 MB / 0.6063 GB, free: 6.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004942/0.7141, allocations: 1.295 MB / 0.6075 GB, free: 4.793 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009094/0.7232, allocations: 6.161 MB / 0.6136 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004942/0.7282, allocations: 403.6 kB / 0.6139 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001305/0.7296, allocations: 328 kB / 0.6143 GB, free: 13.66 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 (692): * Single equations (assignments): 680 * 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.005245/0.7348, allocations: 2.106 MB / 0.6163 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008757/0.7357, allocations: 284.2 kB / 0.6166 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/0.7478, allocations: 5.44 MB / 0.6219 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01075/0.7586, allocations: 4.676 MB / 0.6265 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.336e-05/0.7586, allocations: 7.953 kB / 0.6265 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.316e-05/0.7587, allocations: 7.969 kB / 0.6265 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.238/0.9967, allocations: 14.74 MB / 0.6409 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/0.9968, allocations: 12.77 kB / 0.6409 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/0.9985, allocations: 426.6 kB / 0.6413 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004189/1.003, allocations: 1.248 MB / 0.6425 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003358/1.003, allocations: 66.2 kB / 0.6426 GB, free: 141.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003748/1.007, allocations: 4.521 MB / 0.647 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007298/1.008, allocations: 1.484 MB / 0.6484 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/1.022, allocations: 8.966 MB / 0.6572 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.023, allocations: 353.7 kB / 0.6575 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006132/1.023, allocations: 56.36 kB / 0.6576 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/1.025, allocations: 201.8 kB / 0.6578 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004172/1.025, allocations: 170.9 kB / 0.6579 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/1.026, allocations: 77.33 kB / 0.658 GB, free: 132.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003811/1.029, allocations: 1.87 MB / 0.6598 GB, free: 132 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.81e-07/1.03, allocations: 3.719 kB / 0.6598 GB, free: 132 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005257/1.035, allocations: 1.101 MB / 0.6609 GB, free: 131.9 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.0006952/1.035, allocations: 216.3 kB / 0.6611 GB, free: 131.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01229/1.048, allocations: 6.512 MB / 0.6675 GB, free: 129.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/1.048, allocations: 1.125 kB / 0.6675 GB, free: 129.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005626/1.053, allocations: 2.889 MB / 0.6703 GB, free: 128.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/1.056, allocations: 346.7 kB / 0.6706 GB, free: 128.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/1.074, allocations: 12.55 MB / 0.6829 GB, free: 121.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003056/1.077, allocations: 3.395 MB / 0.6862 GB, free: 120.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004292/1.082, allocations: 2.116 MB / 0.6883 GB, free: 119.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007458/1.082, allocations: 227.4 kB / 0.6885 GB, free: 119.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.613e-06/1.082, allocations: 0 / 0.6885 GB, free: 119.5 MB / 494.1 MB Notification: Performance of Templates: time 0.05682/1.139, allocations: 35.79 MB / 0.7234 GB, free: 83.8 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: