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.001286/0.001286, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002195/0.002195, allocations: 193.9 kB / 16.25 MB, free: 6.633 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.727/1.727, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.3996/0.3996, allocations: 39.92 MB / 309.4 MB, free: 9.289 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.001775/0.001775, allocations: 64.42 kB / 377.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1586, allocations: 56.89 MB / 434 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.02078/0.1794, allocations: 18.11 MB / 452.1 MB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2977/0.4772, allocations: 4.202 MB / 456.3 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004529/0.4818, allocations: 69.45 kB / 456.4 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.4839, allocations: 0.8467 MB / 457.2 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.485, allocations: 283.3 kB / 457.5 MB, free: 35.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009806/0.486, allocations: 295.4 kB / 457.8 MB, free: 35.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.4872, allocations: 0.7552 MB / 458.5 MB, free: 35.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.4883, allocations: 0.8747 MB / 459.4 MB, free: 35.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005495/0.4889, allocations: 371.1 kB / 459.8 MB, free: 35.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009123/0.4898, allocations: 0.7035 MB / 460.5 MB, free: 35.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.49, allocations: 104.4 kB / 460.6 MB, free: 35.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007842/0.4908, allocations: 0.5267 MB / 461.1 MB, free: 35.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004306/0.4912, allocations: 0.5007 MB / 461.6 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000473/0.4917, allocations: 0.5727 MB / 462.2 MB, free: 35.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.4931, allocations: 1.761 MB / 463.9 MB, free: 34.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4932, allocations: 0 / 463.9 MB, free: 34.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4932, allocations: 0 / 463.9 MB, free: 34.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.4932, allocations: 0 / 463.9 MB, free: 34.71 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.00272/0.4959, allocations: 1.637 MB / 465.6 MB, free: 33.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.496, allocations: 13.67 kB / 465.6 MB, free: 33.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006542/0.4966, allocations: 163.4 kB / 465.7 MB, free: 33.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008106/0.4975, allocations: 0.6312 MB / 466.4 MB, free: 33.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.627e-05/0.4975, allocations: 55.84 kB / 466.4 MB, free: 33.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.4977, allocations: 91.23 kB / 466.5 MB, free: 33.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004537/0.5022, allocations: 2.669 MB / 469.2 MB, free: 32.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.5023, allocations: 7.719 kB / 469.2 MB, free: 32.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-05/0.5024, allocations: 33.36 kB / 469.2 MB, free: 32.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005013/0.5029, allocations: 385.8 kB / 469.6 MB, free: 32.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004888/0.5078, allocations: 2.36 MB / 472 MB, free: 31.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007114/0.515, allocations: 8.276 MB / 480.2 MB, free: 25.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003321/0.5183, allocations: 0.9712 MB / 481.2 MB, free: 25.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.5186, allocations: 259.9 kB / 481.5 MB, free: 25.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/0.5197, allocations: 1.737 MB / 483.2 MB, free: 24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.5198, allocations: 41.56 kB / 483.2 MB, free: 23.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 3.266e-06/0.5198, allocations: 112 / 483.2 MB, free: 23.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01057/0.5304, allocations: 2.948 MB / 486.2 MB, free: 23.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.5304, allocations: 62.19 kB / 486.3 MB, free: 23.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.5317, allocations: 0.9106 MB / 487.2 MB, free: 22.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.5317, allocations: 35.14 kB / 487.2 MB, free: 22.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.5322, allocations: 0.6552 MB / 487.9 MB, free: 22.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.5323, allocations: 212.5 kB / 488.1 MB, free: 22.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003415/0.5327, allocations: 245.2 kB / 488.3 MB, free: 21.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5329, allocations: 400.7 kB / 488.7 MB, free: 21.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005202/0.5334, allocations: 377.7 kB / 489.1 MB, free: 21.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009747/0.5344, allocations: 0.9962 MB / 490.1 MB, free: 20.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.5361, allocations: 1.501 MB / 491.6 MB, free: 19.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.5361, allocations: 5.938 kB / 491.6 MB, free: 19.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002455/0.5386, allocations: 1.387 MB / 493 MB, free: 18.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.5386, allocations: 14.66 kB / 493 MB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.942e-05/0.5387, allocations: 25.78 kB / 493 MB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.958e-05/0.5387, allocations: 34.47 kB / 493 MB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.54, allocations: 319.5 kB / 493.3 MB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009561/0.5409, allocations: 1.455 MB / 494.8 MB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008434/0.5418, allocations: 54.44 kB / 494.8 MB, free: 17.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.216e-05/0.5419, allocations: 64.06 kB / 494.9 MB, free: 17.18 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.0008044/0.5427, allocations: 0.4991 MB / 495.4 MB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.5428, allocations: 89.66 kB / 495.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.543, allocations: 120.5 kB / 495.6 MB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.543, allocations: 5.688 kB / 495.6 MB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.5431, allocations: 1.219 kB / 495.6 MB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.5431, allocations: 7.328 kB / 495.6 MB, free: 16.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/0.5468, allocations: 2.176 MB / 497.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.5468, allocations: 5.812 kB / 497.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/0.5474, allocations: 129.5 kB / 497.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.5474, allocations: 9.188 kB / 497.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.5474, allocations: 16.69 kB / 498 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006854/0.5481, allocations: 1.414 MB / 499.4 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/0.5481, allocations: 14.19 kB / 499.4 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009705/0.5491, allocations: 0.8286 MB / 0.4885 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.5494, allocations: 202.8 kB / 0.4887 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.222e-05/0.5495, allocations: 19.11 kB / 0.4887 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.5498, allocations: 16.83 kB / 0.4887 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.343e-05/0.5499, allocations: 59.5 kB / 0.4888 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.55, allocations: 22.47 kB / 0.4888 GB, free: 13.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008727/0.5508, allocations: 0.5953 MB / 0.4894 GB, free: 13.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5509, allocations: 1.375 kB / 0.4894 GB, free: 13.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001121/0.552, allocations: 216.4 kB / 0.4896 GB, free: 13.15 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.000179/0.5522, allocations: 127.1 kB / 0.4897 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.5539, allocations: 0.9487 MB / 0.4906 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5539, allocations: 1.438 kB / 0.4906 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.5544, allocations: 282.6 kB / 0.4909 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008285/0.5552, allocations: 135 kB / 0.491 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.5587, allocations: 2.603 MB / 0.4936 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009638/0.5597, allocations: 1.22 MB / 0.4948 GB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009648/0.5607, allocations: 343.2 kB / 0.4951 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.5609, allocations: 66.12 kB / 0.4952 GB, free: 10.11 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5609, allocations: 0 / 0.4952 GB, free: 10.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01654/0.5774, allocations: 7.992 MB / 0.503 GB, free: 8.383 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)