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.006056/0.006056, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001155/0.001155, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.733/1.733, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.4735/0.4735, allocations: 39.95 MB / 309.8 MB, free: 9.367 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.001452/0.001452, allocations: 71.91 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.4509, allocations: 56.87 MB / 492.7 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01007/0.461, allocations: 7.632 MB / 0.4886 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007603/0.4686, allocations: 2.546 MB / 0.491 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.4706, allocations: 32.88 kB / 0.4911 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.4727, allocations: 0.8814 MB / 0.4919 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.4739, allocations: 311.9 kB / 0.4922 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.4749, allocations: 323.6 kB / 0.4925 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.476, allocations: 0.7497 MB / 0.4933 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.4772, allocations: 0.8428 MB / 0.4941 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006146/0.4779, allocations: 366.2 kB / 0.4945 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.4792, allocations: 0.6519 MB / 0.4951 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.4794, allocations: 108.4 kB / 0.4952 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.4806, allocations: 0.5197 MB / 0.4957 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006519/0.4813, allocations: 498.2 kB / 0.4962 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005794/0.4819, allocations: 0.5775 MB / 0.4967 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.4839, allocations: 1.778 MB / 0.4985 GB, free: 8.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4839, allocations: 1.312 kB / 0.4985 GB, free: 8.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4839, allocations: 0 / 0.4985 GB, free: 8.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.484, allocations: 3.938 kB / 0.4985 GB, free: 8.41 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.003271/0.4872, allocations: 1.634 MB / 0.5001 GB, free: 7.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.4873, allocations: 17.41 kB / 0.5001 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008001/0.4881, allocations: 165.2 kB / 0.5002 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.4895, allocations: 0.6391 MB / 0.5009 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/0.4895, allocations: 56.31 kB / 0.5009 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/0.4898, allocations: 88.53 kB / 0.501 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005446/0.4952, allocations: 2.673 MB / 0.5036 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.4953, allocations: 7.312 kB / 0.5036 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-05/0.4954, allocations: 34.34 kB / 0.5037 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005849/0.496, allocations: 385.5 kB / 0.504 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005532/0.5015, allocations: 2.362 MB / 0.5063 GB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/0.5118, allocations: 8.237 MB / 0.5144 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003999/0.5158, allocations: 0.9721 MB / 0.5153 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/0.5162, allocations: 261.4 kB / 0.5156 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001767/0.518, allocations: 1.731 MB / 0.5173 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.5181, allocations: 42.59 kB / 0.5173 GB, free: 10.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=44): time 2.745e-06/0.5181, allocations: 0 / 0.5173 GB, free: 10.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=58): time 0.01197/0.5301, allocations: 2.943 MB / 0.5202 GB, free: 7.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.234e-05/0.5302, allocations: 63.91 kB / 0.5202 GB, free: 7.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.5316, allocations: 0.9068 MB / 0.5211 GB, free: 6.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.5316, allocations: 37.7 kB / 0.5212 GB, free: 6.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004981/0.5321, allocations: 0.6603 MB / 0.5218 GB, free: 5.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.5323, allocations: 213.2 kB / 0.522 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003148/0.5327, allocations: 246.6 kB / 0.5222 GB, free: 5.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.5329, allocations: 398.7 kB / 0.5226 GB, free: 4.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000513/0.5334, allocations: 370.4 kB / 0.523 GB, free: 4.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009616/0.5344, allocations: 0.9953 MB / 0.524 GB, free: 3.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.5361, allocations: 1.491 MB / 0.5254 GB, free: 1.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.5361, allocations: 8 kB / 0.5254 GB, free: 1.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002107/0.5382, allocations: 1.393 MB / 0.5268 GB, free: 92 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.449e-05/0.5382, allocations: 19.94 kB / 0.5268 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.5383, allocations: 24.09 kB / 0.5268 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.313e-05/0.5383, allocations: 32 kB / 0.5269 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.5396, allocations: 319.5 kB / 0.5272 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.5407, allocations: 1.451 MB / 0.5286 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008272/0.5415, allocations: 55.84 kB / 0.5286 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.18e-05/0.5416, allocations: 71.92 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.0007635/0.5424, allocations: 0.5087 MB / 0.5292 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.5425, allocations: 82.97 kB / 0.5293 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.5427, allocations: 116.7 kB / 0.5294 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5427, allocations: 4 kB / 0.5294 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.5427, allocations: 3.938 kB / 0.5294 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.5427, allocations: 3.984 kB / 0.5294 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/0.5464, allocations: 2.18 MB / 0.5315 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.5465, allocations: 4 kB / 0.5315 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004814/0.5469, allocations: 123.8 kB / 0.5316 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/0.547, allocations: 12 kB / 0.5317 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.547, allocations: 12 kB / 0.5317 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.5481, allocations: 1.424 MB / 0.5331 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.5482, allocations: 7.938 kB / 0.5331 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.5493, allocations: 0.8346 MB / 0.5339 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.5497, allocations: 199.9 kB / 0.5341 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.469e-05/0.5498, allocations: 20 kB / 0.5341 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.5501, allocations: 23.92 kB / 0.5341 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/0.5502, allocations: 51.83 kB / 0.5342 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.5502, allocations: 24 kB / 0.5342 GB, free: 7.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007189/0.5509, allocations: 0.5927 MB / 0.5348 GB, free: 7.363 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.551, allocations: 0 / 0.5348 GB, free: 7.363 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001047/0.552, allocations: 220 kB / 0.535 GB, free: 7.148 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.0001967/0.5522, allocations: 127 kB / 0.5351 GB, free: 7.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.5536, allocations: 0.8825 MB / 0.536 GB, free: 6.137 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.5536, allocations: 4.25 kB / 0.536 GB, free: 6.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004538/0.5541, allocations: 283.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.0008016/0.5549, allocations: 132.1 kB / 0.5364 GB, free: 5.734 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.5585, allocations: 2.126 MB / 0.5384 GB, free: 3.492 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009517/0.5595, allocations: 1.216 MB / 0.5396 GB, free: 2.246 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007905/0.5603, allocations: 339.6 kB / 0.5399 GB, free: 1.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.5605, allocations: 67.42 kB / 0.54 GB, free: 1.848 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5605, allocations: 4 kB / 0.54 GB, free: 1.844 MB / 414.1 MB Notification: Performance of Templates: time 0.01617/0.5767, allocations: 8.367 MB / 0.5482 GB, free: 9.496 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)