Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001532/0.001532, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.3539/0.3539, allocations: 38.02 MB / 308.4 MB, free: 10.44 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.0006161/0.0006162, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1467, allocations: 57.52 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01579/0.1626, allocations: 15.43 MB / 449.4 MB, free: 6.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.1727, allocations: 4.105 MB / 453.5 MB, free: 1.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/0.1755, allocations: 67.88 kB / 453.5 MB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.1774, allocations: 0.7193 MB / 454.2 MB, free: 1.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2642/0.4416, allocations: 2.157 MB / 456.4 MB, free: 33.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.4428, allocations: 225.4 kB / 456.6 MB, free: 33.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.4439, allocations: 494 kB / 457.1 MB, free: 33.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.4454, allocations: 1.049 MB / 458.2 MB, free: 33.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.4457, allocations: 245.3 kB / 458.4 MB, free: 33.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005408/0.4463, allocations: 0.4895 MB / 458.9 MB, free: 33.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.325e-05/0.4464, allocations: 55.41 kB / 458.9 MB, free: 33.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005743/0.447, allocations: 387.2 kB / 459.3 MB, free: 33.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003385/0.4473, allocations: 418.3 kB / 459.7 MB, free: 33.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.4475, allocations: 219.8 kB / 459.9 MB, free: 33.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.4487, allocations: 1.327 MB / 461.3 MB, free: 33.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.4487, allocations: 0 / 461.3 MB, free: 33.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4488, allocations: 0 / 461.3 MB, free: 33.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.4488, allocations: 0 / 461.3 MB, free: 33.52 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.002577/0.4514, allocations: 1.468 MB / 462.7 MB, free: 32.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.4514, allocations: 9.562 kB / 462.7 MB, free: 32.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006599/0.4521, allocations: 164.2 kB / 462.9 MB, free: 32.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.4531, allocations: 0.6161 MB / 463.5 MB, free: 32.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.4532, allocations: 58.81 kB / 463.6 MB, free: 32.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.4533, allocations: 90.75 kB / 463.7 MB, free: 32.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004899/0.4582, allocations: 2.707 MB / 466.4 MB, free: 32.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.201e-05/0.4583, allocations: 6.594 kB / 466.4 MB, free: 32.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.4584, allocations: 42.91 kB / 466.4 MB, free: 32.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005007/0.4589, allocations: 380.8 kB / 466.8 MB, free: 32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004821/0.4638, allocations: 2.408 MB / 469.2 MB, free: 31.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008437/0.4722, allocations: 8.291 MB / 477.5 MB, free: 27.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/0.4757, allocations: 0.9887 MB / 478.5 MB, free: 27.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/0.4769, allocations: 1.732 MB / 480.2 MB, free: 26.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.477, allocations: 37.25 kB / 480.3 MB, free: 26.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 1.923e-06/0.477, allocations: 0 / 480.3 MB, free: 26.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01078/0.4878, allocations: 2.996 MB / 483.2 MB, free: 25.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.4878, allocations: 57.69 kB / 483.3 MB, free: 25.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.489, allocations: 0.9033 MB / 484.2 MB, free: 25.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.489, allocations: 32.02 kB / 484.2 MB, free: 25.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.4893, allocations: 0.6636 MB / 484.9 MB, free: 25.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.4895, allocations: 211.6 kB / 485.1 MB, free: 25.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.4895, allocations: 25.41 kB / 485.1 MB, free: 25.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4897, allocations: 406.8 kB / 485.5 MB, free: 24.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.4902, allocations: 362.9 kB / 485.9 MB, free: 24.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007555/0.4909, allocations: 0.9905 MB / 486.9 MB, free: 23.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/0.4916, allocations: 0.5754 MB / 487.5 MB, free: 23.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.4916, allocations: 6.25 kB / 487.5 MB, free: 23.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001786/0.4934, allocations: 1.382 MB / 488.8 MB, free: 23.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.4935, allocations: 15.89 kB / 488.9 MB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/0.4935, allocations: 28.36 kB / 488.9 MB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-05/0.4935, allocations: 33.09 kB / 488.9 MB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.4946, allocations: 316.7 kB / 489.2 MB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007387/0.4954, allocations: 1.361 MB / 490.6 MB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000701/0.4961, allocations: 60.5 kB / 490.6 MB, free: 22.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/0.4962, allocations: 63.12 kB / 490.7 MB, free: 22.51 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007015/0.4969, allocations: 0.5029 MB / 491.2 MB, free: 22.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-05/0.497, allocations: 89.98 kB / 491.3 MB, free: 22.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.4972, allocations: 117.3 kB / 491.4 MB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4972, allocations: 6.062 kB / 491.4 MB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.4972, allocations: 4 kB / 491.4 MB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.4972, allocations: 4.641 kB / 491.4 MB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003535/0.5008, allocations: 2.173 MB / 493.6 MB, free: 21.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.5008, allocations: 6.125 kB / 493.6 MB, free: 21.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.5013, allocations: 126 kB / 493.7 MB, free: 21.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/0.5013, allocations: 10.31 kB / 493.7 MB, free: 21.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.5014, allocations: 22.16 kB / 493.8 MB, free: 21.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006269/0.502, allocations: 1.329 MB / 495.1 MB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.502, allocations: 6.594 kB / 495.1 MB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.5031, allocations: 1.13 MB / 496.2 MB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.5035, allocations: 209.8 kB / 496.4 MB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-05/0.5036, allocations: 18.06 kB / 496.4 MB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.5039, allocations: 17.89 kB / 496.5 MB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.449e-05/0.504, allocations: 54.23 kB / 496.5 MB, free: 19.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.504, allocations: 22.19 kB / 496.5 MB, free: 19.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000848/0.5049, allocations: 0.5941 MB / 497.1 MB, free: 19.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5049, allocations: 0 / 497.1 MB, free: 19.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001115/0.506, allocations: 219.9 kB / 497.3 MB, free: 19.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001768/0.5062, allocations: 121.9 kB / 497.5 MB, free: 19.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.5077, allocations: 0.8638 MB / 498.3 MB, free: 19.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5077, allocations: 0 / 498.3 MB, free: 19.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.5082, allocations: 280.6 kB / 498.6 MB, free: 19.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.5088, allocations: 118.3 kB / 498.7 MB, free: 19.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/0.5125, allocations: 2.505 MB / 0.4895 GB, free: 17.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009696/0.5135, allocations: 1.248 MB / 0.4907 GB, free: 17.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009966/0.5145, allocations: 341.6 kB / 0.491 GB, free: 17.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.5147, allocations: 67.64 kB / 0.4911 GB, free: 17.15 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5147, allocations: 0 / 0.4911 GB, free: 17.15 MB / 382.1 MB Notification: Performance of Templates: time 0.02016/0.5348, allocations: 7.373 MB / 0.4983 GB, free: 16.32 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) Environment - environmentSimulation: