Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001364/0.001364, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.78/1.78, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.3826/0.3826, allocations: 39.94 MB / 309.7 MB, free: 9.379 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.001904/0.001904, allocations: 72.45 kB / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1698, allocations: 56.88 MB / 434.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009676/0.1796, allocations: 7.627 MB / 442.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006617/0.1862, allocations: 2.543 MB / 444.7 MB, free: 9.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.1874, allocations: 31.94 kB / 444.7 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.1894, allocations: 0.8799 MB / 445.6 MB, free: 8.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009097/0.1903, allocations: 314.2 kB / 445.9 MB, free: 8.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008791/0.1912, allocations: 315.3 kB / 446.2 MB, free: 7.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009603/0.1922, allocations: 0.7553 MB / 446.9 MB, free: 7.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.1932, allocations: 0.8412 MB / 447.8 MB, free: 6.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004495/0.1936, allocations: 370.5 kB / 448.2 MB, free: 5.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008565/0.1945, allocations: 0.6505 MB / 448.8 MB, free: 5.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.1947, allocations: 104 kB / 448.9 MB, free: 5.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009696/0.1957, allocations: 0.5187 MB / 449.4 MB, free: 4.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005504/0.1962, allocations: 498.7 kB / 449.9 MB, free: 4.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006433/0.1969, allocations: 0.5788 MB / 450.5 MB, free: 3.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.1992, allocations: 1.733 MB / 452.2 MB, free: 1.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.1993, allocations: 4 kB / 452.2 MB, free: 1.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1993, allocations: 0 / 452.2 MB, free: 1.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.1993, allocations: 0 / 452.2 MB, free: 1.895 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.003737/0.203, allocations: 1.63 MB / 453.9 MB, free: 220 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.269e-05/0.2031, allocations: 19.89 kB / 453.9 MB, free: 200 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007199/0.2039, allocations: 159.2 kB / 454 MB, free: 40 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.288/0.4918, allocations: 0.6237 MB / 454.7 MB, free: 52.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.559e-05/0.492, allocations: 60.88 kB / 454.7 MB, free: 52.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003994/0.4924, allocations: 80.27 kB / 454.8 MB, free: 52.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005556/0.4979, allocations: 2.677 MB / 457.5 MB, free: 51.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.657e-05/0.498, allocations: 7.938 kB / 457.5 MB, free: 51.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.4981, allocations: 35.39 kB / 457.5 MB, free: 51.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004315/0.4986, allocations: 385.9 kB / 457.9 MB, free: 51.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004956/0.5035, allocations: 2.363 MB / 460.3 MB, free: 50.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008567/0.5121, allocations: 8.267 MB / 468.5 MB, free: 45.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003674/0.5158, allocations: 0.9772 MB / 469.5 MB, free: 45.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.5162, allocations: 259.6 kB / 469.7 MB, free: 45.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/0.5175, allocations: 1.734 MB / 471.5 MB, free: 43.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.5175, allocations: 37.88 kB / 471.5 MB, free: 43.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.384e-06/0.5175, allocations: 0 / 471.5 MB, free: 43.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01096/0.5285, allocations: 2.939 MB / 474.5 MB, free: 42.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.5286, allocations: 62.12 kB / 474.5 MB, free: 42.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.53, allocations: 0.9141 MB / 475.4 MB, free: 42.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.5301, allocations: 32.98 kB / 475.5 MB, free: 42.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004341/0.5305, allocations: 0.6542 MB / 476.1 MB, free: 41.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.5307, allocations: 214.9 kB / 476.3 MB, free: 41.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003459/0.5311, allocations: 244.9 kB / 476.6 MB, free: 41.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.5312, allocations: 407.6 kB / 477 MB, free: 41.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/0.5317, allocations: 376.2 kB / 477.3 MB, free: 41.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008063/0.5325, allocations: 0.9968 MB / 478.3 MB, free: 40.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.5341, allocations: 1.501 MB / 479.8 MB, free: 38.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.5341, allocations: 6.688 kB / 479.8 MB, free: 38.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001956/0.5361, allocations: 1.394 MB / 481.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.5361, allocations: 14.38 kB / 481.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.5362, allocations: 21.56 kB / 481.3 MB, free: 38.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.289e-05/0.5362, allocations: 34.23 kB / 481.3 MB, free: 38.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.5373, allocations: 323.2 kB / 481.6 MB, free: 38.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007418/0.5381, allocations: 1.456 MB / 483.1 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006659/0.5388, allocations: 53.73 kB / 483.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/0.5388, allocations: 61.91 kB / 483.2 MB, free: 36.72 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.0006478/0.5395, allocations: 0.5001 MB / 483.7 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.5396, allocations: 90.28 kB / 483.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.5398, allocations: 117.2 kB / 483.9 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.5398, allocations: 6.031 kB / 483.9 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.5399, allocations: 0 / 483.9 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.5399, allocations: 3 kB / 483.9 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002897/0.5428, allocations: 2.173 MB / 486.1 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.5428, allocations: 9.031 kB / 486.1 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004419/0.5432, allocations: 124.7 kB / 486.2 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.5433, allocations: 9.5 kB / 486.2 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.5433, allocations: 13.25 kB / 486.2 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005691/0.5439, allocations: 1.431 MB / 487.7 MB, free: 33.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.5439, allocations: 9.75 kB / 487.7 MB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007588/0.5447, allocations: 0.8299 MB / 488.5 MB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/0.5449, allocations: 200.5 kB / 488.7 MB, free: 32.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.928e-05/0.545, allocations: 21.39 kB / 488.7 MB, free: 32.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.5453, allocations: 20.05 kB / 488.7 MB, free: 32.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.5454, allocations: 55.05 kB / 488.8 MB, free: 32.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.5455, allocations: 21.75 kB / 488.8 MB, free: 32.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008213/0.5463, allocations: 0.6009 MB / 489.4 MB, free: 32.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5463, allocations: 3.656 kB / 489.4 MB, free: 32.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001046/0.5473, allocations: 217.7 kB / 489.6 MB, free: 32.67 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.0001585/0.5475, allocations: 133.2 kB / 489.7 MB, free: 32.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.549, allocations: 0.9409 MB / 490.7 MB, free: 32.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.549, allocations: 1.156 kB / 490.7 MB, free: 32.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.5494, allocations: 290.1 kB / 491 MB, free: 32.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007603/0.5502, allocations: 118.4 kB / 491.1 MB, free: 32.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.5534, allocations: 2.153 MB / 493.2 MB, free: 30.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007423/0.5541, allocations: 1.23 MB / 494.5 MB, free: 30.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008349/0.555, allocations: 337.4 kB / 494.8 MB, free: 30.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.5551, allocations: 66.45 kB / 494.9 MB, free: 30.1 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5551, allocations: 0 / 494.9 MB, free: 30.1 MB / 382.1 MB Notification: Performance of Templates: time 0.01965/0.5748, allocations: 7.988 MB / 0.4911 GB, free: 29.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1)