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.007695/0.007695, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001617/0.001617, allocations: 188.4 kB / 16.67 MB, free: 5.961 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.709/1.709, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3677/0.3677, allocations: 37.99 MB / 307.9 MB, free: 10.15 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.001637/0.001637, allocations: 67.91 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.403, allocations: 56.45 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.008725/0.4118, allocations: 7.631 MB / 497.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006225/0.418, allocations: 2.545 MB / 499.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.4196, allocations: 34.19 kB / 499.7 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.4216, allocations: 0.8813 MB / 0.4888 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009047/0.4225, allocations: 307.8 kB / 0.4891 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.4234, allocations: 332 kB / 0.4894 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009146/0.4243, allocations: 0.7411 MB / 0.4902 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.4255, allocations: 0.8274 MB / 0.491 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005225/0.426, allocations: 370.4 kB / 0.4913 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.4272, allocations: 0.6643 MB / 0.492 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002271/0.4274, allocations: 103.8 kB / 0.4921 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.4285, allocations: 0.5129 MB / 0.4926 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006918/0.4292, allocations: 0.4904 MB / 0.493 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006304/0.4298, allocations: 0.5729 MB / 0.4936 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002789/0.4326, allocations: 1.78 MB / 0.4953 GB, free: 9.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.4327, allocations: 0 / 0.4953 GB, free: 9.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4327, allocations: 1.219 kB / 0.4953 GB, free: 9.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.291e-05/0.4327, allocations: 0 / 0.4953 GB, free: 9.617 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.003976/0.4367, allocations: 1.64 MB / 0.4969 GB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.4368, allocations: 12.8 kB / 0.497 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007433/0.4375, allocations: 164.6 kB / 0.4971 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.4387, allocations: 0.6386 MB / 0.4977 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/0.4388, allocations: 65.59 kB / 0.4978 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.439, allocations: 83.11 kB / 0.4979 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005266/0.4443, allocations: 2.674 MB / 0.5005 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/0.4443, allocations: 7.719 kB / 0.5005 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.7e-05/0.4444, allocations: 38.25 kB / 0.5005 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000523/0.445, allocations: 376.4 kB / 0.5009 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00526/0.4502, allocations: 2.367 MB / 0.5032 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00904/0.4593, allocations: 8.244 MB / 0.5113 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003806/0.4631, allocations: 0.9648 MB / 0.5122 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004229/0.4636, allocations: 263.7 kB / 0.5124 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00172/0.4653, allocations: 1.736 MB / 0.5141 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.4653, allocations: 39.92 kB / 0.5142 GB, free: 12.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=44): time 2.896e-06/0.4654, allocations: 0 / 0.5142 GB, free: 12.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=58): time 0.01202/0.4774, allocations: 2.947 MB / 0.5171 GB, free: 10.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.4775, allocations: 59.97 kB / 0.5171 GB, free: 10.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.4788, allocations: 0.9068 MB / 0.518 GB, free: 9.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.4789, allocations: 37.7 kB / 0.518 GB, free: 9.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004538/0.4794, allocations: 0.6564 MB / 0.5187 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.4795, allocations: 217.1 kB / 0.5189 GB, free: 8.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/0.4799, allocations: 242.6 kB / 0.5191 GB, free: 8.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.48, allocations: 402.7 kB / 0.5195 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004946/0.4806, allocations: 374.4 kB / 0.5199 GB, free: 7.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009633/0.4815, allocations: 0.9991 MB / 0.5208 GB, free: 6.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.4831, allocations: 1.487 MB / 0.5223 GB, free: 4.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.4831, allocations: 8 kB / 0.5223 GB, free: 4.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001865/0.485, allocations: 1.393 MB / 0.5237 GB, free: 3.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.485, allocations: 19.94 kB / 0.5237 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.485, allocations: 20 kB / 0.5237 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.963e-05/0.4851, allocations: 32 kB / 0.5237 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.4862, allocations: 324 kB / 0.524 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.4874, allocations: 1.459 MB / 0.5255 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007396/0.4881, allocations: 51.98 kB / 0.5255 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-05/0.4882, allocations: 64 kB / 0.5256 GB, free: 1.184 MB / 398.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.000782/0.489, allocations: 0.5008 MB / 0.5261 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.4891, allocations: 90.94 kB / 0.5261 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.4893, allocations: 120.7 kB / 0.5263 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4894, allocations: 4 kB / 0.5263 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.4894, allocations: 0 / 0.5263 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.4894, allocations: 3.984 kB / 0.5263 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/0.493, allocations: 2.167 MB / 0.5284 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.493, allocations: 7.938 kB / 0.5284 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.4935, allocations: 124.6 kB / 0.5285 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.4935, allocations: 19.94 kB / 0.5285 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.4936, allocations: 16 kB / 0.5285 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008415/0.4944, allocations: 1.424 MB / 0.5299 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/0.4944, allocations: 7.938 kB / 0.5299 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000931/0.4954, allocations: 0.8307 MB / 0.5307 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/0.4958, allocations: 199.9 kB / 0.5309 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.453e-05/0.4959, allocations: 20 kB / 0.531 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.4962, allocations: 23.92 kB / 0.531 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.4963, allocations: 55.77 kB / 0.531 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.4963, allocations: 24 kB / 0.5311 GB, free: 11.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007362/0.4971, allocations: 0.5927 MB / 0.5316 GB, free: 10.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4971, allocations: 0 / 0.5316 GB, free: 10.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001055/0.4981, allocations: 220 kB / 0.5318 GB, free: 10.34 MB / 414.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.0001853/0.4983, allocations: 131 kB / 0.532 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.4997, allocations: 0.8773 MB / 0.5328 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4997, allocations: 0 / 0.5328 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.5001, allocations: 286.8 kB / 0.5331 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007627/0.5009, allocations: 137.6 kB / 0.5332 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.5042, allocations: 2.127 MB / 0.5353 GB, free: 6.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009279/0.5052, allocations: 1.224 MB / 0.5365 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007688/0.5059, allocations: 339.6 kB / 0.5368 GB, free: 5.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.5061, allocations: 67.44 kB / 0.5369 GB, free: 5.031 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5061, allocations: 7.938 kB / 0.5369 GB, free: 5.023 MB / 414.1 MB Notification: Performance of Templates: time 0.01569/0.5218, allocations: 8.337 MB / 0.545 GB, free: 12.7 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (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)