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.001274/0.001274, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001401/0.001401, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.473/1.473, allocations: 205.1 MB / 222 MB, free: 4.762 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.3329/0.3329, allocations: 39.94 MB / 309.3 MB, free: 9.312 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.00157/0.00157, allocations: 67.89 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1369, allocations: 56.88 MB / 433.8 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2921/0.429, allocations: 25.71 MB / 459.5 MB, free: 35.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01411/0.4432, allocations: 6.389 MB / 465.9 MB, free: 34.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006278/0.4495, allocations: 103.6 kB / 466 MB, free: 34.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003104/0.4527, allocations: 1.133 MB / 467.1 MB, free: 34.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00472/0.4575, allocations: 1.645 MB / 468.8 MB, free: 33.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.4592, allocations: 0.5129 MB / 469.3 MB, free: 33.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005731/0.4649, allocations: 5.412 MB / 474.7 MB, free: 32.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00252/0.4675, allocations: 1.759 MB / 476.5 MB, free: 31.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.4692, allocations: 1.007 MB / 477.5 MB, free: 31.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.4712, allocations: 1.778 MB / 479.3 MB, free: 31.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000467/0.4717, allocations: 152 kB / 479.4 MB, free: 31.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.4743, allocations: 1.333 MB / 480.7 MB, free: 30.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001482/0.4758, allocations: 1.552 MB / 482.3 MB, free: 30.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.4774, allocations: 1.796 MB / 484.1 MB, free: 29.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006988/0.4844, allocations: 5.917 MB / 490 MB, free: 27.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4844, allocations: 0 / 490 MB, free: 27.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4844, allocations: 0 / 490 MB, free: 27.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001873/0.4846, allocations: 0 / 490 MB, free: 27.15 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.009999/0.4946, allocations: 4.121 MB / 494.1 MB, free: 24.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.4947, allocations: 9.219 kB / 494.1 MB, free: 24.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01885/0.5135, allocations: 5.676 MB / 499.8 MB, free: 23.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006652/0.5202, allocations: 2.239 MB / 0.4903 GB, free: 22.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.5205, allocations: 179.9 kB / 0.4904 GB, free: 22.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001536/0.522, allocations: 321.8 kB / 0.4908 GB, free: 22.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02272/0.5447, allocations: 10.71 MB / 0.5012 GB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/0.5449, allocations: 27.09 kB / 0.5012 GB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004135/0.5453, allocations: 109.2 kB / 0.5013 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004041/0.5494, allocations: 2.472 MB / 0.5038 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01958/0.569, allocations: 10.17 MB / 0.5137 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05541/0.6244, allocations: 35.71 MB / 0.5486 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/0.6361, allocations: 5.588 MB / 0.554 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003905/0.64, allocations: 2.33 MB / 0.5563 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002334/0.6424, allocations: 1.877 MB / 0.5581 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.6426, allocations: 60.42 kB / 0.5582 GB, free: 7.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=224): time 1.474e-05/0.6426, allocations: 3.984 kB / 0.5582 GB, free: 7.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.05353/0.6961, allocations: 14.97 MB / 0.5728 GB, free: 8.086 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001852/0.6981, allocations: 1.519 MB / 0.5743 GB, free: 6.406 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00625/0.7043, allocations: 2.806 MB / 0.577 GB, free: 3.586 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009148/0.7053, allocations: 53.7 kB / 0.5771 GB, free: 3.527 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002924/0.7082, allocations: 2.678 MB / 0.5797 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001882/0.7101, allocations: 0.8532 MB / 0.5805 GB, free: 0 / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002521/0.7127, allocations: 1.116 MB / 0.5816 GB, free: 14.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.7128, allocations: 301.1 kB / 0.5819 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00507/0.7179, allocations: 2.63 MB / 0.5845 GB, free: 11.94 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00924/0.7272, allocations: 5.636 MB / 0.59 GB, free: 4.836 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01769/0.7449, allocations: 8.95 MB / 0.5987 GB, free: 10.42 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001229/0.7451, allocations: 28 kB / 0.5987 GB, free: 10.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06531/0.8104, allocations: 19.04 MB / 0.6173 GB, free: 7.328 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002839/0.8107, allocations: 48 kB / 0.6174 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.34/1.151, allocations: 12.01 MB / 0.6291 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04529/1.196, allocations: 10.28 MB / 0.6392 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004905/1.201, allocations: 1.314 MB / 0.6404 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02705/1.228, allocations: 16.06 MB / 0.6561 GB, free: 138.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007074/1.235, allocations: 435.4 kB / 0.6565 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00173/1.237, allocations: 316.5 kB / 0.6568 GB, free: 138.7 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.006037/1.243, allocations: 2.03 MB / 0.6588 GB, free: 137.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009147/1.244, allocations: 269.7 kB / 0.6591 GB, free: 137.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.254, allocations: 5.116 MB / 0.6641 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006994/1.261, allocations: 4.404 MB / 0.6684 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/1.261, allocations: 3.938 kB / 0.6684 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/1.261, allocations: 13 kB / 0.6684 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/1.281, allocations: 12.93 MB / 0.681 GB, free: 126.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/1.281, allocations: 8.188 kB / 0.681 GB, free: 126.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/1.283, allocations: 457.8 kB / 0.6815 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002658/1.286, allocations: 0.939 MB / 0.6824 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002417/1.286, allocations: 49.67 kB / 0.6824 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00541/1.291, allocations: 5.458 MB / 0.6878 GB, free: 119.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007823/1.292, allocations: 1.465 MB / 0.6892 GB, free: 118 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/1.302, allocations: 7.729 MB / 0.6967 GB, free: 110.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009951/1.303, allocations: 329.7 kB / 0.6971 GB, free: 110.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003796/1.304, allocations: 39.98 kB / 0.6971 GB, free: 110 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.305, allocations: 195.7 kB / 0.6973 GB, free: 109.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004413/1.306, allocations: 144.9 kB / 0.6974 GB, free: 109.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/1.306, allocations: 75.64 kB / 0.6975 GB, free: 109.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002709/1.308, allocations: 1.727 MB / 0.6992 GB, free: 107.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.308, allocations: 3.938 kB / 0.6992 GB, free: 107.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006593/1.315, allocations: 1.103 MB / 0.7003 GB, free: 106.8 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.0005805/1.316, allocations: 192.8 kB / 0.7004 GB, free: 106.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01062/1.326, allocations: 6.624 MB / 0.7069 GB, free: 100 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/1.326, allocations: 0 / 0.7069 GB, free: 100 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003184/1.33, allocations: 2.519 MB / 0.7094 GB, free: 97.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/1.332, allocations: 360.2 kB / 0.7097 GB, free: 97.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/1.348, allocations: 11.92 MB / 0.7214 GB, free: 85.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002634/1.35, allocations: 3.167 MB / 0.7244 GB, free: 81.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004175/1.355, allocations: 2.061 MB / 0.7265 GB, free: 79.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000706/1.355, allocations: 211.4 kB / 0.7267 GB, free: 79.63 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/1.355, allocations: 0 / 0.7267 GB, free: 79.63 MB / 494.1 MB Notification: Performance of Templates: time 0.06684/1.422, allocations: 44.75 MB / 0.7704 GB, free: 34.91 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.makefile (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)