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.0009563/0.0009563, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.007247/0.007247, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.844/1.844, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.4606/0.4606, allocations: 40 MB / 310.7 MB, free: 9.852 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.0006245/0.0006245, allocations: 16 kB / 379.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.16, allocations: 57.95 MB / 437.4 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01749/0.1775, allocations: 17.44 MB / 454.8 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3028/0.4804, allocations: 4.194 MB / 459 MB, free: 34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00351/0.4839, allocations: 67.09 kB / 459.1 MB, free: 34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005832/0.4845, allocations: 130.9 kB / 459.2 MB, free: 34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009123/0.4855, allocations: 286.7 kB / 459.5 MB, free: 33.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008555/0.4863, allocations: 300 kB / 459.8 MB, free: 33.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.4876, allocations: 1.135 MB / 460.9 MB, free: 33.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.4894, allocations: 1.221 MB / 462.2 MB, free: 33.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005593/0.49, allocations: 284.9 kB / 462.4 MB, free: 33.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009051/0.4909, allocations: 0.6194 MB / 463.1 MB, free: 33.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.491, allocations: 59.5 kB / 463.1 MB, free: 33.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009/0.4919, allocations: 0.5145 MB / 463.6 MB, free: 33.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004033/0.4923, allocations: 453.4 kB / 464.1 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004439/0.4928, allocations: 0.5356 MB / 464.6 MB, free: 33.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.4942, allocations: 1.675 MB / 466.3 MB, free: 32.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4943, allocations: 0 / 466.3 MB, free: 32.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4943, allocations: 4 kB / 466.3 MB, free: 32.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.4943, allocations: 3.375 kB / 466.3 MB, free: 32.96 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.002665/0.497, allocations: 1.441 MB / 467.7 MB, free: 32.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.497, allocations: 9.875 kB / 467.7 MB, free: 32.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006583/0.4977, allocations: 165.2 kB / 467.9 MB, free: 32.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009098/0.4986, allocations: 0.6337 MB / 468.5 MB, free: 31.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.4987, allocations: 56.7 kB / 468.6 MB, free: 31.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.4989, allocations: 90.61 kB / 468.7 MB, free: 31.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005262/0.5041, allocations: 2.674 MB / 471.4 MB, free: 31.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/0.5042, allocations: 7.125 kB / 471.4 MB, free: 31.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.5043, allocations: 40.44 kB / 471.4 MB, free: 31.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004924/0.5048, allocations: 387.6 kB / 471.8 MB, free: 31.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005314/0.5101, allocations: 2.368 MB / 474.1 MB, free: 30.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00765/0.5178, allocations: 8.279 MB / 482.4 MB, free: 25.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003497/0.5214, allocations: 0.9871 MB / 483.4 MB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.5217, allocations: 255.4 kB / 483.7 MB, free: 24.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/0.5228, allocations: 1.731 MB / 485.4 MB, free: 23.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.5228, allocations: 44.5 kB / 485.4 MB, free: 23.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 1.934e-06/0.5228, allocations: 0 / 485.4 MB, free: 23.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01053/0.5333, allocations: 2.968 MB / 488.4 MB, free: 22.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.5334, allocations: 58.22 kB / 488.5 MB, free: 22.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.5345, allocations: 0.913 MB / 489.4 MB, free: 22.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.5346, allocations: 32.8 kB / 489.4 MB, free: 22.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.5349, allocations: 0.6685 MB / 490.1 MB, free: 21.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.5351, allocations: 208.7 kB / 490.3 MB, free: 21.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.5352, allocations: 118.9 kB / 490.4 MB, free: 21.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5354, allocations: 404.2 kB / 490.8 MB, free: 21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000519/0.5359, allocations: 366.9 kB / 491.1 MB, free: 20.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009027/0.5368, allocations: 0.9929 MB / 492.1 MB, free: 19.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.5384, allocations: 1.498 MB / 493.6 MB, free: 18.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/0.5384, allocations: 7.172 kB / 493.6 MB, free: 18.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002209/0.5406, allocations: 1.394 MB / 495 MB, free: 18.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.5407, allocations: 14.25 kB / 495.1 MB, free: 18.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.083e-05/0.5407, allocations: 22.28 kB / 495.1 MB, free: 18.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.478e-05/0.5408, allocations: 33.91 kB / 495.1 MB, free: 18.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.5419, allocations: 316.2 kB / 495.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007733/0.5427, allocations: 1.361 MB / 496.8 MB, free: 16.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006926/0.5434, allocations: 58.67 kB / 496.8 MB, free: 16.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.5436, allocations: 67.06 kB / 496.9 MB, free: 16.66 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.0007691/0.5443, allocations: 0.4988 MB / 497.4 MB, free: 16.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.5445, allocations: 93.53 kB / 497.5 MB, free: 16.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.5447, allocations: 117.4 kB / 497.6 MB, free: 16.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5447, allocations: 9.781 kB / 497.6 MB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.5447, allocations: 0.7031 kB / 497.6 MB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5447, allocations: 2.906 kB / 497.6 MB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003856/0.5486, allocations: 2.18 MB / 499.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.5486, allocations: 6.594 kB / 499.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.5492, allocations: 124.9 kB / 499.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.968e-05/0.5492, allocations: 12.31 kB / 499.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.5492, allocations: 17.91 kB / 500 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006632/0.5499, allocations: 1.321 MB / 0.4895 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.5499, allocations: 10.22 kB / 0.4895 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.551, allocations: 0.8323 MB / 0.4904 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.5513, allocations: 209.2 kB / 0.4906 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.5515, allocations: 19.97 kB / 0.4906 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.5519, allocations: 17.19 kB / 0.4906 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.552, allocations: 49.84 kB / 0.4906 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.552, allocations: 25.97 kB / 0.4907 GB, free: 12.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009951/0.553, allocations: 0.6015 MB / 0.4912 GB, free: 12.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5531, allocations: 0 / 0.4912 GB, free: 12.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001419/0.5545, allocations: 217.3 kB / 0.4915 GB, free: 12.71 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.0001832/0.5547, allocations: 127.9 kB / 0.4916 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.5564, allocations: 0.8692 MB / 0.4924 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.5564, allocations: 2.25 kB / 0.4924 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004898/0.5569, allocations: 286 kB / 0.4927 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.5585, allocations: 119.2 kB / 0.4928 GB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004829/0.5634, allocations: 2.634 MB / 0.4954 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/0.5648, allocations: 1.228 MB / 0.4966 GB, free: 9.742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001261/0.5661, allocations: 339.1 kB / 0.4969 GB, free: 9.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.5664, allocations: 71.05 kB / 0.497 GB, free: 9.695 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5664, allocations: 0 / 0.497 GB, free: 9.695 MB / 382.1 MB Notification: Performance of Templates: time 0.02239/0.5888, allocations: 7.575 MB / 0.5044 GB, free: 7.527 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: