Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008825/0.0008826, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005991/0.005991, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.569/1.569, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.3428/0.3428, allocations: 39.99 MB / 310.7 MB, free: 9.453 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.000756/0.0007562, allocations: 12.66 kB / 379.5 MB, free: 12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1307, allocations: 57.96 MB / 437.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.344/0.4747, allocations: 24.86 MB / 462.3 MB, free: 34.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01555/0.4903, allocations: 6.324 MB / 468.6 MB, free: 33.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005193/0.4956, allocations: 103.2 kB / 468.7 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.4969, allocations: 424.3 kB / 469.1 MB, free: 33.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003929/0.5008, allocations: 1.648 MB / 470.8 MB, free: 33.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.5021, allocations: 0.5062 MB / 471.3 MB, free: 33.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005551/0.5077, allocations: 5.426 MB / 476.7 MB, free: 32.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003488/0.5112, allocations: 2.263 MB / 479 MB, free: 31.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.5129, allocations: 0.9404 MB / 479.9 MB, free: 31.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.5152, allocations: 1.698 MB / 481.6 MB, free: 30.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006942/0.5159, allocations: 126.7 kB / 481.7 MB, free: 30.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.5184, allocations: 1.298 MB / 483 MB, free: 30.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001826/0.5202, allocations: 1.529 MB / 484.5 MB, free: 30.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003092/0.5233, allocations: 1.769 MB / 486.3 MB, free: 28.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008516/0.5318, allocations: 5.804 MB / 492.1 MB, free: 27.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5319, allocations: 0.6094 kB / 492.1 MB, free: 27.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5319, allocations: 0 / 492.1 MB, free: 27.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002918/0.5322, allocations: 0 / 492.1 MB, free: 27.3 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.01105/0.5432, allocations: 3.389 MB / 495.5 MB, free: 25.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.5433, allocations: 9.812 kB / 495.5 MB, free: 25.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02121/0.5645, allocations: 5.773 MB / 0.4895 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00605/0.5706, allocations: 2.254 MB / 0.4917 GB, free: 22.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000272/0.5709, allocations: 179.6 kB / 0.4919 GB, free: 22.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001906/0.5728, allocations: 313.1 kB / 0.4922 GB, free: 22.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02316/0.596, allocations: 10.73 MB / 0.5027 GB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.5962, allocations: 29.84 kB / 0.5027 GB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000422/0.5966, allocations: 112.7 kB / 0.5028 GB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003647/0.6003, allocations: 2.458 MB / 0.5052 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01899/0.6193, allocations: 10.19 MB / 0.5152 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05677/0.6761, allocations: 35.69 MB / 0.55 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/0.6875, allocations: 5.593 MB / 0.5555 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003117/0.6907, allocations: 2.334 MB / 0.5578 GB, free: 9.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001526/0.6922, allocations: 1.877 MB / 0.5596 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.6923, allocations: 56.5 kB / 0.5597 GB, free: 7.504 MB / 430.1 MB Notification: Performance of pre-optimization done (n=224): time 6.632e-06/0.6923, allocations: 0 / 0.5597 GB, free: 7.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.03563/0.7279, allocations: 14.97 MB / 0.5743 GB, free: 8.434 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001371/0.7294, allocations: 1.523 MB / 0.5758 GB, free: 6.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004741/0.7341, allocations: 2.814 MB / 0.5785 GB, free: 3.922 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005508/0.7347, allocations: 56.2 kB / 0.5786 GB, free: 3.863 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002427/0.7371, allocations: 2.676 MB / 0.5812 GB, free: 1.184 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001349/0.7385, allocations: 0.8508 MB / 0.582 GB, free: 348 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000796/0.7393, allocations: 490.4 kB / 0.5825 GB, free: 15.85 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.7394, allocations: 305.1 kB / 0.5828 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003951/0.7434, allocations: 2.634 MB / 0.5853 GB, free: 12.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00609/0.7495, allocations: 5.64 MB / 0.5908 GB, free: 5.801 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/0.7619, allocations: 8.941 MB / 0.5996 GB, free: 11.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.609e-05/0.762, allocations: 32 kB / 0.5996 GB, free: 11.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06737/0.8294, allocations: 19.04 MB / 0.6182 GB, free: 8.293 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.154e-05/0.8295, allocations: 48 kB / 0.6182 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3211/1.151, allocations: 12.02 MB / 0.63 GB, free: 141.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04807/1.199, allocations: 10.28 MB / 0.64 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004923/1.204, allocations: 1.315 MB / 0.6413 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02753/1.231, allocations: 16.03 MB / 0.657 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005324/1.237, allocations: 439.1 kB / 0.6574 GB, free: 137.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000994/1.238, allocations: 315.7 kB / 0.6577 GB, free: 137.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * 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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (661): * Single equations (assignments): 650 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.005382/1.243, allocations: 2.03 MB / 0.6597 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000814/1.244, allocations: 276.8 kB / 0.6599 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009953/1.254, allocations: 5.105 MB / 0.6649 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008143/1.262, allocations: 4.406 MB / 0.6692 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/1.262, allocations: 7.109 kB / 0.6692 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.609e-05/1.262, allocations: 7.969 kB / 0.6692 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02071/1.283, allocations: 12.94 MB / 0.6819 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/1.283, allocations: 7.094 kB / 0.6819 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/1.285, allocations: 466.8 kB / 0.6823 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002785/1.288, allocations: 0.9342 MB / 0.6832 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002868/1.288, allocations: 54.66 kB / 0.6833 GB, free: 124.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00529/1.293, allocations: 5.472 MB / 0.6886 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007431/1.294, allocations: 1.453 MB / 0.69 GB, free: 117.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/1.304, allocations: 7.734 MB / 0.6976 GB, free: 109.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009026/1.305, allocations: 335.2 kB / 0.6979 GB, free: 109.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003638/1.306, allocations: 44.64 kB / 0.698 GB, free: 109.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/1.307, allocations: 191.7 kB / 0.6981 GB, free: 109.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000376/1.307, allocations: 144.9 kB / 0.6983 GB, free: 109.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/1.308, allocations: 74.8 kB / 0.6983 GB, free: 109.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002646/1.31, allocations: 1.725 MB / 0.7 GB, free: 107.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.242e-06/1.31, allocations: 0 / 0.7 GB, free: 107.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005454/1.316, allocations: 1.111 MB / 0.7011 GB, free: 106.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005306/1.316, allocations: 190.3 kB / 0.7013 GB, free: 106.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0104/1.327, allocations: 6.626 MB / 0.7078 GB, free: 99.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.327, allocations: 0 / 0.7078 GB, free: 99.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003275/1.33, allocations: 2.528 MB / 0.7102 GB, free: 96.97 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004945/1.335, allocations: 363.5 kB / 0.7106 GB, free: 96.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/1.351, allocations: 12 MB / 0.7223 GB, free: 84.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00286/1.354, allocations: 3.167 MB / 0.7254 GB, free: 81.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004336/1.358, allocations: 2.056 MB / 0.7274 GB, free: 79.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006828/1.359, allocations: 215.4 kB / 0.7276 GB, free: 79.04 MB / 494.1 MB Notification: Performance of SimCode: time 1.713e-06/1.359, allocations: 0 / 0.7276 GB, free: 79.04 MB / 494.1 MB Notification: Performance of Templates: time 0.06998/1.429, allocations: 44.04 MB / 0.7706 GB, free: 35.02 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) Environment - environmentSimulation: