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.001324/0.001324, allocations: 108 kB / 15.61 MB, free: 152 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.001546/0.001546, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.827/1.827, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3595/0.3595, allocations: 37.99 MB / 307.7 MB, free: 10.05 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.001903/0.001903, allocations: 76.11 kB / 375.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1319, allocations: 56.46 MB / 431.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.0101/0.142, allocations: 7.631 MB / 439.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005907/0.148, allocations: 2.536 MB / 441.9 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.1493, allocations: 35.94 kB / 441.9 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.1514, allocations: 0.8798 MB / 442.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.1525, allocations: 314.2 kB / 443.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008432/0.1533, allocations: 327.3 kB / 443.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000872/0.1542, allocations: 0.7475 MB / 444.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009831/0.1552, allocations: 0.8373 MB / 445 MB, free: 9.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.1557, allocations: 370.6 kB / 445.4 MB, free: 8.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009536/0.1566, allocations: 0.6543 MB / 446 MB, free: 8.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.1568, allocations: 104 kB / 446.1 MB, free: 8.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008111/0.1576, allocations: 0.5187 MB / 446.6 MB, free: 7.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000452/0.1581, allocations: 0.4909 MB / 447.1 MB, free: 7.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005012/0.1586, allocations: 0.571 MB / 447.7 MB, free: 6.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.1603, allocations: 1.733 MB / 449.4 MB, free: 4.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1603, allocations: 0 / 449.4 MB, free: 4.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1603, allocations: 4 kB / 449.4 MB, free: 4.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.1603, allocations: 0 / 449.4 MB, free: 4.801 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.003313/0.1636, allocations: 1.638 MB / 451.1 MB, free: 3.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.1637, allocations: 11.89 kB / 451.1 MB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006802/0.1644, allocations: 163.2 kB / 451.2 MB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009286/0.1653, allocations: 0.6278 MB / 451.9 MB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/0.1654, allocations: 62.34 kB / 451.9 MB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.1656, allocations: 79.91 kB / 452 MB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2734/0.439, allocations: 2.671 MB / 454.7 MB, free: 53.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.635e-05/0.4391, allocations: 7.438 kB / 454.7 MB, free: 53.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.4393, allocations: 37.67 kB / 454.7 MB, free: 53.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005332/0.4398, allocations: 383.6 kB / 455.1 MB, free: 53.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005042/0.4448, allocations: 2.358 MB / 457.5 MB, free: 53.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007036/0.4519, allocations: 8.268 MB / 465.7 MB, free: 47.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003455/0.4554, allocations: 0.9788 MB / 466.7 MB, free: 47.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.4557, allocations: 266.2 kB / 467 MB, free: 47.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/0.4568, allocations: 1.731 MB / 468.7 MB, free: 45.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.4568, allocations: 37.62 kB / 468.7 MB, free: 45.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 3.627e-06/0.4568, allocations: 0 / 468.7 MB, free: 45.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01055/0.4674, allocations: 2.948 MB / 471.7 MB, free: 45.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.4675, allocations: 58.12 kB / 471.7 MB, free: 45.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009507/0.4684, allocations: 0.8999 MB / 472.6 MB, free: 44.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.4685, allocations: 38.09 kB / 472.7 MB, free: 44.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.4688, allocations: 0.6645 MB / 473.3 MB, free: 44.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.4689, allocations: 212.5 kB / 473.5 MB, free: 44.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.4692, allocations: 241.2 kB / 473.8 MB, free: 43.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4693, allocations: 407.1 kB / 474.2 MB, free: 43.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/0.4698, allocations: 368.8 kB / 474.5 MB, free: 43.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007127/0.4705, allocations: 1.003 MB / 475.5 MB, free: 42.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.4718, allocations: 1.491 MB / 477 MB, free: 41.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.4718, allocations: 6.156 kB / 477 MB, free: 41.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001729/0.4735, allocations: 1.4 MB / 478.4 MB, free: 40.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.4736, allocations: 19.53 kB / 478.5 MB, free: 40.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.4736, allocations: 21.84 kB / 478.5 MB, free: 40.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.429e-05/0.4736, allocations: 27.91 kB / 478.5 MB, free: 40.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.4748, allocations: 320.9 kB / 478.8 MB, free: 40.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007997/0.4756, allocations: 1.454 MB / 480.3 MB, free: 39.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007533/0.4763, allocations: 53.75 kB / 480.3 MB, free: 39.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/0.4764, allocations: 72.41 kB / 480.4 MB, free: 39.09 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.4771, allocations: 0.4969 MB / 480.9 MB, free: 38.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.4772, allocations: 84.66 kB / 481 MB, free: 38.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.4774, allocations: 114.6 kB / 481.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4774, allocations: 8.094 kB / 481.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.4774, allocations: 0 / 481.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.4774, allocations: 3.094 kB / 481.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.4806, allocations: 2.181 MB / 483.3 MB, free: 37.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.4806, allocations: 7.188 kB / 483.3 MB, free: 37.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000474/0.4811, allocations: 127.4 kB / 483.4 MB, free: 37.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.4811, allocations: 5.906 kB / 483.4 MB, free: 37.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.4812, allocations: 24.03 kB / 483.4 MB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007257/0.4819, allocations: 1.424 MB / 484.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.4819, allocations: 9.688 kB / 484.9 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000893/0.4828, allocations: 0.8302 MB / 485.7 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/0.4831, allocations: 198.5 kB / 485.9 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.991e-05/0.4832, allocations: 23.53 kB / 485.9 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.4836, allocations: 17.38 kB / 485.9 MB, free: 35.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/0.4837, allocations: 60.03 kB / 486 MB, free: 35.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.4837, allocations: 19.84 kB / 486 MB, free: 35.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007034/0.4844, allocations: 0.5966 MB / 486.6 MB, free: 35.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4844, allocations: 0.8438 kB / 486.6 MB, free: 35.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001108/0.4855, allocations: 218.8 kB / 486.8 MB, free: 35.06 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.0001981/0.4857, allocations: 133.5 kB / 487 MB, free: 34.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.4873, allocations: 0.9463 MB / 487.9 MB, free: 34.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.4873, allocations: 0 / 487.9 MB, free: 34.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003901/0.4877, allocations: 274.9 kB / 488.2 MB, free: 34.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008229/0.4885, allocations: 133.6 kB / 488.3 MB, free: 34.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/0.4921, allocations: 2.152 MB / 490.5 MB, free: 33.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009071/0.493, allocations: 1.224 MB / 491.7 MB, free: 32.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009696/0.494, allocations: 343 kB / 492 MB, free: 32.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.4942, allocations: 67.69 kB / 492.1 MB, free: 32.49 MB / 382.1 MB Notification: Performance of SimCode: time 2.204e-06/0.4943, allocations: 0 / 492.1 MB, free: 32.49 MB / 382.1 MB Notification: Performance of Templates: time 0.02316/0.5174, allocations: 7.999 MB / 0.4884 GB, free: 31.92 MB / 382.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)