Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.007953/0.007953, allocations: 99.38 kB / 15.73 MB, free: 6.023 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.002401/0.002401, allocations: 187.6 kB / 16.67 MB, free: 5.961 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.42/1.42, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3312/0.3312, allocations: 38 MB / 307.9 MB, free: 10.31 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.1. 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.001513/0.001513, allocations: 75.91 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4307, allocations: 56.46 MB / 489.5 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01482/0.4456, allocations: 11.81 MB / 0.4895 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.4598, allocations: 4.06 MB / 0.4935 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004202/0.464, allocations: 59.81 kB / 0.4935 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003831/0.468, allocations: 1.174 MB / 0.4947 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009979/0.478, allocations: 1.751 MB / 0.4964 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.4808, allocations: 0.5627 MB / 0.497 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008052/0.4889, allocations: 3.962 MB / 0.5008 GB, free: 5.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002924/0.4919, allocations: 1.785 MB / 0.5026 GB, free: 4.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.4947, allocations: 1.169 MB / 0.5037 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00323/0.4979, allocations: 1.688 MB / 0.5054 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007244/0.4987, allocations: 216.5 kB / 0.5056 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003517/0.5022, allocations: 1.288 MB / 0.5068 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002411/0.5046, allocations: 1.597 MB / 0.5084 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003517/0.5082, allocations: 1.85 MB / 0.5102 GB, free: 56 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.5202, allocations: 6.24 MB / 0.5163 GB, free: 11.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.331e-05/0.5203, allocations: 5.375 kB / 0.5163 GB, free: 11.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5203, allocations: 0 / 0.5163 GB, free: 11.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003284/0.5207, allocations: 0 / 0.5163 GB, free: 11.8 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.01658/0.5372, allocations: 4.115 MB / 0.5203 GB, free: 8.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.5373, allocations: 15.89 kB / 0.5203 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02049/0.5578, allocations: 5.673 MB / 0.5259 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007474/0.5654, allocations: 2.267 MB / 0.5281 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.5656, allocations: 176.8 kB / 0.5282 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009594/0.5665, allocations: 307.6 kB / 0.5285 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/0.5887, allocations: 10.72 MB / 0.539 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-05/0.5889, allocations: 23.8 kB / 0.539 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004114/0.5893, allocations: 115.8 kB / 0.5391 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004119/0.5934, allocations: 2.467 MB / 0.5415 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02524/0.6187, allocations: 10.16 MB / 0.5515 GB, free: 7.602 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06631/0.6851, allocations: 35.5 MB / 0.5861 GB, free: 3.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/0.6983, allocations: 5.591 MB / 0.5916 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004305/0.7026, allocations: 2.341 MB / 0.5939 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002249/0.7049, allocations: 1.88 MB / 0.5957 GB, free: 8.848 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.705, allocations: 60.44 kB / 0.5958 GB, free: 8.781 MB / 478.1 MB Notification: Performance of pre-optimization done (n=224): time 5.991e-06/0.705, allocations: 0 / 0.5958 GB, free: 8.781 MB / 478.1 MB Notification: Performance of matching and sorting (n=231): time 0.03974/0.7447, allocations: 14.96 MB / 0.6104 GB, free: 9.699 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001925/0.7467, allocations: 1.618 MB / 0.612 GB, free: 7.918 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0061/0.7529, allocations: 2.798 MB / 0.6147 GB, free: 5.105 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007139/0.7536, allocations: 61.69 kB / 0.6148 GB, free: 5.039 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002531/0.7562, allocations: 2.677 MB / 0.6174 GB, free: 2.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001765/0.7579, allocations: 0.8481 MB / 0.6182 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002159/0.7601, allocations: 1.115 MB / 0.6193 GB, free: 340 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.7603, allocations: 305.1 kB / 0.6196 GB, free: 32 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004303/0.7646, allocations: 2.634 MB / 0.6222 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006718/0.7713, allocations: 5.632 MB / 0.6277 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4203/1.192, allocations: 8.952 MB / 0.6364 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001035/1.192, allocations: 29.22 kB / 0.6364 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.07937/1.271, allocations: 19.03 MB / 0.655 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.271, allocations: 50.31 kB / 0.6551 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04612/1.317, allocations: 12.02 MB / 0.6668 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04641/1.364, allocations: 10.28 MB / 0.6768 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004858/1.369, allocations: 1.317 MB / 0.6781 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02609/1.395, allocations: 18.21 MB / 0.6959 GB, free: 88.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005961/1.401, allocations: 435.5 kB / 0.6963 GB, free: 88.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/1.402, allocations: 317.8 kB / 0.6966 GB, free: 88.09 MB / 0.4981 GB 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.004218/1.406, allocations: 2.031 MB / 0.6986 GB, free: 86.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005339/1.407, allocations: 271.8 kB / 0.6989 GB, free: 85.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007568/1.414, allocations: 5.106 MB / 0.7039 GB, free: 80.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00613/1.421, allocations: 4.406 MB / 0.7082 GB, free: 76.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.421, allocations: 4 kB / 0.7082 GB, free: 76.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/1.421, allocations: 7.969 kB / 0.7082 GB, free: 76.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/1.441, allocations: 12.92 MB / 0.7208 GB, free: 63.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.441, allocations: 8 kB / 0.7208 GB, free: 63.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/1.443, allocations: 459.4 kB / 0.7212 GB, free: 62.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/1.446, allocations: 0.943 MB / 0.7222 GB, free: 62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/1.446, allocations: 47.98 kB / 0.7222 GB, free: 61.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005661/1.452, allocations: 5.826 MB / 0.7279 GB, free: 55.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008876/1.452, allocations: 1.556 MB / 0.7294 GB, free: 54.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.463, allocations: 7.74 MB / 0.737 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.464, allocations: 329.7 kB / 0.7373 GB, free: 46.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004668/1.465, allocations: 44 kB / 0.7373 GB, free: 46.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.466, allocations: 191.7 kB / 0.7375 GB, free: 45.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003976/1.467, allocations: 148.9 kB / 0.7376 GB, free: 45.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/1.467, allocations: 67.56 kB / 0.7377 GB, free: 45.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002703/1.469, allocations: 1.733 MB / 0.7394 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.469, allocations: 4 kB / 0.7394 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006733/1.476, allocations: 1.1 MB / 0.7405 GB, free: 42.81 MB / 0.4981 GB 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.0007515/1.477, allocations: 184 kB / 0.7407 GB, free: 42.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.489, allocations: 6.667 MB / 0.7472 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.489, allocations: 7.953 kB / 0.7472 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003177/1.492, allocations: 2.527 MB / 0.7496 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/1.494, allocations: 378.5 kB / 0.75 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/1.512, allocations: 9.834 MB / 0.7596 GB, free: 23.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002905/1.515, allocations: 3.167 MB / 0.7627 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004022/1.519, allocations: 2.06 MB / 0.7647 GB, free: 17.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006753/1.519, allocations: 215.4 kB / 0.7649 GB, free: 17.58 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/1.519, allocations: 0 / 0.7649 GB, free: 17.58 MB / 0.4981 GB Notification: Performance of Templates: time 0.08089/1.6, allocations: 43.91 MB / 0.8078 GB, free: 5.711 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1)