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.001072/0.001072, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006388/0.006388, allocations: 171 kB / 16.27 MB, free: 6.332 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.417/1.417, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.3366/0.3366, allocations: 38.03 MB / 308.8 MB, free: 10.4 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.000543/0.0005429, allocations: 16 kB / 377.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 57.51 MB / 434.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01643/0.1246, allocations: 17.44 MB / 452 MB, free: 3.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2272/0.3518, allocations: 4.19 MB / 456.2 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003216/0.3551, allocations: 69.66 kB / 456.3 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.3557, allocations: 126.4 kB / 456.4 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000965/0.3567, allocations: 284.6 kB / 456.7 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008506/0.3575, allocations: 303.4 kB / 457 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.3587, allocations: 1.129 MB / 458.1 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.3604, allocations: 1.208 MB / 459.3 MB, free: 33.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004087/0.3608, allocations: 288.3 kB / 459.6 MB, free: 33.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007615/0.3616, allocations: 0.6147 MB / 460.2 MB, free: 33.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.597e-05/0.3617, allocations: 58.84 kB / 460.3 MB, free: 33.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006865/0.3624, allocations: 0.523 MB / 460.8 MB, free: 33.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.3628, allocations: 455.9 kB / 461.2 MB, free: 33.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004183/0.3632, allocations: 0.5268 MB / 461.8 MB, free: 32.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.3645, allocations: 1.681 MB / 463.4 MB, free: 32.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3645, allocations: 3.438 kB / 463.4 MB, free: 32.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3645, allocations: 0 / 463.4 MB, free: 32.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.3645, allocations: 4 kB / 463.4 MB, free: 32.64 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.002576/0.3671, allocations: 1.438 MB / 464.9 MB, free: 31.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3672, allocations: 9.844 kB / 464.9 MB, free: 31.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006343/0.3678, allocations: 164.5 kB / 465.1 MB, free: 31.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000867/0.3687, allocations: 0.6373 MB / 465.7 MB, free: 31.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/0.3688, allocations: 60.95 kB / 465.7 MB, free: 31.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.369, allocations: 87.86 kB / 465.8 MB, free: 31.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004483/0.3735, allocations: 2.678 MB / 468.5 MB, free: 31.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.3735, allocations: 9.688 kB / 468.5 MB, free: 31.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-05/0.3736, allocations: 35.42 kB / 468.6 MB, free: 31.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004193/0.3741, allocations: 384.7 kB / 468.9 MB, free: 31.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004606/0.3787, allocations: 2.369 MB / 471.3 MB, free: 31.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006483/0.3852, allocations: 8.276 MB / 479.6 MB, free: 26.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003449/0.3887, allocations: 0.9865 MB / 480.6 MB, free: 25.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.389, allocations: 268.2 kB / 480.8 MB, free: 25.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.3901, allocations: 1.728 MB / 482.6 MB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3902, allocations: 37.78 kB / 482.6 MB, free: 24.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.725e-06/0.3902, allocations: 6.719 kB / 482.6 MB, free: 24.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01041/0.4006, allocations: 2.973 MB / 485.6 MB, free: 23.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.4007, allocations: 60.84 kB / 485.6 MB, free: 23.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009408/0.4016, allocations: 0.9128 MB / 486.5 MB, free: 23.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.4016, allocations: 33.7 kB / 486.6 MB, free: 23.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.4019, allocations: 0.6599 MB / 487.2 MB, free: 22.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.402, allocations: 211.1 kB / 487.4 MB, free: 22.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.4022, allocations: 120 kB / 487.6 MB, free: 22.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.4023, allocations: 399.9 kB / 487.9 MB, free: 22.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/0.4027, allocations: 371.9 kB / 488.3 MB, free: 21.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006614/0.4034, allocations: 0.9949 MB / 489.3 MB, free: 20.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.4045, allocations: 1.502 MB / 490.8 MB, free: 19.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.4045, allocations: 5.938 kB / 490.8 MB, free: 19.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001748/0.4063, allocations: 1.393 MB / 492.2 MB, free: 19.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.4063, allocations: 13.78 kB / 492.2 MB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/0.4064, allocations: 22.81 kB / 492.2 MB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.997e-05/0.4064, allocations: 33.69 kB / 492.3 MB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.4075, allocations: 322.7 kB / 492.6 MB, free: 19.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007239/0.4083, allocations: 1.351 MB / 493.9 MB, free: 18.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/0.4089, allocations: 53.62 kB / 494 MB, free: 18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.08e-05/0.409, allocations: 64.44 kB / 494.1 MB, free: 17.99 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006891/0.4097, allocations: 0.5032 MB / 494.6 MB, free: 17.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.4099, allocations: 89.94 kB / 494.6 MB, free: 17.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.4101, allocations: 116.9 kB / 494.8 MB, free: 17.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.4101, allocations: 10.83 kB / 494.8 MB, free: 17.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.4101, allocations: 4 kB / 494.8 MB, free: 17.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.4101, allocations: 2.672 kB / 494.8 MB, free: 17.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003723/0.4139, allocations: 2.179 MB / 497 MB, free: 16.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/0.4139, allocations: 5.844 kB / 497 MB, free: 16.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004974/0.4144, allocations: 125.3 kB / 497.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.496e-05/0.4144, allocations: 13.25 kB / 497.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.4145, allocations: 13.06 kB / 497.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006497/0.4151, allocations: 1.328 MB / 498.4 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.4151, allocations: 10.25 kB / 498.4 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009711/0.4161, allocations: 0.8286 MB / 499.3 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.4164, allocations: 205.7 kB / 499.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.017e-05/0.4165, allocations: 23.25 kB / 499.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.4168, allocations: 18.22 kB / 499.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.4169, allocations: 54.08 kB / 499.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.417, allocations: 24.91 kB / 499.6 MB, free: 14.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008111/0.4178, allocations: 0.5974 MB / 0.4885 GB, free: 14.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.42e-07/0.4178, allocations: 0 / 0.4885 GB, free: 14.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001101/0.4189, allocations: 221.2 kB / 0.4887 GB, free: 14.12 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001654/0.4191, allocations: 123.6 kB / 0.4888 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.4205, allocations: 0.869 MB / 0.4896 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.4205, allocations: 2.062 kB / 0.4896 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004213/0.4209, allocations: 285.2 kB / 0.4899 GB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.4223, allocations: 122.9 kB / 0.49 GB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.4256, allocations: 2.634 MB / 0.4926 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008972/0.4265, allocations: 1.222 MB / 0.4938 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009052/0.4274, allocations: 339.8 kB / 0.4941 GB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.4276, allocations: 72.52 kB / 0.4942 GB, free: 11.11 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4276, allocations: 0 / 0.4942 GB, free: 11.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01719/0.4448, allocations: 7.582 MB / 0.5016 GB, free: 9.598 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: