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.005702/0.005702, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001517/0.001517, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.47/1.47, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.2989/0.2989, allocations: 37.99 MB / 307.9 MB, free: 10.04 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.001749/0.001749, allocations: 72.38 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3791, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01318/0.3923, allocations: 11.81 MB / 0.4895 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.4037, allocations: 4.061 MB / 0.4935 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004109/0.4079, allocations: 60.19 kB / 0.4935 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003839/0.4118, allocations: 1.172 MB / 0.4947 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006874/0.4187, allocations: 1.752 MB / 0.4964 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.4209, allocations: 0.5601 MB / 0.497 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008877/0.4298, allocations: 3.963 MB / 0.5008 GB, free: 5.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002963/0.4328, allocations: 1.785 MB / 0.5026 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0027/0.4355, allocations: 1.164 MB / 0.5037 GB, free: 3.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003047/0.4386, allocations: 1.683 MB / 0.5053 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000615/0.4392, allocations: 218.2 kB / 0.5056 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.4423, allocations: 1.288 MB / 0.5068 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001642/0.444, allocations: 1.596 MB / 0.5084 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002096/0.4461, allocations: 1.855 MB / 0.5102 GB, free: 120 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.4562, allocations: 6.268 MB / 0.5163 GB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.4563, allocations: 1.188 kB / 0.5163 GB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4563, allocations: 0 / 0.5163 GB, free: 11.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002603/0.4566, allocations: 0 / 0.5163 GB, free: 11.84 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.01252/0.4691, allocations: 4.229 MB / 0.5204 GB, free: 7.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.701e-05/0.4692, allocations: 15.89 kB / 0.5204 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01931/0.4885, allocations: 5.703 MB / 0.526 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006578/0.4951, allocations: 2.268 MB / 0.5282 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.4953, allocations: 180.8 kB / 0.5284 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001399/0.4967, allocations: 307.6 kB / 0.5287 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02184/0.5186, allocations: 10.74 MB / 0.5392 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.487e-05/0.5187, allocations: 19.81 kB / 0.5392 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003822/0.5191, allocations: 111.8 kB / 0.5393 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003978/0.5231, allocations: 2.471 MB / 0.5417 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02078/0.5439, allocations: 10.15 MB / 0.5516 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06021/0.6041, allocations: 35.58 MB / 0.5864 GB, free: 2.977 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/0.6163, allocations: 5.583 MB / 0.5918 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00357/0.6199, allocations: 2.345 MB / 0.5941 GB, free: 10.81 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00186/0.6218, allocations: 1.876 MB / 0.596 GB, free: 8.602 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.6218, allocations: 56.5 kB / 0.596 GB, free: 8.539 MB / 478.1 MB Notification: Performance of pre-optimization done (n=224): time 6.011e-06/0.6218, allocations: 0 / 0.596 GB, free: 8.539 MB / 478.1 MB Notification: Performance of matching and sorting (n=231): time 0.03785/0.6597, allocations: 15.04 MB / 0.6107 GB, free: 9.391 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001682/0.6614, allocations: 1.606 MB / 0.6123 GB, free: 7.621 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00502/0.6665, allocations: 2.819 MB / 0.615 GB, free: 4.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009713/0.6675, allocations: 57.69 kB / 0.6151 GB, free: 4.727 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002609/0.6701, allocations: 2.784 MB / 0.6178 GB, free: 1.914 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00136/0.6715, allocations: 0.8952 MB / 0.6187 GB, free: 1.012 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001763/0.6732, allocations: 1.12 MB / 0.6198 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6734, allocations: 301.1 kB / 0.62 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003972/0.6774, allocations: 2.634 MB / 0.6226 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006285/0.6837, allocations: 5.64 MB / 0.6281 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3777/1.061, allocations: 8.937 MB / 0.6369 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/1.062, allocations: 29.91 kB / 0.6369 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.07258/1.134, allocations: 19.05 MB / 0.6555 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.861e-05/1.134, allocations: 49.72 kB / 0.6555 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04596/1.18, allocations: 12.02 MB / 0.6673 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04582/1.226, allocations: 10.29 MB / 0.6773 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004592/1.231, allocations: 1.311 MB / 0.6786 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0263/1.257, allocations: 18.22 MB / 0.6964 GB, free: 88.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005801/1.263, allocations: 435.5 kB / 0.6968 GB, free: 87.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008783/1.264, allocations: 327.8 kB / 0.6971 GB, free: 87.55 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.004124/1.268, allocations: 2.013 MB / 0.6991 GB, free: 85.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000578/1.269, allocations: 285 kB / 0.6994 GB, free: 85.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007561/1.276, allocations: 5.118 MB / 0.7044 GB, free: 80.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005954/1.282, allocations: 4.409 MB / 0.7087 GB, free: 75.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.282, allocations: 3 kB / 0.7087 GB, free: 75.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/1.282, allocations: 7.969 kB / 0.7087 GB, free: 75.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01771/1.3, allocations: 12.91 MB / 0.7213 GB, free: 62.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/1.3, allocations: 8 kB / 0.7213 GB, free: 62.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001865/1.302, allocations: 467.3 kB / 0.7217 GB, free: 62.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/1.304, allocations: 0.9386 MB / 0.7226 GB, free: 61.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/1.305, allocations: 47.69 kB / 0.7227 GB, free: 61.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005307/1.31, allocations: 5.844 MB / 0.7284 GB, free: 55.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007457/1.311, allocations: 1.547 MB / 0.7299 GB, free: 53.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009438/1.32, allocations: 7.758 MB / 0.7375 GB, free: 45.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009478/1.321, allocations: 343.2 kB / 0.7378 GB, free: 45.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000372/1.322, allocations: 40 kB / 0.7379 GB, free: 45.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.323, allocations: 199 kB / 0.738 GB, free: 45.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003957/1.323, allocations: 144.9 kB / 0.7382 GB, free: 45.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/1.324, allocations: 71.97 kB / 0.7383 GB, free: 45.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002337/1.326, allocations: 1.725 MB / 0.7399 GB, free: 43.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.326, allocations: 0 / 0.7399 GB, free: 43.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00517/1.331, allocations: 1.108 MB / 0.741 GB, free: 42.25 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.0005893/1.332, allocations: 192 kB / 0.7412 GB, free: 42.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01017/1.342, allocations: 6.664 MB / 0.7477 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/1.342, allocations: 4 kB / 0.7477 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003286/1.345, allocations: 2.53 MB / 0.7502 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/1.348, allocations: 376.1 kB / 0.7505 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/1.364, allocations: 9.969 MB / 0.7603 GB, free: 22.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002814/1.367, allocations: 3.164 MB / 0.7634 GB, free: 19.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004095/1.371, allocations: 2.064 MB / 0.7654 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007495/1.372, allocations: 215.4 kB / 0.7656 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/1.372, allocations: 0 / 0.7656 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.07627/1.448, allocations: 43.92 MB / 0.8085 GB, free: 4.926 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)