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.00757/0.007569, allocations: 103.8 kB / 15.74 MB, free: 6.055 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.001306/0.001306, allocations: 194.3 kB / 16.68 MB, free: 5.965 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.711/1.711, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1988/0.1988, allocations: 38 MB / 307.9 MB, free: 5.973 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.001542/0.001542, allocations: 72.55 kB / 433 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1355, allocations: 56.47 MB / 489.5 MB, free: 5.855 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.008365/0.1439, allocations: 7.614 MB / 497.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005889/0.1498, allocations: 2.543 MB / 499.6 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008997/0.1507, allocations: 31.94 kB / 499.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.1527, allocations: 0.8836 MB / 0.4888 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.1538, allocations: 318.2 kB / 0.4891 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.1548, allocations: 319.3 kB / 0.4894 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.156, allocations: 0.7475 MB / 0.4901 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009802/0.157, allocations: 0.8295 MB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003715/0.1574, allocations: 374.5 kB / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008055/0.1582, allocations: 0.6505 MB / 0.492 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.1584, allocations: 111.9 kB / 0.4921 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007827/0.1592, allocations: 0.5148 MB / 0.4926 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004412/0.1596, allocations: 0.4909 MB / 0.493 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005009/0.1601, allocations: 0.5749 MB / 0.4936 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.162, allocations: 1.787 MB / 0.4953 GB, free: 4.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.162, allocations: 0 / 0.4953 GB, free: 4.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.162, allocations: 0 / 0.4953 GB, free: 4.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.1621, allocations: 0 / 0.4953 GB, free: 4.004 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.003289/0.1654, allocations: 1.634 MB / 0.4969 GB, free: 2.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1654, allocations: 11.89 kB / 0.497 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006908/0.1661, allocations: 159.3 kB / 0.4971 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.1672, allocations: 0.6434 MB / 0.4977 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/0.1673, allocations: 50.36 kB / 0.4978 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.1675, allocations: 91.89 kB / 0.4979 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005486/0.173, allocations: 2.673 MB / 0.5005 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.1731, allocations: 7.938 kB / 0.5005 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.1732, allocations: 31.97 kB / 0.5005 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005957/0.1738, allocations: 385.7 kB / 0.5009 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005406/0.1792, allocations: 2.365 MB / 0.5032 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009751/0.189, allocations: 8.24 MB / 0.5112 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003849/0.1929, allocations: 0.9756 MB / 0.5122 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/0.1933, allocations: 260.7 kB / 0.5124 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001669/0.195, allocations: 1.734 MB / 0.5141 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.195, allocations: 42.61 kB / 0.5142 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.755e-06/0.1951, allocations: 3.938 kB / 0.5142 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=58): time 0.01157/0.2066, allocations: 2.939 MB / 0.5171 GB, free: 12.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.2067, allocations: 63.97 kB / 0.5171 GB, free: 12.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.2081, allocations: 0.9145 MB / 0.518 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.2081, allocations: 29.7 kB / 0.518 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000543/0.2087, allocations: 0.6566 MB / 0.5187 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.2089, allocations: 217 kB / 0.5189 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003447/0.2092, allocations: 246.6 kB / 0.5191 GB, free: 10.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.2095, allocations: 406.7 kB / 0.5195 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/0.2101, allocations: 370.4 kB / 0.5199 GB, free: 10.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000986/0.2111, allocations: 0.9953 MB / 0.5208 GB, free: 8.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.2128, allocations: 1.499 MB / 0.5223 GB, free: 6.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.281e-05/0.2129, allocations: 8 kB / 0.5223 GB, free: 6.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002196/0.2151, allocations: 1.389 MB / 0.5237 GB, free: 5.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.2151, allocations: 15.94 kB / 0.5237 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.525e-05/0.2152, allocations: 24 kB / 0.5237 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-05/0.2152, allocations: 32 kB / 0.5237 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.2164, allocations: 319.5 kB / 0.524 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.2176, allocations: 1.463 MB / 0.5255 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008609/0.2185, allocations: 51.98 kB / 0.5255 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.842e-05/0.2186, allocations: 64 kB / 0.5256 GB, free: 3.422 MB / 414.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.0008092/0.2194, allocations: 0.5047 MB / 0.5261 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.2196, allocations: 82.88 kB / 0.5261 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.2199, allocations: 120.8 kB / 0.5263 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.2199, allocations: 8 kB / 0.5263 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.2199, allocations: 0 / 0.5263 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2199, allocations: 0 / 0.5263 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/0.2236, allocations: 2.175 MB / 0.5284 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.2236, allocations: 4 kB / 0.5284 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/0.2242, allocations: 124.5 kB / 0.5285 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.2242, allocations: 8 kB / 0.5285 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.2242, allocations: 20 kB / 0.5285 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3089/0.5331, allocations: 1.414 MB / 0.5299 GB, free: 47.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/0.5332, allocations: 9.547 kB / 0.5299 GB, free: 47.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.5345, allocations: 0.8406 MB / 0.5307 GB, free: 47.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/0.5349, allocations: 205.7 kB / 0.5309 GB, free: 46.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.788e-05/0.535, allocations: 18.75 kB / 0.531 GB, free: 46.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.5354, allocations: 16.94 kB / 0.531 GB, free: 46.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.5355, allocations: 57.31 kB / 0.531 GB, free: 46.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.5355, allocations: 20.72 kB / 0.5311 GB, free: 46.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008811/0.5364, allocations: 0.5991 MB / 0.5316 GB, free: 46.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5364, allocations: 5.906 kB / 0.5316 GB, free: 46.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001226/0.5376, allocations: 214.2 kB / 0.5318 GB, free: 46.83 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.0002602/0.5379, allocations: 123.7 kB / 0.532 GB, free: 46.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.5401, allocations: 0.8833 MB / 0.5328 GB, free: 46.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.5401, allocations: 1.281 kB / 0.5328 GB, free: 46.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005778/0.5407, allocations: 285.1 kB / 0.5331 GB, free: 46.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008967/0.5416, allocations: 132.3 kB / 0.5332 GB, free: 46.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.5458, allocations: 2.123 MB / 0.5353 GB, free: 45.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.547, allocations: 1.218 MB / 0.5365 GB, free: 44.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009896/0.548, allocations: 339.4 kB / 0.5368 GB, free: 44.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.5482, allocations: 69.41 kB / 0.5369 GB, free: 44.86 MB / 414.1 MB Notification: Performance of SimCode: time 1.383e-06/0.5482, allocations: 0 / 0.5369 GB, free: 44.86 MB / 414.1 MB Notification: Performance of Templates: time 0.02005/0.5683, allocations: 8.293 MB / 0.545 GB, free: 43.61 MB / 414.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)