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.01014/0.01014, allocations: 105.3 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.001656/0.001657, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.668/1.668, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3473/0.3473, allocations: 39.94 MB / 309.8 MB, free: 9.254 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.001495/0.001495, allocations: 68.47 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3827, allocations: 56.87 MB / 492.7 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009392/0.3921, allocations: 7.635 MB / 0.4886 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007258/0.3994, allocations: 2.545 MB / 0.4911 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.4011, allocations: 32.84 kB / 0.4911 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.4031, allocations: 0.8813 MB / 0.4919 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009759/0.4041, allocations: 307.6 kB / 0.4922 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009866/0.4051, allocations: 328.8 kB / 0.4926 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.4062, allocations: 0.7417 MB / 0.4933 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.4074, allocations: 0.8382 MB / 0.4941 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005392/0.4079, allocations: 373.2 kB / 0.4945 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00097/0.4089, allocations: 0.6569 MB / 0.4951 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.4091, allocations: 104.8 kB / 0.4952 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009616/0.4101, allocations: 0.5113 MB / 0.4957 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000476/0.4105, allocations: 0.4907 MB / 0.4962 GB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004727/0.411, allocations: 0.5779 MB / 0.4967 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001912/0.4129, allocations: 1.782 MB / 0.4985 GB, free: 8.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.413, allocations: 5.25 kB / 0.4985 GB, free: 8.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.413, allocations: 0 / 0.4985 GB, free: 8.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.577e-05/0.413, allocations: 0 / 0.4985 GB, free: 8.324 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.003383/0.4164, allocations: 1.627 MB / 0.5001 GB, free: 7.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.4165, allocations: 13.61 kB / 0.5001 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007612/0.4172, allocations: 168.8 kB / 0.5002 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.4183, allocations: 0.6342 MB / 0.5009 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.833e-05/0.4184, allocations: 61.41 kB / 0.5009 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.4186, allocations: 95.91 kB / 0.501 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004995/0.4236, allocations: 2.67 MB / 0.5036 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/0.4236, allocations: 11.94 kB / 0.5036 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.4238, allocations: 38.41 kB / 0.5037 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005228/0.4243, allocations: 383.6 kB / 0.504 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005118/0.4294, allocations: 2.355 MB / 0.5063 GB, free: 3.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009355/0.4388, allocations: 8.225 MB / 0.5144 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004129/0.4429, allocations: 0.9763 MB / 0.5153 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/0.4434, allocations: 264.9 kB / 0.5156 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001666/0.4451, allocations: 1.727 MB / 0.5173 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.4451, allocations: 42.56 kB / 0.5173 GB, free: 10.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=44): time 2.544e-06/0.4451, allocations: 0 / 0.5173 GB, free: 10.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=58): time 0.01223/0.4574, allocations: 2.951 MB / 0.5202 GB, free: 7.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.4575, allocations: 59.97 kB / 0.5202 GB, free: 7.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.4588, allocations: 0.8991 MB / 0.5211 GB, free: 6.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.4589, allocations: 37.7 kB / 0.5212 GB, free: 6.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004942/0.4594, allocations: 0.6642 MB / 0.5218 GB, free: 5.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.4595, allocations: 209.2 kB / 0.522 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/0.4599, allocations: 246.6 kB / 0.5222 GB, free: 5.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.4601, allocations: 402.7 kB / 0.5226 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000518/0.4606, allocations: 366.4 kB / 0.523 GB, free: 4.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.4617, allocations: 1.003 MB / 0.5239 GB, free: 3.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.4634, allocations: 1.491 MB / 0.5254 GB, free: 1.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.4634, allocations: 4 kB / 0.5254 GB, free: 1.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002046/0.4654, allocations: 1.404 MB / 0.5268 GB, free: 88 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.4655, allocations: 21.03 kB / 0.5268 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.18e-05/0.4655, allocations: 24 kB / 0.5268 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.381e-05/0.4656, allocations: 28 kB / 0.5268 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.4667, allocations: 319.9 kB / 0.5272 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.468, allocations: 1.455 MB / 0.5286 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007604/0.4687, allocations: 55.89 kB / 0.5286 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/0.4688, allocations: 68 kB / 0.5287 GB, free: 13.99 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.0008125/0.4696, allocations: 0.5008 MB / 0.5292 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.4698, allocations: 82.97 kB / 0.5293 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.47, allocations: 120.8 kB / 0.5294 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.47, allocations: 4 kB / 0.5294 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.47, allocations: 4 kB / 0.5294 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.47, allocations: 3.984 kB / 0.5294 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003531/0.4736, allocations: 2.167 MB / 0.5315 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.4736, allocations: 12 kB / 0.5315 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004813/0.4741, allocations: 128.6 kB / 0.5316 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.4741, allocations: 12 kB / 0.5316 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.4742, allocations: 19.94 kB / 0.5317 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.4752, allocations: 1.424 MB / 0.5331 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.4752, allocations: 11.94 kB / 0.5331 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.4763, allocations: 0.8268 MB / 0.5339 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.4766, allocations: 207.9 kB / 0.5341 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.4767, allocations: 12 kB / 0.5341 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.4771, allocations: 19.94 kB / 0.5341 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/0.4771, allocations: 59.77 kB / 0.5342 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/0.4772, allocations: 20 kB / 0.5342 GB, free: 7.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007774/0.478, allocations: 0.6005 MB / 0.5348 GB, free: 7.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.478, allocations: 0 / 0.5348 GB, free: 7.355 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001077/0.4791, allocations: 216 kB / 0.535 GB, free: 7.145 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.0002142/0.4793, allocations: 131 kB / 0.5351 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.4808, allocations: 0.8815 MB / 0.536 GB, free: 6.129 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4808, allocations: 0 / 0.536 GB, free: 6.129 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.4813, allocations: 282.7 kB / 0.5362 GB, free: 5.855 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007818/0.4821, allocations: 123.2 kB / 0.5363 GB, free: 5.738 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.4859, allocations: 2.126 MB / 0.5384 GB, free: 3.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.4871, allocations: 1.227 MB / 0.5396 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000878/0.488, allocations: 343.6 kB / 0.54 GB, free: 1.898 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.4882, allocations: 63.44 kB / 0.54 GB, free: 1.84 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4882, allocations: 0 / 0.54 GB, free: 1.84 MB / 414.1 MB Notification: Performance of Templates: time 0.01687/0.505, allocations: 8.289 MB / 0.5481 GB, free: 9.566 MB / 430.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)