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.001055/0.001055, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001209/0.001209, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.437/1.437, allocations: 205.1 MB / 222.1 MB, free: 4.617 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.3308/0.3308, allocations: 37.98 MB / 307.4 MB, free: 10.25 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.001419/0.001419, allocations: 70.41 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1631, allocations: 56.46 MB / 431.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2568/0.42, allocations: 25.71 MB / 456.9 MB, free: 35.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01403/0.4341, allocations: 6.282 MB / 463.2 MB, free: 34.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0051/0.4393, allocations: 103.7 kB / 463.3 MB, free: 34.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002462/0.4418, allocations: 1.115 MB / 464.4 MB, free: 34.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004366/0.4462, allocations: 1.644 MB / 466.1 MB, free: 34.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.4478, allocations: 0.5299 MB / 466.6 MB, free: 34.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004904/0.4527, allocations: 3.942 MB / 470.5 MB, free: 32.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003276/0.4561, allocations: 1.872 MB / 472.4 MB, free: 32.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.4591, allocations: 1.165 MB / 473.6 MB, free: 31.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.4618, allocations: 1.858 MB / 475.4 MB, free: 31.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008673/0.4627, allocations: 218.5 kB / 475.6 MB, free: 31.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.4657, allocations: 1.317 MB / 477 MB, free: 31.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002259/0.468, allocations: 1.62 MB / 478.6 MB, free: 30.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003128/0.4711, allocations: 1.867 MB / 480.4 MB, free: 29.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00758/0.4787, allocations: 6.014 MB / 486.5 MB, free: 27.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.4788, allocations: 0.5625 kB / 486.5 MB, free: 27.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4788, allocations: 0 / 486.5 MB, free: 27.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002939/0.4791, allocations: 0 / 486.5 MB, free: 27.27 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.01098/0.4901, allocations: 4.116 MB / 490.6 MB, free: 24.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.4902, allocations: 12.55 kB / 490.6 MB, free: 24.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01994/0.5101, allocations: 5.669 MB / 496.3 MB, free: 24.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006147/0.5163, allocations: 2.252 MB / 498.5 MB, free: 23.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/0.5166, allocations: 177.9 kB / 498.7 MB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002248/0.5189, allocations: 314.2 kB / 499 MB, free: 23.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02729/0.5462, allocations: 10.72 MB / 0.4978 GB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001583/0.5464, allocations: 27.84 kB / 0.4978 GB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001428/0.5478, allocations: 112.5 kB / 0.4979 GB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00468/0.5525, allocations: 2.464 MB / 0.5003 GB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01958/0.5721, allocations: 10.17 MB / 0.5102 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05842/0.6306, allocations: 35.7 MB / 0.5451 GB, free: 4.031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01192/0.6425, allocations: 5.6 MB / 0.5506 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003838/0.6464, allocations: 2.328 MB / 0.5528 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002366/0.6488, allocations: 1.879 MB / 0.5547 GB, free: 9.676 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.329e-05/0.6489, allocations: 53.16 kB / 0.5547 GB, free: 9.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=224): time 1.134e-05/0.649, allocations: 0 / 0.5547 GB, free: 9.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.04074/0.6897, allocations: 14.98 MB / 0.5693 GB, free: 10.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001528/0.6913, allocations: 1.61 MB / 0.5709 GB, free: 8.758 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005534/0.6969, allocations: 2.806 MB / 0.5737 GB, free: 5.938 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006738/0.6976, allocations: 57.7 kB / 0.5737 GB, free: 5.875 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002742/0.7003, allocations: 2.672 MB / 0.5763 GB, free: 3.199 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001682/0.702, allocations: 0.8561 MB / 0.5772 GB, free: 2.352 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003227/0.7053, allocations: 1.107 MB / 0.5782 GB, free: 1.234 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.7054, allocations: 305.1 kB / 0.5785 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004064/0.7095, allocations: 2.634 MB / 0.5811 GB, free: 14.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005816/0.7153, allocations: 5.644 MB / 0.5866 GB, free: 7.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/0.7276, allocations: 8.937 MB / 0.5953 GB, free: 12.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001896/0.7278, allocations: 35.94 kB / 0.5954 GB, free: 12.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06466/0.7925, allocations: 19.04 MB / 0.614 GB, free: 9.668 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.7927, allocations: 52.97 kB / 0.614 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.354/1.147, allocations: 12.01 MB / 0.6258 GB, free: 146.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04433/1.191, allocations: 10.28 MB / 0.6358 GB, free: 146.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005131/1.196, allocations: 1.315 MB / 0.6371 GB, free: 146.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03011/1.226, allocations: 18.22 MB / 0.6549 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005675/1.232, allocations: 435.5 kB / 0.6553 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00156/1.234, allocations: 322.1 kB / 0.6556 GB, free: 140.5 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.005845/1.24, allocations: 2.024 MB / 0.6576 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008751/1.24, allocations: 269.8 kB / 0.6578 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009829/1.25, allocations: 5.111 MB / 0.6628 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007523/1.258, allocations: 4.407 MB / 0.6671 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/1.258, allocations: 3.938 kB / 0.6671 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/1.258, allocations: 7.969 kB / 0.6671 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/1.277, allocations: 12.94 MB / 0.6798 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/1.277, allocations: 7.094 kB / 0.6798 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/1.279, allocations: 464.7 kB / 0.6802 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002684/1.282, allocations: 0.9421 MB / 0.6811 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000288/1.282, allocations: 47.91 kB / 0.6812 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005733/1.288, allocations: 5.843 MB / 0.6869 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007466/1.289, allocations: 1.539 MB / 0.6884 GB, free: 120.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/1.299, allocations: 7.736 MB / 0.6959 GB, free: 112.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/1.3, allocations: 328.5 kB / 0.6963 GB, free: 112.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003789/1.3, allocations: 47.33 kB / 0.6963 GB, free: 112.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.302, allocations: 198.2 kB / 0.6965 GB, free: 112 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004871/1.302, allocations: 142.6 kB / 0.6966 GB, free: 111.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000189/1.302, allocations: 67.97 kB / 0.6967 GB, free: 111.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003054/1.306, allocations: 1.732 MB / 0.6984 GB, free: 110.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.81e-07/1.306, allocations: 0 / 0.6984 GB, free: 110.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006064/1.312, allocations: 1.115 MB / 0.6995 GB, free: 108.9 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.0005177/1.312, allocations: 182.3 kB / 0.6997 GB, free: 108.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01496/1.327, allocations: 9.681 MB / 0.7091 GB, free: 99.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.12e-05/1.327, allocations: 0 / 0.7091 GB, free: 99.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003895/1.331, allocations: 2.528 MB / 0.7116 GB, free: 96.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/1.334, allocations: 382.1 kB / 0.7119 GB, free: 96.17 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/1.35, allocations: 11.91 MB / 0.7236 GB, free: 84.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002771/1.353, allocations: 3.171 MB / 0.7267 GB, free: 80.96 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004216/1.357, allocations: 2.056 MB / 0.7287 GB, free: 78.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007288/1.358, allocations: 215.4 kB / 0.7289 GB, free: 78.68 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/1.358, allocations: 0 / 0.7289 GB, free: 78.68 MB / 494.1 MB Notification: Performance of Templates: time 0.07688/1.435, allocations: 46.41 MB / 0.7742 GB, free: 32.29 MB / 494.1 MB 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)